freebsd-ports/net-p2p/transmission-cli/Makefile

75 lines
1.8 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: transmission
# Date created: 08 October 2005
# Whom: Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= transmission
PORTVERSION= 0.72
PORTREVISION?= 0
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
#MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~mezz/distfiles/
MASTER_SITE_SUBDIR=mezz
2007-04-24 03:34:15 +02:00
DISTNAME= Transmission-${PORTVERSION}
MAINTAINER= mezz@FreeBSD.org
COMMENT?= A free BitTorrent client written from scratch in C
2006-06-25 06:10:38 +02:00
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS?=--prefix=${PREFIX} \
--disable-gtk
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude beos \
--exclude macosx \
2006-06-25 06:10:38 +02:00
--exclude Transmission.xcodeproj
DOCS= AUTHORS LICENSE NEWS README
2006-06-25 06:10:38 +02:00
.if defined(SLAVE_TRANS)
EXTRACT_AFTER_ARGS+=--exclude cli
.else
EXTRACT_AFTER_ARGS+=--exclude gtk
MAN1= transmissioncli.1
.endif
.if defined(WITHOUT_OPENSSL)
CONFIGURE_ARGS+=--disable-openssl
.else
USE_OPENSSL= yes
.endif
pre-everything::
.if !defined(WITHOUT_OPENSSL)
@${ECHO_MSG} "You may specify the following on the command line:"
@${ECHO_MSG} " "
@${ECHO_MSG} "WITHOUT_OPENSSL=yes to disable OpenSSL support, using built-in SHA1 implementation. Warning, it is a bit slower if you use this option." | ${FMT} 75 75
.endif
2006-06-25 06:10:38 +02:00
general-patch:
@${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g ; \
s|/usr/X11R6/|${X11BASE}/|g' \
${WRKSRC}/configure
2006-06-25 06:10:38 +02:00
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \
s|-g -Wall -W -O3 -funroll-loops|-Wall -W|g' \
${WRKSRC}/mk/common.mk
@${REINPLACE_CMD} -e 's|) .install.misc|)|g' \
${WRKSRC}/mk/default.mk
2006-06-25 06:10:38 +02:00
post-patch: general-patch
general-install:
.ifndef (NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
2006-06-25 06:10:38 +02:00
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
post-install: general-install
.include <bsd.port.mk>