blob: 90219afe4fd18f091bb27c8740740936e5af6003 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
PORTNAME= rtorrent
DISTVERSION= 0.16.6
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/
MAINTAINER= eduardo@FreeBSD.org
COMMENT= BitTorrent Client written in C++
WWW= https://github.com/rakshasa/rtorrent
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LIB_DEPENDS= libtorrent.so:net-p2p/libtorrent
USES= compiler:c++17-lang ncurses pkgconfig
USE_RC_SUBR= rtorrent
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug \
--with-xmlrpc-tinyxml2
SUB_FILES= pkg-message
USERS= rtorrent
GROUPS= rtorrent
PLIST_FILES= bin/rtorrent \
"@sample ${ETCDIR}/rtorrent.conf.sample" \
${DATADIR}/lua/rtorrent.lua
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
${STAGEDIR}${ETCDIR}/rtorrent.conf.sample
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|