aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-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
5 files changed, 57 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 4afb12bd83b4..781fd4ee0885 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -96,6 +96,7 @@
SUBDIR += jdbc-oracle8i
SUBDIR += jdbc-oracle9i
SUBDIR += jrobin
+ SUBDIR += jrrd
SUBDIR += kbibtex
SUBDIR += keximdb
SUBDIR += kinterbasdb
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