1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/net-p2p/xnap/Makefile

54 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= XNap
DISTVERSION= 2.5r3
PORTREVISION= 3
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 audio java
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/2.5r3
#DISTNAME= ${PORTNAME:tl}-${PORTVERSION:S/.p/-pre/:S/.b/-beta/}
DISTNAME= ${PORTNAME:tl}-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Pure Java napster client; also, supports OpenNap & giFT (FastTrack)
2015-08-20 16:41:59 +00:00
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Unmaintained. Napster, OpenNap, and FastTrack are dead
EXPIRATION_DATE= 2018-08-30
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
2015-08-20 16:41:59 +00:00
NO_ARCH= yes
JAVAVM= ${LOCALBASE}/bin/java
PORTDOCS= AUTHORS COPYING COPYING.LIB NEWS README TODO
PLIST_FILES= bin/${PORTNAME:tl} \
%%JAVAJARDIR%%/${PORTNAME:tl}.jar
OPTIONS_DEFINE= DOCS
post-patch:
@${SED} -e "s|%%JAVAJARDIR%%|${JAVAJARDIR:S,^${PREFIX}/,,}|; \
s|%%JAVAVM%%|${JAVAVM}|; \
s|%%JAVA_VERSION%%|${JAVA_VERSION}|; \
s|%%PREFIX%%|${PREFIX}|" \
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
do-install:
${INSTALL_DATA} ${WRKSRC}/xnap.jar \
2014-06-20 15:04:38 +00:00
${STAGEDIR}${JAVAJARDIR}/${PORTNAME:tl}.jar
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME:tl}
do-install-DOCS-on:
2014-06-20 15:04:38 +00:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>