openbsd-ports/net/rtorrent/Makefile
naddy e1510c6668 Update to libtorrent 0.12.4/rtorrent 0.8.4.
- Adds support for DHT.
- Many ill-documented scripting changes.
- The session file format has changed.
2008-11-25 16:21:28 +00:00

44 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2008/11/25 16:21:28 naddy Exp $
COMMENT= ncurses BitTorrent client based on libTorrent
DISTNAME= rtorrent-0.8.4
CATEGORIES= net
HOMEPAGE= http://libtorrent.rakshasa.no/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto iconv intl idn m ncurses sigc-2.0 ssl stdc++ z
MASTER_SITES= ${HOMEPAGE}downloads/
LIB_DEPENDS= torrent.>=15::net/libtorrent \
curl.>=12::net/curl
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-debug
post-build:
@sed -e 's,@TRUEPREFIX@,${TRUEPREFIX},g' \
< ${FILESDIR}/README.OpenBSD \
> ${WRKBUILD}/README.OpenBSD
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtorrent
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rtorrent
${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD \
${PREFIX}/share/doc/rtorrent/README.OpenBSD
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
${PREFIX}/share/examples/rtorrent/rtorrent.rc
.include <bsd.port.mk>