openbsd-ports/net/rtorrent/Makefile
naddy d1ac57cba4 From upstream changeset 828:
Fixed a bug caused by gcc-3.3.5 miscompiling the exception thrown.
(Invalid torrent files will now produce an error rather than crashing
rtorrent.)
2006-12-23 19:39:47 +00:00

45 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2006/12/23 19:39:47 naddy Exp $
COMMENT= "Ncurses BitTorrent Client based on LibTorrent"
DISTNAME= rtorrent-0.7.0
PKGNAME= ${DISTNAME}p0
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 m ncurses sigc-2.0 ssl stdc++ z
MASTER_SITES= ${HOMEPAGE}downloads/
LIB_DEPENDS= torrent.>=11::net/libtorrent \
curl.>=5::net/curl
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-kqueue \
--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>