Lines 1-7
Link Here
|
1 |
PORTNAME= transmission |
1 |
PORTNAME= transmission |
2 |
DISTVERSION= 4.0.4 |
2 |
DISTVERSION= 4.0.5 |
3 |
PORTREVISION= 5 |
3 |
PORTREVISION= 0 |
4 |
CATEGORIES= net-p2p |
4 |
CATEGORIES= net-p2p |
|
|
5 |
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ |
5 |
|
6 |
|
6 |
MAINTAINER= mondo.debater_0q@icloud.com |
7 |
MAINTAINER= mondo.debater_0q@icloud.com |
7 |
COMMENT= Transmission BitTorrent client |
8 |
COMMENT= Transmission BitTorrent client |
Lines 10-21
WWW= https://www.transmissionbt.com
Link Here
|
10 |
LICENSE= GPLv3+ |
11 |
LICENSE= GPLv3+ |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
|
13 |
|
|
|
14 |
BUILD_DEPENDS= ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float \ |
15 |
${LOCALBASE}/include/fmt/format.h:devel/libfmt \ |
16 |
${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp |
17 |
|
13 |
LIB_DEPENDS= libb64.so:converters/libb64 \ |
18 |
LIB_DEPENDS= libb64.so:converters/libb64 \ |
14 |
libcurl.so:ftp/curl \ |
19 |
libcurl.so:ftp/curl \ |
15 |
libdeflate.so:archivers/libdeflate \ |
20 |
libdeflate.so:archivers/libdeflate \ |
16 |
libdht.so:devel/jech-dht \ |
21 |
libdht.so:devel/jech-dht \ |
17 |
libevent.so:devel/libevent \ |
22 |
libevent.so:devel/libevent \ |
18 |
libfmt.so:devel/libfmt \ |
|
|
19 |
libminiupnpc.so:net/miniupnpc \ |
23 |
libminiupnpc.so:net/miniupnpc \ |
20 |
libnatpmp.so:net/libnatpmp \ |
24 |
libnatpmp.so:net/libnatpmp \ |
21 |
libpsl.so:dns/libpsl \ |
25 |
libpsl.so:dns/libpsl \ |
Lines 37-52
LIB_DEPENDS=
Link Here
|
37 |
gtk_LIB_DEPENDS= libayatana-appindicator3.so:devel/libayatana-appindicator \ |
41 |
gtk_LIB_DEPENDS= libayatana-appindicator3.so:devel/libayatana-appindicator \ |
38 |
libharfbuzz.so:print/harfbuzz |
42 |
libharfbuzz.so:print/harfbuzz |
39 |
|
43 |
|
40 |
USES= cmake cpe iconv libtool localbase pkgconfig ssl |
44 |
USES= cmake cpe iconv libtool localbase pkgconfig ssl tar:xz |
41 |
|
45 |
|
42 |
CPE_VENDOR= transmissionbt |
46 |
CPE_VENDOR= transmissionbt |
43 |
CPE_PRODUCT= transmission |
47 |
CPE_PRODUCT= transmission |
44 |
|
48 |
|
45 |
USE_GITHUB= YES |
49 |
#USE_GITHUB= YES |
46 |
GH_TUPLE= google:googletest:af29db7:googletest/third-party/googletest \ |
50 |
#GH_TUPLE= google:googletest:af29db7:googletest/third-party/googletest \ |
47 |
transmission:fast_float:6624977:fast_float/third-party/fast_float \ |
51 |
# transmission:fast_float:6624977:fast_float/third-party/fast_float \ |
48 |
transmission:utfcpp:b85efd6:utfcpp/third-party/utfcpp \ |
52 |
# transmission:utfcpp:b85efd6:utfcpp/third-party/utfcpp \ |
49 |
transmission:wide-integer:4de0b52:wideinteger/third-party/wide-integer |
53 |
# transmission:wide-integer:4de0b52:wideinteger/third-party/wide-integer |
|
|
54 |
|
55 |
# System libraries |
56 |
EXTRACT_AFTER_ARGS= --exclude third-party/dht \ |
57 |
--exclude third-party/fast_float \ |
58 |
--exclude third-party/fmt \ |
59 |
--exclude third-party/libb64 \ |
60 |
--exclude third-party/libdeflate \ |
61 |
--exclude third-party/libevent \ |
62 |
--exclude third-party/libnatpmp \ |
63 |
--exclude third-party/libpsl \ |
64 |
--exclude third-party/libutp \ |
65 |
--exclude third-party/miniupnpc \ |
66 |
--exclude third-party/utfcpp |
50 |
|
67 |
|
51 |
.if ${FLAVOR} == gtk |
68 |
.if ${FLAVOR} == gtk |
52 |
USES+= desktop-file-utils gettext-runtime gettext-tools gnome |
69 |
USES+= desktop-file-utils gettext-runtime gettext-tools gnome |
Lines 64-75
USE_RC_SUBR= transmission
Link Here
|
64 |
.endif |
81 |
.endif |
65 |
|
82 |
|
66 |
.if ${FLAVOR} == docs |
83 |
.if ${FLAVOR} == docs |
67 |
USES= cpe |
84 |
USES= cpe tar:xz |
68 |
.endif |
85 |
.endif |
69 |
|
86 |
|
70 |
CMAKE_ARGS= -DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=${LOCALBASE}/include \ |
87 |
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR="${PREFIX}/man" |
71 |
-DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES=${LOCALBASE}/include \ |
|
|
72 |
-DCMAKE_INSTALL_MANDIR="${PREFIX}/man" |
73 |
CMAKE_ON= USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \ |
88 |
CMAKE_ON= USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \ |
74 |
USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \ |
89 |
USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \ |
75 |
USE_SYSTEM_PSL USE_SYSTEM_UTP |
90 |
USE_SYSTEM_PSL USE_SYSTEM_UTP |
Lines 146-156
UTILS_CMAKE_BOOL= ENABLE_UTILS
Link Here
|
146 |
|
161 |
|
147 |
WEB_CMAKE_BOOL= INSTALL_WEB |
162 |
WEB_CMAKE_BOOL= INSTALL_WEB |
148 |
|
163 |
|
149 |
post-extract: |
|
|
150 |
@${ECHO_MSG} "Cludging use of devel/libfmt as Transmission's CMakeLists.txt does not properly search for it." |
151 |
@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt |
152 |
@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fmt/include/fmt |
153 |
|
154 |
.if ${FLAVOR} == docs |
164 |
.if ${FLAVOR} == docs |
155 |
pre-install: |
165 |
pre-install: |
156 |
@${ECHO_MSG} "Removing outdated release notes" |
166 |
@${ECHO_MSG} "Removing outdated release notes" |