freebsd-ports/net-p2p/frost/Makefile

100 lines
2.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: frost
# Date created: Fri May 2 05:35:53 UTC 2003
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= frost
PORTVERSION= 1.2.0.20071211
PORTEPOCH= 2
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 22:36:28 +01:00
CATEGORIES= net-p2p java
MASTER_SITES= SF
MASTER_SITE_SUBDIR= jtcfrost
DISTNAME= ${PORTNAME}-11-Dec-2007
MAINTAINER= peter.thoenen@yahoo.com
COMMENT= Frost is a Freenet client that provides messenger and file services
USE_JAVA= yes
JAVA_VERSION= 1.5+
JAVA_RUN= yes
USE_ZIP= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_SUB= JAR_DIR=${JAR_DIR}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
JAVAVM= ${LOCALBASE}/bin/java
JAR_DIR= ${JAVAJARDIR:S,^${PREFIX}/,,}/${PORTNAME}
JAR_FILE= frost.jar
JAR_FILES= frost.jar lib/fecImpl.jar \
lib/BCastle.jar lib/datechooser.jar \
lib/fec-native.jar \
lib/genChkImpl.jar lib/gnu-regexp-1.1.4.jar \
lib/xercesImpl.jar \
lib/joda-time.jar \
lib/perst15.jar \
lib/xml-apis.jar
DOC_FILES= doc/Frost.tex doc/authors.txt doc/gpl.txt \
doc/SkinLFLicense.txt
PORTDOCS= ${DOC_FILES:C,^.*/,,}
DATA_FILES= config/boards.xml.default07 \
jtc.ico \
2004-02-28 06:41:35 +01:00
PLIST_FILES= bin/${PORTNAME}
.for jar in ${JAR_FILES:C,^.*/,,}
PLIST_FILES+= %%JAR_DIR%%/${jar}
.endfor
.for file in ${DATA_FILES:C,^.*/,,}
PLIST_FILES+= %%DATADIR%%/${file}
.endfor
PLIST_DIRS+= \
%%JAR_DIR%% \
%%DATADIR%%
DESKTOP_ENTRIES= "Frost" "A Freenet Client" \
"${JAVASHAREDIR}/${PORTNAME}/jtc.ico" \
"frost" "Application;P2P;Network;" \
false
pre-everything::
post-patch:
@${SED} -e "s|%%PREFIX%%|${PREFIX}|; \
s|%%JAVA_VERSION%%|${JAVA_VERSION}|; \
s|%%JAVAVM%%|${JAVAVM}|; \
s|%%JAR_DIR%%|${JAR_DIR}|; \
s|%%JAR_FILE%%|${JAR_FILE}|; \
s|%%DATADIR%%|${DATADIR:S,^${PREFIX}/,,}|" \
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
do-install:
# docs
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
# jars
@${MKDIR} ${PREFIX}/${JAR_DIR}
.for jar in ${JAR_FILES}
@${INSTALL_DATA} ${WRKDIR}/${jar} ${PREFIX}/${JAR_DIR}
.endfor
# default boards
@${MKDIR} ${DATADIR}
.for file in ${DATA_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
2004-02-28 06:41:35 +01:00
.endfor
# wrapper
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME:L}
.include <bsd.port.mk>