Files
ports/net/rtorrent/Makefile
T
sthen e7938db9ca bump revision of ports which have a pkg-config check for ncursesw which
may now be taking different codepaths now we install the .pc file (some
e.g. python 3 definitely are)
2026-01-31 18:24:22 +00:00

43 lines
986 B
Makefile

COMMENT = ncurses BitTorrent client based on libTorrent
DISTNAME = rtorrent-0.15.7
CATEGORIES = net
REVISION = 0
HOMEPAGE = https://rakshasa.github.io/rtorrent/
EPOCH = 0
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX}
WANTLIB += c crypto curl curses execinfo m nghttp2 nghttp3 ngtcp2
WANTLIB += ngtcp2_crypto_libressl ssl torrent z
COMPILER = base-clang ports-gcc
SITES = https://github.com/rakshasa/rtorrent-archive/raw/master/
LIB_DEPENDS = net/libtorrent \
net/curl
TEST_DEPENDS = devel/cppunit
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += LDFLAGS=-pthread
CONFIGURE_ARGS = --disable-debug
DEBUG_PACKAGES = ${BUILD_PACKAGES}
# silence build log spam
CXXFLAGS += -Wno-deprecated-declarations \
-Wno-exceptions
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtorrent
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rtorrent
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
${PREFIX}/share/examples/rtorrent/rtorrent.rc
.include <bsd.port.mk>