diff options
author | lioux <lioux@FreeBSD.org> | 2001-11-20 10:55:28 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-11-20 10:55:28 +0800 |
commit | 4aae645788a13755c779e9b08b2baa79ae591d6a (patch) | |
tree | c945e3abf9a03b438b9ba11df7739f273b21579e /net-p2p/phex | |
parent | 02fa3f3076c2b79ea53d6e662d600d36fbbe8289 (diff) | |
download | freebsd-ports-gnome-4aae645788a13755c779e9b08b2baa79ae591d6a.tar.gz freebsd-ports-gnome-4aae645788a13755c779e9b08b2baa79ae591d6a.tar.zst freebsd-ports-gnome-4aae645788a13755c779e9b08b2baa79ae591d6a.zip |
New port phex version 0.5.6: A Java multi platform and spyware free
gnutella client
Diffstat (limited to 'net-p2p/phex')
-rw-r--r-- | net-p2p/phex/Makefile | 60 | ||||
-rw-r--r-- | net-p2p/phex/distinfo | 1 | ||||
-rw-r--r-- | net-p2p/phex/files/wrapper.sh | 8 | ||||
-rw-r--r-- | net-p2p/phex/pkg-comment | 1 | ||||
-rw-r--r-- | net-p2p/phex/pkg-descr | 10 | ||||
-rw-r--r-- | net-p2p/phex/pkg-plist | 18 |
6 files changed, 98 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 + |