mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
e7938db9ca
may now be taking different codepaths now we install the .pc file (some e.g. python 3 definitely are)
43 lines
986 B
Makefile
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>
|