| @@ -1,28 +1,35 @@ | | | @@ -1,28 +1,35 @@ |
1 | # $NetBSD: Makefile,v 1.42 2019/12/21 21:21:12 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.43 2020/01/10 11:22:52 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= lgogdownloader-3.5 | | 3 | DISTNAME= lgogdownloader-3.5 |
4 | PKGREVISION= 3 | | 4 | PKGREVISION= 3 |
5 | CATEGORIES= games | | 5 | CATEGORIES= games |
6 | MASTER_SITES= http://sites.google.com/site/gogdownloader/ | | 6 | MASTER_SITES= http://sites.google.com/site/gogdownloader/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://github.com/Sude-/lgogdownloader | | 9 | HOMEPAGE= https://github.com/Sude-/lgogdownloader |
10 | COMMENT= Download games from GOG | | 10 | COMMENT= Download games from GOG |
11 | LICENSE= public-domain # actually, dwtfywtpl | | 11 | LICENSE= public-domain # actually, dwtfywtpl |
12 | | | 12 | |
13 | BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man | | 13 | BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man |
14 | | | 14 | |
15 | USE_LANGUAGES= c c++ | | 15 | USE_LANGUAGES= c c++ |
16 | USE_CMAKE= yes | | 16 | USE_CMAKE= yes |
17 | USE_TOOLS+= pkg-config | | 17 | USE_TOOLS+= pkg-config |
18 | | | 18 | |
| | | 19 | .include "../../mk/bsd.prefs.mk" |
| | | 20 | |
| | | 21 | .if ${MACHINE_ARCH} == "i386" |
| | | 22 | # 64 bit atomic ops are required |
| | | 23 | CXXFLAGS+= -march=i586 |
| | | 24 | .endif |
| | | 25 | |
19 | CMAKE_ARGS+= -DJSONCPP_INCLUDE_DIR=${BUILDLINK_DIR}/include/json | | 26 | CMAKE_ARGS+= -DJSONCPP_INCLUDE_DIR=${BUILDLINK_DIR}/include/json |
20 | | | 27 | |
21 | .include "../../devel/boost-libs/buildlink3.mk" | | 28 | .include "../../devel/boost-libs/buildlink3.mk" |
22 | .include "../../security/liboauth/buildlink3.mk" | | 29 | .include "../../security/liboauth/buildlink3.mk" |
23 | .include "../../textproc/tinyxml2/buildlink3.mk" | | 30 | .include "../../textproc/tinyxml2/buildlink3.mk" |
24 | .include "../../www/htmlcxx/buildlink3.mk" | | 31 | .include "../../www/htmlcxx/buildlink3.mk" |
25 | .include "../../www/curl/buildlink3.mk" | | 32 | .include "../../www/curl/buildlink3.mk" |
26 | .include "../../misc/rhash/buildlink3.mk" | | 33 | .include "../../misc/rhash/buildlink3.mk" |
27 | .include "../../textproc/jsoncpp/buildlink3.mk" | | 34 | .include "../../textproc/jsoncpp/buildlink3.mk" |
28 | .include "../../mk/bsd.pkg.mk" | | 35 | .include "../../mk/bsd.pkg.mk" |