| @@ -1,42 +1,43 @@ | | | @@ -1,42 +1,43 @@ |
1 | # $NetBSD: Makefile.common,v 1.20 2024/02/01 14:11:04 dogcow Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.21 2024/02/17 21:13:31 nia Exp $ |
2 | # | | 2 | # |
3 | # used by net/transmission-common/Makefile | | 3 | # used by net/transmission-common/Makefile |
4 | # used by net/transmission-gtk/Makefile | | 4 | # used by net/transmission-gtk/Makefile |
5 | # used by net/transmission-qt/Makefile | | 5 | # used by net/transmission-qt/Makefile |
6 | # used by net/transmission/Makefile | | 6 | # used by net/transmission/Makefile |
7 | | | 7 | |
8 | VERSION= 4.0.5 | | 8 | VERSION= 4.0.5 |
9 | DISTNAME= transmission-${VERSION} | | 9 | DISTNAME= transmission-${VERSION} |
10 | CATEGORIES= net | | 10 | CATEGORIES= net |
11 | MASTER_SITES= ${MASTER_SITE_GITHUB:=transmission/} | | 11 | MASTER_SITES= ${MASTER_SITE_GITHUB:=transmission/} |
12 | EXTRACT_SUFX= .tar.xz | | 12 | EXTRACT_SUFX= .tar.xz |
13 | GITHUB_RELEASE= ${PKGVERSION_NOREV} | | 13 | GITHUB_RELEASE= ${PKGVERSION_NOREV} |
14 | GITHUB_PROJECT= transmission | | 14 | GITHUB_PROJECT= transmission |
15 | | | 15 | |
16 | MAINTAINER= pkgsrc-users@NetBSD.org | | 16 | MAINTAINER= pkgsrc-users@NetBSD.org |
17 | HOMEPAGE= http://www.transmissionbt.com/ | | 17 | HOMEPAGE= http://www.transmissionbt.com/ |
18 | COMMENT?= Free, lightweight BitTorrent client | | 18 | COMMENT?= Free, lightweight BitTorrent client |
19 | # optionally, gnu-gpl-v3 instead of gnu-gpl-v2 | | 19 | # optionally, gnu-gpl-v3 instead of gnu-gpl-v2 |
20 | LICENSE= gnu-gpl-v2 AND mit | | 20 | LICENSE= gnu-gpl-v2 AND mit |
21 | | | 21 | |
22 | USE_LANGUAGES= c c++ | | 22 | USE_LANGUAGES= c c++ |
23 | USE_CXX_FEATURES+= c++17 | | 23 | USE_CXX_FEATURES+= c++17 |
24 | USE_LIBTOOL= yes | | 24 | USE_LIBTOOL= yes |
25 | USE_TOOLS+= gmake pkg-config intltool msgfmt | | 25 | USE_TOOLS+= gmake pkg-config intltool msgfmt |
26 | | | 26 | |
27 | PATCHDIR= ${.CURDIR}/../../net/transmission/patches | | 27 | PATCHDIR= ${.CURDIR}/../../net/transmission/patches |
28 | DISTINFO_FILE= ${.CURDIR}/../../net/transmission/distinfo | | 28 | DISTINFO_FILE= ${.CURDIR}/../../net/transmission/distinfo |
29 | | | 29 | |
30 | .include "../../mk/bsd.prefs.mk" | | 30 | .include "../../mk/bsd.prefs.mk" |
31 | .if ${OPSYS} == "Darwin" | | 31 | .if ${OPSYS} == "Darwin" |
32 | LDFLAGS+= -framework CoreFoundation | | 32 | LDFLAGS+= -framework CoreFoundation |
33 | .endif | | 33 | .endif |
34 | | | 34 | |
35 | BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10 | | 35 | BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10 |
36 | .include "../../devel/libevent/buildlink3.mk" | | 36 | .include "../../devel/libevent/buildlink3.mk" |
37 | .include "../../devel/libdeflate/buildlink3.mk" | | 37 | .include "../../devel/libdeflate/buildlink3.mk" |
38 | .include "../../net/miniupnpc/buildlink3.mk" | | 38 | .include "../../net/miniupnpc/buildlink3.mk" |
39 | .include "../../security/openssl/buildlink3.mk" | | 39 | .include "../../security/openssl/buildlink3.mk" |
40 | .include "../../www/curl/buildlink3.mk" | | 40 | .include "../../www/curl/buildlink3.mk" |
41 | .include "../../www/libpsl/buildlink3.mk" | | 41 | .include "../../www/libpsl/buildlink3.mk" |
| | | 42 | .include "../../mk/atomic64.mk" |
42 | .include "../../mk/pthread.buildlink3.mk" | | 43 | .include "../../mk/pthread.buildlink3.mk" |