aboutsummaryrefslogtreecommitdiff
path: root/databases/jrrd
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-06-29 11:08:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-06-29 11:08:45 +0000
commit629fa7807d3034797f55c409fe00f9c2186d0725 (patch)
treeba78d1d631ae0fa6f6112a910132f5d8227efadd /databases/jrrd
parentb1a026ac734e3f9ccc3e30b16a4722b1a061dc20 (diff)
downloadports-629fa7807d3034797f55c409fe00f9c2186d0725.tar.gz
ports-629fa7807d3034797f55c409fe00f9c2186d0725.zip
Notes
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