summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-11-20 02:55:28 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-11-20 02:55:28 +0000
commitdb76173f836b6dab5700a884dc0e627e90aea5de (patch)
tree9d7a6ddccd7d44226880e765c06250acc06e5adb
parentNew port javadc version 0.20: Open source Java DirectConnect (TM) (diff)
New port phex version 0.5.6: A Java multi platform and spyware free
gnutella client
Notes
Notes: svn path=/head/; revision=50239
-rw-r--r--net-p2p/phex/Makefile60
-rw-r--r--net-p2p/phex/distinfo1
-rw-r--r--net-p2p/phex/files/wrapper.sh8
-rw-r--r--net-p2p/phex/pkg-comment1
-rw-r--r--net-p2p/phex/pkg-descr10
-rw-r--r--net-p2p/phex/pkg-plist18
-rw-r--r--net/Makefile1
-rw-r--r--net/phex/Makefile60
-rw-r--r--net/phex/distinfo1
-rw-r--r--net/phex/files/wrapper.sh8
-rw-r--r--net/phex/pkg-comment1
-rw-r--r--net/phex/pkg-descr10
-rw-r--r--net/phex/pkg-plist18
13 files changed, 197 insertions, 0 deletions
diff --git a/net-p2p/phex/Makefile b/net-p2p/phex/Makefile
new file mode 100644
index 000000000000..2bbba46d5067
--- /dev/null
+++ b/net-p2p/phex/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: phex
+# Date created: Mon Nov 19 23:48:51 BRST 2001
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= phex
+PORTVERSION= 0.5.6
+CATEGORIES= net java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= lioux@FreeBSD.org
+
+RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
+ ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
+ ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk13
+
+USE_ZIP= yes
+NO_BUILD= yes
+PLIST_SUB= JAR_DIR=${JAR_DIR} \
+ JAR_FILE=${JAR_FILE}
+
+JDK_VERSION= 1.3.1
+JAVAVM= ${LOCALBASE}/bin/javavm
+JAR_DIR= share/java/jar/${PORTNAME}/
+JAR_MANIFEST= ${FILESDIR}/manifest
+
+DOC_FILES= COPYING License-RI.html License-W3C.html changelog.txt \
+ contributors.txt readme-Furi.txt readme-developers.txt \
+ readme.txt
+JAR_FILES= crimson.jar jaxp.jar phex.jar xalan.jar
+
+post-patch:
+# remove trailing ^M
+ @${PERL} -pi -ne 's!\r\n!\n!' ${WRKSRC}/readme/*
+ @${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAR_FILE%%|${JAR_FILE}|; \
+ s|%%JAVAVM%%|${JAVAVM}|;s|%%PREFIX%%|${PREFIX}|" \
+ ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
+
+do-install:
+ @${MKDIR} ${PREFIX}/${JAR_DIR}
+.for jar in ${JAR_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${jar} ${PREFIX}/${JAR_DIR}
+.endfor
+ @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME}
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/readme/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.pre.mk>
+
+JAR_FILE= ${PORTNAME}.jar
+
+.include <bsd.port.post.mk>
diff --git a/net-p2p/phex/distinfo b/net-p2p/phex/distinfo
new file mode 100644
index 000000000000..5cf88ccaeaf1
--- /dev/null
+++ b/net-p2p/phex/distinfo
@@ -0,0 +1 @@
+MD5 (phex_0.5.6.zip) = 1c22b6be0cc4f445c59611029f8adc0d
diff --git a/net-p2p/phex/files/wrapper.sh b/net-p2p/phex/files/wrapper.sh
new file mode 100644
index 000000000000..bc546605ffb1
--- /dev/null
+++ b/net-p2p/phex/files/wrapper.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+PREFIX="%%PREFIX%%"
+JAVAVM="%%JAVAVM%%"
+JAR_DIR="%%JAR_DIR%%"
+JAR_FILE="%%JAR_FILE%%"
+
+${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE}
diff --git a/net-p2p/phex/pkg-comment b/net-p2p/phex/pkg-comment
new file mode 100644
index 000000000000..c5abad2a0f19
--- /dev/null
+++ b/net-p2p/phex/pkg-comment
@@ -0,0 +1 @@
+A Java multi platform and spyware free gnutella client
diff --git a/net-p2p/phex/pkg-descr b/net-p2p/phex/pkg-descr
new file mode 100644
index 000000000000..4935b17b0490
--- /dev/null
+++ b/net-p2p/phex/pkg-descr
@@ -0,0 +1,10 @@
+Phex is a Java multi platform and spyware free gnutella client.
+
+o Automatic search functionality to find new download candidates.
+o Download resuming across different hosts.
+o Advanced configuration options.
+o Passive searching for files.
+
+Visit these following web pages for more information:
+
+WWW: http://phex.sourceforge.net/
diff --git a/net-p2p/phex/pkg-plist b/net-p2p/phex/pkg-plist
new file mode 100644
index 000000000000..58c5fb0d7321
--- /dev/null
+++ b/net-p2p/phex/pkg-plist
@@ -0,0 +1,18 @@
+bin/phex
+%%PORTDOCS%%share/doc/phex/COPYING
+%%PORTDOCS%%share/doc/phex/License-RI.html
+%%PORTDOCS%%share/doc/phex/License-W3C.html
+%%PORTDOCS%%share/doc/phex/changelog.txt
+%%PORTDOCS%%share/doc/phex/contributors.txt
+%%PORTDOCS%%share/doc/phex/readme-Furi.txt
+%%PORTDOCS%%share/doc/phex/readme-developers.txt
+%%PORTDOCS%%share/doc/phex/readme.txt
+%%JAR_DIR%%/crimson.jar
+%%JAR_DIR%%/jaxp.jar
+%%JAR_DIR%%/phex.jar
+%%JAR_DIR%%/xalan.jar
+%%PORTDOCS%%@dirrm share/doc/phex
+@dirrm %%JAR_DIR%%
+@unexec rmdir %D/share/java/jar 2>/dev/null || true
+@unexec rmdir %D/share/java 2>/dev/null || true
+
diff --git a/net/Makefile b/net/Makefile
index e051896f5b9a..e4d2e8bb0aec 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -323,6 +323,7 @@
SUBDIR += pen
SUBDIR += perldap
SUBDIR += pfinger
+ SUBDIR += phex
SUBDIR += pim6dd
SUBDIR += pim6sd
SUBDIR += pipsecd
diff --git a/net/phex/Makefile b/net/phex/Makefile
new file mode 100644
index 000000000000..2bbba46d5067
--- /dev/null
+++ b/net/phex/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: phex
+# Date created: Mon Nov 19 23:48:51 BRST 2001
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= phex
+PORTVERSION= 0.5.6
+CATEGORIES= net java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= lioux@FreeBSD.org
+
+RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
+ ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
+ ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk13
+
+USE_ZIP= yes
+NO_BUILD= yes
+PLIST_SUB= JAR_DIR=${JAR_DIR} \
+ JAR_FILE=${JAR_FILE}
+
+JDK_VERSION= 1.3.1
+JAVAVM= ${LOCALBASE}/bin/javavm
+JAR_DIR= share/java/jar/${PORTNAME}/
+JAR_MANIFEST= ${FILESDIR}/manifest
+
+DOC_FILES= COPYING License-RI.html License-W3C.html changelog.txt \
+ contributors.txt readme-Furi.txt readme-developers.txt \
+ readme.txt
+JAR_FILES= crimson.jar jaxp.jar phex.jar xalan.jar
+
+post-patch:
+# remove trailing ^M
+ @${PERL} -pi -ne 's!\r\n!\n!' ${WRKSRC}/readme/*
+ @${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAR_FILE%%|${JAR_FILE}|; \
+ s|%%JAVAVM%%|${JAVAVM}|;s|%%PREFIX%%|${PREFIX}|" \
+ ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
+
+do-install:
+ @${MKDIR} ${PREFIX}/${JAR_DIR}
+.for jar in ${JAR_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${jar} ${PREFIX}/${JAR_DIR}
+.endfor
+ @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME}
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/readme/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.pre.mk>
+
+JAR_FILE= ${PORTNAME}.jar
+
+.include <bsd.port.post.mk>
diff --git a/net/phex/distinfo b/net/phex/distinfo
new file mode 100644
index 000000000000..5cf88ccaeaf1
--- /dev/null
+++ b/net/phex/distinfo
@@ -0,0 +1 @@
+MD5 (phex_0.5.6.zip) = 1c22b6be0cc4f445c59611029f8adc0d
diff --git a/net/phex/files/wrapper.sh b/net/phex/files/wrapper.sh
new file mode 100644
index 000000000000..bc546605ffb1
--- /dev/null
+++ b/net/phex/files/wrapper.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+PREFIX="%%PREFIX%%"
+JAVAVM="%%JAVAVM%%"
+JAR_DIR="%%JAR_DIR%%"
+JAR_FILE="%%JAR_FILE%%"
+
+${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE}
diff --git a/net/phex/pkg-comment b/net/phex/pkg-comment
new file mode 100644
index 000000000000..c5abad2a0f19
--- /dev/null
+++ b/net/phex/pkg-comment
@@ -0,0 +1 @@
+A Java multi platform and spyware free gnutella client
diff --git a/net/phex/pkg-descr b/net/phex/pkg-descr
new file mode 100644
index 000000000000..4935b17b0490
--- /dev/null
+++ b/net/phex/pkg-descr
@@ -0,0 +1,10 @@
+Phex is a Java multi platform and spyware free gnutella client.
+
+o Automatic search functionality to find new download candidates.
+o Download resuming across different hosts.
+o Advanced configuration options.
+o Passive searching for files.
+
+Visit these following web pages for more information:
+
+WWW: http://phex.sourceforge.net/
diff --git a/net/phex/pkg-plist b/net/phex/pkg-plist
new file mode 100644
index 000000000000..58c5fb0d7321
--- /dev/null
+++ b/net/phex/pkg-plist
@@ -0,0 +1,18 @@
+bin/phex
+%%PORTDOCS%%share/doc/phex/COPYING
+%%PORTDOCS%%share/doc/phex/License-RI.html
+%%PORTDOCS%%share/doc/phex/License-W3C.html
+%%PORTDOCS%%share/doc/phex/changelog.txt
+%%PORTDOCS%%share/doc/phex/contributors.txt
+%%PORTDOCS%%share/doc/phex/readme-Furi.txt
+%%PORTDOCS%%share/doc/phex/readme-developers.txt
+%%PORTDOCS%%share/doc/phex/readme.txt
+%%JAR_DIR%%/crimson.jar
+%%JAR_DIR%%/jaxp.jar
+%%JAR_DIR%%/phex.jar
+%%JAR_DIR%%/xalan.jar
+%%PORTDOCS%%@dirrm share/doc/phex
+@dirrm %%JAR_DIR%%
+@unexec rmdir %D/share/java/jar 2>/dev/null || true
+@unexec rmdir %D/share/java 2>/dev/null || true
+