freebsd-ports/net-p2p/rtorrent/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

42 lines
928 B
Makefile

# New ports collection makefile for: rtorrent
# Date created: Mar 03 2005
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rtorrent
PORTVERSION= 0.3.6
CATEGORIES= net
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
MAINTAINER= flz@FreeBSD.org
COMMENT= BitTorrent Client written in C++
LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl \
torrent.5:${PORTSDIR}/net/libtorrent
MAN1= rtorrent.1
USE_GCC= 3.4
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_AUTOTOOLS= libtool:13:inc
SUB_FILES= pkg-message
PORTDOCS= README
post-patch:
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc ${EXAMPLESDIR}/
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>