2006-10-19 11:21:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2006/10/19 15:21:20 naddy Exp $
|
2005-12-29 23:42:36 -05:00
|
|
|
|
|
|
|
COMMENT= "Ncurses BitTorrent Client based on LibTorrent"
|
|
|
|
|
2006-10-19 11:21:19 -04:00
|
|
|
DISTNAME= rtorrent-0.6.3
|
2005-12-29 23:42:36 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://libtorrent.rakshasa.no/
|
|
|
|
|
|
|
|
MAINTAINER= Henrik Enberg <enberg@printf.se>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-09-18 07:59:59 -04:00
|
|
|
WANTLIB= c crypto m ncurses sigc-2.0 ssl stdc++ z
|
2005-12-29 23:42:36 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/
|
|
|
|
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2006-10-19 11:21:19 -04:00
|
|
|
LIB_DEPENDS= torrent.>=9::net/libtorrent \
|
2006-08-03 19:15:57 -04:00
|
|
|
curl.>=3::net/curl
|
2005-12-29 23:42:36 -05:00
|
|
|
|
2006-09-18 17:02:57 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2005-12-29 23:42:36 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
2006-10-19 11:21:19 -04:00
|
|
|
--with-kqueue \
|
2005-12-29 23:42:36 -05:00
|
|
|
--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>
|