mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
fbab09fee3
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
86 lines
2.0 KiB
Makefile
86 lines
2.0 KiB
Makefile
# New ports collection makefile for: freenet
|
|
# Date created: Thu May 1 20:19:56 UTC 2003
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= freenet
|
|
PORTVERSION= 0.5.2.1.5106
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-p2p java security
|
|
MASTER_SITES= http://freenetproject.org/snapshots/ \
|
|
http://downloads.freenetproject.org/ \
|
|
http://fgudin.nerim.net/files/
|
|
DISTNAME= ${PORTNAME}-20051123
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
COMMENT= Peer-to-peer network aiming at anonymity and freedom of speech
|
|
|
|
USE_RC_SUBR= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.4+
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
JAVAVM= ${LOCALBASE}/bin/java
|
|
#
|
|
DATA_FILES= seednodes.ref
|
|
DOC_FILES= README
|
|
JAR_FILES= freenet.jar freenet-ext.jar
|
|
# jar startup file
|
|
JAR_START= freenet.jar
|
|
# seed file
|
|
SEED_FILE= seednodes.ref
|
|
|
|
PORTDOCS= ${DOC_FILES}
|
|
|
|
PLIST_FILES= \
|
|
sbin/${PORTNAME:L} \
|
|
etc/rc.d/${PORTNAME:L}.sh \
|
|
%%DATADIR%%/seednodes.ref \
|
|
%%JAVAJARDIR%%/freenet-ext.jar \
|
|
%%JAVAJARDIR%%/freenet.jar
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
post-patch:
|
|
@${SED} -e "s|%%PREFIX%%|${PREFIX}|; \
|
|
s|%%DATA_DIR%%|${DATADIR:S,^${PREFIX}/,,}|; \
|
|
s|%%JAVA_VERSION%%|${JAVA_VERSION}|; \
|
|
s|%%JAVAVM%%|${JAVAVM}|; \
|
|
s|%%JAVAJARDIR%%|${JAVAJARDIR:S,^${PREFIX}/,,}|; \
|
|
s|%%JAR_FILES%%|${JAR_FILES}|; \
|
|
s|%%JAR_START%%|${JAR_START}|; \
|
|
s|%%SEED_FILE%%|${SEED_FILE}|" \
|
|
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
|
|
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" \
|
|
${FILESDIR}/${PORTNAME:L}.sh > ${WRKDIR}/${PORTNAME:L}.sh
|
|
|
|
do-install:
|
|
# docs
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for doc in ${DOC_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
# data
|
|
@${MKDIR} ${DATADIR}
|
|
.for file in ${DATA_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
|
|
.endfor
|
|
# jar
|
|
.for jar in ${JAR_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${jar} ${JAVAJARDIR}
|
|
.endfor
|
|
# rc.d
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME:L}.sh ${PREFIX}/etc/rc.d
|
|
# wrapper
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/sbin/${PORTNAME:L}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|