mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
New port phex version 0.5.6: A Java multi platform and spyware free
gnutella client
This commit is contained in:
parent
38779987a4
commit
db76173f83
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50239
60
net-p2p/phex/Makefile
Normal file
60
net-p2p/phex/Makefile
Normal file
@ -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>
|
1
net-p2p/phex/distinfo
Normal file
1
net-p2p/phex/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (phex_0.5.6.zip) = 1c22b6be0cc4f445c59611029f8adc0d
|
8
net-p2p/phex/files/wrapper.sh
Normal file
8
net-p2p/phex/files/wrapper.sh
Normal file
@ -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}
|
1
net-p2p/phex/pkg-comment
Normal file
1
net-p2p/phex/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Java multi platform and spyware free gnutella client
|
10
net-p2p/phex/pkg-descr
Normal file
10
net-p2p/phex/pkg-descr
Normal file
@ -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/
|
18
net-p2p/phex/pkg-plist
Normal file
18
net-p2p/phex/pkg-plist
Normal file
@ -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
|
||||
|
@ -323,6 +323,7 @@
|
||||
SUBDIR += pen
|
||||
SUBDIR += perldap
|
||||
SUBDIR += pfinger
|
||||
SUBDIR += phex
|
||||
SUBDIR += pim6dd
|
||||
SUBDIR += pim6sd
|
||||
SUBDIR += pipsecd
|
||||
|
60
net/phex/Makefile
Normal file
60
net/phex/Makefile
Normal file
@ -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>
|
1
net/phex/distinfo
Normal file
1
net/phex/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (phex_0.5.6.zip) = 1c22b6be0cc4f445c59611029f8adc0d
|
8
net/phex/files/wrapper.sh
Normal file
8
net/phex/files/wrapper.sh
Normal file
@ -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}
|
1
net/phex/pkg-comment
Normal file
1
net/phex/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Java multi platform and spyware free gnutella client
|
10
net/phex/pkg-descr
Normal file
10
net/phex/pkg-descr
Normal file
@ -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/
|
18
net/phex/pkg-plist
Normal file
18
net/phex/pkg-plist
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user