aboutsummaryrefslogtreecommitdiff
path: root/databases/jrrd/Makefile
blob: cbc6b8211544013c3cd91fa5f26100103172ac76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PORTNAME=	jrrd
PORTVERSION=	1.1.4
CATEGORIES=	databases java
MASTER_SITES=	SF/opennms/JRRD/stable-1.0

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Java native interface (JNI) to RRDtool
WWW=		https://www.opennms.org/index.php/Jrrd

LIB_DEPENDS=	librrd.so:databases/rrdtool

USES=		libtool
USE_JAVA=	yes
JAVA_VENDOR=	openjdk
JAVA_BUILD=	yes
JAVA_RUN=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	JAVA_HOME=${JAVA_HOME}
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

PLIST_FILES=	%%JAVAJARDIR%%/jrrd.jar \
		lib/libjrrd.so

pre-everything::
	@${ECHO_MSG}	""
	@${ECHO_MSG}	"Installation settings:"
	@${ECHO_MSG}	"   Location of JDK:          ${JAVA_HOME}"
	@${ECHO_MSG}	"   Location of Java port:    ${JAVA_PORT}"
	@${ECHO_MSG}	""

.include <bsd.port.mk>