From db76173f836b6dab5700a884dc0e627e90aea5de Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Tue, 20 Nov 2001 02:55:28 +0000 Subject: [PATCH] New port phex version 0.5.6: A Java multi platform and spyware free gnutella client --- net-p2p/phex/Makefile | 60 +++++++++++++++++++++++++++++++++++ net-p2p/phex/distinfo | 1 + net-p2p/phex/files/wrapper.sh | 8 +++++ net-p2p/phex/pkg-comment | 1 + net-p2p/phex/pkg-descr | 10 ++++++ net-p2p/phex/pkg-plist | 18 +++++++++++ net/Makefile | 1 + net/phex/Makefile | 60 +++++++++++++++++++++++++++++++++++ net/phex/distinfo | 1 + net/phex/files/wrapper.sh | 8 +++++ net/phex/pkg-comment | 1 + net/phex/pkg-descr | 10 ++++++ net/phex/pkg-plist | 18 +++++++++++ 13 files changed, 197 insertions(+) create mode 100644 net-p2p/phex/Makefile create mode 100644 net-p2p/phex/distinfo create mode 100644 net-p2p/phex/files/wrapper.sh create mode 100644 net-p2p/phex/pkg-comment create mode 100644 net-p2p/phex/pkg-descr create mode 100644 net-p2p/phex/pkg-plist create mode 100644 net/phex/Makefile create mode 100644 net/phex/distinfo create mode 100644 net/phex/files/wrapper.sh create mode 100644 net/phex/pkg-comment create mode 100644 net/phex/pkg-descr create mode 100644 net/phex/pkg-plist 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 +# +# $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 + +JAR_FILE= ${PORTNAME}.jar + +.include 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 +# +# $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 + +JAR_FILE= ${PORTNAME}.jar + +.include 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 +