| @@ -1,29 +1,28 @@ | | | @@ -1,29 +1,28 @@ |
1 | # $NetBSD: Makefile,v 1.6 2020/03/20 11:57:43 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.7 2020/03/30 17:13:21 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= libtorrent-rasterbar-1.2.5 | | 3 | DISTNAME= libtorrent-rasterbar-1.2.5 |
4 | CATEGORIES= net | | 4 | CATEGORIES= net |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=arvidn/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=arvidn/} |
6 | GITHUB_PROJECT= libtorrent | | 6 | GITHUB_PROJECT= libtorrent |
7 | GITHUB_RELEASE= libtorrent-${PKGVERSION_NOREV:S/./_/g} | | 7 | GITHUB_RELEASE= libtorrent-${PKGVERSION_NOREV:S/./_/g} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://www.libtorrent.org/ | | 10 | HOMEPAGE= https://www.libtorrent.org/ |
11 | COMMENT= Feature complete C++ bittorrent implementation | | 11 | COMMENT= Feature complete C++ bittorrent implementation |
12 | LICENSE= modified-bsd | | 12 | LICENSE= modified-bsd |
13 | | | 13 | |
14 | USE_CMAKE= yes | | 14 | USE_CMAKE= yes |
| | | 15 | USE_LANGUAGES= c c++14 |
15 | USE_TOOLS+= pkg-config | | 16 | USE_TOOLS+= pkg-config |
16 | USE_LANGUAGES= c c++ | | | |
17 | | | 17 | |
18 | # C++11 | | 18 | GCC_REQD+= 6 # c++14 |
19 | GCC_REQD+= 4.7 | | | |
20 | | | 19 | |
21 | PKGCONFIG_OVERRIDE+= libtorrent-rasterbar.pc.in | | 20 | PKGCONFIG_OVERRIDE+= libtorrent-rasterbar.pc.in |
22 | | | 21 | |
23 | post-install: | | 22 | post-install: |
24 | ${FIND} ${DESTDIR} -name '*.orig' -print0 | ${XARGS} -0 ${RM} -f | | 23 | ${FIND} ${DESTDIR} -name '*.orig' -print0 | ${XARGS} -0 ${RM} -f |
25 | | | 24 | |
26 | .include "../../converters/libiconv/buildlink3.mk" | | 25 | .include "../../converters/libiconv/buildlink3.mk" |
27 | .include "../../devel/boost-libs/buildlink3.mk" | | 26 | .include "../../devel/boost-libs/buildlink3.mk" |
28 | .include "../../security/openssl/buildlink3.mk" | | 27 | .include "../../security/openssl/buildlink3.mk" |
29 | .include "../../mk/bsd.pkg.mk" | | 28 | .include "../../mk/bsd.pkg.mk" |