aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-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
5 files changed, 55 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index c7eb9b212620..044f3d36ed49 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -248,6 +248,7 @@
SUBDIR += jakarta-commons-net
SUBDIR += java-beepcore
SUBDIR += jcifs
+ SUBDIR += jicmp
SUBDIR += jrdesktop
SUBDIR += jsch
SUBDIR += jumpgate
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