aboutsummaryrefslogtreecommitdiff
path: root/net/jicmp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-06-29 11:04:39 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-06-29 11:04:39 +0000
commitb1a026ac734e3f9ccc3e30b16a4722b1a061dc20 (patch)
tree475f716fd3a12fc3db45f44b4ec363f85a7303e5 /net/jicmp
parent6b357e5cd1b0790f459d662fb1855b7e26f58676 (diff)
downloadports-b1a026ac734e3f9ccc3e30b16a4722b1a061dc20.tar.gz
ports-b1a026ac734e3f9ccc3e30b16a4722b1a061dc20.zip
Notes
Diffstat (limited to 'net/jicmp')
-rw-r--r--net/jicmp/Makefile36
-rw-r--r--net/jicmp/distinfo3
-rw-r--r--net/jicmp/files/patch-Makefile.am11
-rw-r--r--net/jicmp/pkg-descr4
4 files changed, 54 insertions, 0 deletions
diff --git a/net/jicmp/Makefile b/net/jicmp/Makefile
new file mode 100644
index 000000000000..a75eb6bf9169
--- /dev/null
+++ b/net/jicmp/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: net/jicmp
+# Date created: 24 June 2008
+# Whom: Ryan T. Dean <rtdean@cytherianage.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jicmp
+PORTVERSION= 1.0.8
+CATEGORIES= net java
+MASTER_SITES= SF/opennms
+
+MAINTAINER= rtdean@cytherianage.net
+COMMENT= A Java native interface (JNI) to ICMP (ping)
+
+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%%/jicmp.jar \
+ lib/libjicmp.la \
+ lib/libjicmp.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/net/jicmp/distinfo b/net/jicmp/distinfo
new file mode 100644
index 000000000000..a5f39d0ac05f
--- /dev/null
+++ b/net/jicmp/distinfo
@@ -0,0 +1,3 @@
+MD5 (jicmp-1.0.8.tar.gz) = c42cd369252c8227b537d456efd7c48d
+SHA256 (jicmp-1.0.8.tar.gz) = 16d13b9d8f0cf5fa3559bb330d4727f6f1fc605cbb4ef254a82d7ae80b2458bc
+SIZE (jicmp-1.0.8.tar.gz) = 352741
diff --git a/net/jicmp/files/patch-Makefile.am b/net/jicmp/files/patch-Makefile.am
new file mode 100644
index 000000000000..adc409ddd682
--- /dev/null
+++ b/net/jicmp/files/patch-Makefile.am
@@ -0,0 +1,11 @@
+--- Makefile.am.orig 2008-06-25 14:46:42.000000000 +0000
++++ Makefile.am 2008-06-25 14:46:58.000000000 +0000
+@@ -67,7 +67,7 @@
+ cd $(classdir) && \
+ $(JAR) cvf ../$@ *
+
+-jardir=$(datadir)/java
++jardir=$(datadir)/java/classes
+ jar_DATA = jicmp.jar
+
+ deploy:
diff --git a/net/jicmp/pkg-descr b/net/jicmp/pkg-descr
new file mode 100644
index 000000000000..119698b6f4a3
--- /dev/null
+++ b/net/jicmp/pkg-descr
@@ -0,0 +1,4 @@
+A Java native interface (JNI) to ICMP (ping), formerly a part of the base
+OpenNMS package.
+
+WWW: http://www.opennms.org/index.php/Jicmp