aboutsummaryrefslogtreecommitdiffstats
path: root/databases/jrrd
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-29 19:08:45 +0800
committermiwi <miwi@FreeBSD.org>2008-06-29 19:08:45 +0800
commit40e4b0b702c7c422b300e41f2439774c56d7dda9 (patch)
treea51b8c5213ed0d2daae56ad1e3e90767a8c61ea2 /databases/jrrd
parent37b69e25aa46f0039dca51e1533765443415a09a (diff)
downloadfreebsd-ports-gnome-40e4b0b702c7c422b300e41f2439774c56d7dda9.tar.gz
freebsd-ports-gnome-40e4b0b702c7c422b300e41f2439774c56d7dda9.tar.zst
freebsd-ports-gnome-40e4b0b702c7c422b300e41f2439774c56d7dda9.zip
A Java native interface (JNI) to RRDtool, formerly a part of the base
OpenNMS package. WWW: http://www.opennms.org/index.php/Jrrd PR: ports/124982 Submitted by: Ryan T. Dean <rtdean at cytherianage.net>
Diffstat (limited to 'databases/jrrd')
-rw-r--r--databases/jrrd/Makefile38
-rw-r--r--databases/jrrd/distinfo3
-rw-r--r--databases/jrrd/files/patch-Makefile.am11
-rw-r--r--databases/jrrd/pkg-descr4
4 files changed, 56 insertions, 0 deletions
diff --git a/databases/jrrd/Makefile b/databases/jrrd/Makefile
new file mode 100644
index 000000000000..c6e8d359fc34
--- /dev/null
+++ b/databases/jrrd/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: databases/jrrd
+# Date created: 25 June 2008
+# Whom: Ryan T. Dean <rtdean@cytherianage.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jrrd
+PORTVERSION= 1.0.3
+CATEGORIES= databases java
+MASTER_SITES= SF/opennms
+
+MAINTAINER= rtdean@cytherianage.net
+COMMENT= A Java native interface (JNI) to RRDtool
+
+LIB_DEPENDS= rrd.4:${PORTSDIR}/databases/rrdtool
+
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+JAVA_BUILD= yes
+JAVA_RUN= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= JAVA_HOME=${JAVA_HOME}
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= automake:19
+
+PLIST_FILES= %%JAVAJARDIR%%/jrrd.jar \
+ lib/libjrrd.la \
+ 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>
diff --git a/databases/jrrd/distinfo b/databases/jrrd/distinfo
new file mode 100644
index 000000000000..3b1eca115b0b
--- /dev/null
+++ b/databases/jrrd/distinfo
@@ -0,0 +1,3 @@
+MD5 (jrrd-1.0.3.tar.gz) = 60933aa4e6d2ec52b5b76f3212c8753f
+SHA256 (jrrd-1.0.3.tar.gz) = 860dea8acdb271a40e51c30bf529a8567cc46e877d6f0e3c602b98aab9e192fa
+SIZE (jrrd-1.0.3.tar.gz) = 327745
diff --git a/databases/jrrd/files/patch-Makefile.am b/databases/jrrd/files/patch-Makefile.am
new file mode 100644
index 000000000000..f1326755df75
--- /dev/null
+++ b/databases/jrrd/files/patch-Makefile.am
@@ -0,0 +1,11 @@
+--- Makefile.am.orig 2008-06-25 15:15:08.000000000 +0000
++++ Makefile.am 2008-06-25 15:15:15.000000000 +0000
+@@ -26,7 +26,7 @@
+ cd $(classdir) && \
+ $(JAR) cvf ../$@ *
+
+-jardir=$(datadir)/java
++jardir=$(datadir)/java/classes
+ jar_DATA = jrrd.jar
+
+ deploy:
diff --git a/databases/jrrd/pkg-descr b/databases/jrrd/pkg-descr
new file mode 100644
index 000000000000..0d8b8dbd8439
--- /dev/null
+++ b/databases/jrrd/pkg-descr
@@ -0,0 +1,4 @@
+A Java native interface (JNI) to RRDtool, formerly a part of the base
+OpenNMS package.
+
+WWW: http://www.opennms.org/index.php/Jrrd