1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/net-p2p/phex/Makefile

74 lines
1.6 KiB
Makefile
Raw Normal View History

# 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
2005-04-03 23:40:33 +00:00
PORTVERSION= 2.2.0.83
Populate newly create net-p2p category with these ports: ftp/jigdo net/amule1 net/amule2 net/apollon net/azureus net/bnbt net/btpeer net/btqueue net/cdonkey net/ctorrent net/dcd net/dclib net/dctc net/dctc-gui net/dctc-gui-qt net/edonkey-gui-gtk net/edonkey-gui-gtk-urlslave net/fcptools net/fidelio net/freenet net/frost net/giftcurs net/giftoxic net/giftui net/gift net/gift-fasttrack net/gift-gnutella net/gift-openft net/gkrellm-gift net/gnewtellium net/gnome-btdownload net/gnunet net/gtkhx net/gtk-gnutella net/gtorrentviewer net/hagelslag net/hx net/i2p net/javadc net/kmldonkey net/ktorrent net/libbt net/liberator net/libfreenet net/libpdtp net/libtorrent net/limewire net/linux-agsatellite net/linux-edonkey-core net/linux-edonkey-server net/linux-jigdo net/linux-overnet-core net/minder net/mldonkey net/mldonkey-core net/mldonkey-core-devel net/mldonkey-devel net/mldonkey-gui net/mldonkey-gui-devel net/mldonkey-perlreactor net/mldonkey-sancho net/mldonkey-serverspy net/mldonkey-urlslave net/mutella net/mute-net net/mute-net-gui net/mute-net-text net/napshare net/nicotine net/opendchub net/peercast net/phex net/pyslsk net/py-bittornado net/py-bittornado-core net/py-bittorrent net/py-bittorrent-core net/py-bittorrent-core-devel net/py-bittorrent-devel net/py-fngrab net/py-kenosis net/py-kenosis-bittorrent net/py-py2play net/p5-pdonkey net/qtella net/qtorrent net/rtorrent net/squall net/torrentflux net/torrentsniff net/trackerbt net/transmission net/valknut net/verlihub net/verlihub-plugins net/xmule net/xnap misc/ed2k misc/edonkey-tool-hash misc/linux-edonkey-tool-recovermet Repocopies by: marcus
2006-01-30 21:36:28 +00:00
CATEGORIES= net-p2p java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
2003-02-23 19:58:35 +00:00
COMMENT= A Java multi platform and spyware free gnutella client
USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_ZIP= yes
NO_BUILD= yes
PLIST_SUB= JAR_DIR=${JAR_DIR}
JAVAVM= ${LOCALBASE}/bin/java
JAR_DIR= ${JAVAJARDIR:S,^${PREFIX}/,,}/${PORTNAME}
2003-04-19 12:57:27 +00:00
DOC_FILES= Phex_other.htm Phex_win.htm
2005-04-03 23:40:33 +00:00
JAR_FILES= \
commons-logging.jar \
forms-1.0.5.jar \
jaxb.jar \
looks-1.3rc.jar \
phex.jar
PORTDOCS= ${DOC_FILES}
PLIST_FILES+= bin/${PORTNAME}
.for jar in ${JAR_FILES}
PLIST_FILES+= %%JAR_DIR%%/${jar}
.endfor
PLIST_DIRS+= \
%%JAR_DIR%%
post-patch:
# remove trailing ^M
@${REINPLACE_CMD} -E \
-e 's! !!' ${WRKSRC}/docs/readme/*
@${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|; \
s|%%JAR_FILE%%|${JAR_FILE}|; \
s|%%JAVA_VERSION%%|${JAVA_VERSION}|; \
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}
2003-04-19 12:57:27 +00:00
@${INSTALL_DATA} ${WRKSRC}/docs/readme/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.pre.mk>
JAR_FILE= ${PORTNAME}.jar
.include <bsd.port.post.mk>