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
66 lines
1.6 KiB
Makefile
66 lines
1.6 KiB
Makefile
# New ports collection makefile for: liberator
|
|
# Date created: Fri May 2 04:23:24 UTC 2003
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= liberator
|
|
PORTVERSION= 2.0.2
|
|
CATEGORIES= net-p2p
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ofcp-${PORTVERSION}
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
COMMENT= Command line client to FreeNet Network
|
|
|
|
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
|
|
|
|
USE_BZIP2= yes
|
|
USE_REINPLACE= yes
|
|
ALL_TARGET= all opt
|
|
|
|
DATA_FILES= liber_mimetypes
|
|
DOC_FILES= COPYING FREESITE-HOWTO README TODO
|
|
LIB_FILES= fcp.cma hlfi.cma asfi.cma fcp.cmxa hlfi.cmxa asfi.cmxa \
|
|
fcp.mli hlfreenet.mli asfreenet.mli fieldset.mli \
|
|
fstream.mli \
|
|
fcp.cmi hlfreenet.cmi asfreenet.cmi fieldset.cmi \
|
|
fstream.cmi
|
|
|
|
post-patch:
|
|
@${SED} -e 's|%%PREFIX%%|${PREFIX}|; \
|
|
s|%%DATADIR%%|${DATADIR:S,^${PREFIX}/,,}|' \
|
|
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
|
|
|
|
do-configure:
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|^(PREFIX).*$$|\1=${PREFIX}|; \
|
|
s|^(OCAML_PREFIX).*$$|\1=${PREFIX}/lib/ocaml|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
# bin
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/liber ${PREFIX}/bin/liber-real
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/liber
|
|
# data
|
|
@${MKDIR} ${DATADIR}
|
|
.for file in ${DATA_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
|
|
.endfor
|
|
# doc
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
.for file in ${DOC_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
# lib
|
|
@${MKDIR} ${PREFIX}/lib/ocaml
|
|
.for file in ${LIB_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/ocaml
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|