freebsd-ports/net-p2p/btpeer/Makefile

58 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: btpeer
# Date created: Sun Sep 25 13:54:22 UTC 2005
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= btpeer
PORTVERSION= 0.2.1
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 16:36:28 -05:00
CATEGORIES= net-p2p
MASTER_SITES= http://www.alhem.net/project/btpeer/
MAINTAINER= lioux@FreeBSD.org
COMMENT= Client functionality of bittorrent protocol, network only environment
BUILD_DEPENDS= ${LOCALBASE}/lib/libSockets-devel.a:${PORTSDIR}/net/Sockets-devel
USE_GMAKE= yes
USE_OPENSSL= yes
WITH_OPENSSL_BASE= yes
MAKE_ENV= CXX="${CXX}"
# ssl support
CFLAGS+= ${PTHREAD_CFLAGS} -DHAVE_OPENSSL
PROGRAM_FILES= \
inject \
newpeer
post-patch:
# CXX safeness
# CXXFLAGS safeness
# SSL include safeness
@${REINPLACE_CMD} -E \
-e 's|-O2||' \
-e 's|g\+\+|${CXX}|' \
-e 's|^INCLUDE.+$$|INCLUDE=-I${OPENSSLINC} -I${LOCALBASE}/include/Sockets-devel|' \
-e 's|^LIBS.+$$|LIBS=-L${OPENSSLLIB} ${PTHREAD_LIBS} -L${LOCALBASE}/lib \\|' \
${BUILD_WRKSRC}/${MAKEFILE}
do-install:
.for file in ${PROGRAM_FILES}
@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/${PORTNAME}-${file}
.endfor
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= FreeBSD prior to 500000 does not support uuid(3) required\
for building
.endif
.for file in ${PROGRAM_FILES}
PLIST_FILES+= bin/${PORTNAME}-${file}
.endfor
.include <bsd.port.post.mk>