diff options
-rw-r--r-- | games/lgogdownloader/Makefile | 20 | ||||
-rw-r--r-- | games/lgogdownloader/distinfo | 11 | ||||
-rw-r--r-- | games/lgogdownloader/patches/patch-cmake_FindJsoncpp.cmake | 14 |
3 files changed, 31 insertions, 14 deletions
diff --git a/games/lgogdownloader/Makefile b/games/lgogdownloader/Makefile index 65751877a4b..e7325b3f120 100644 --- a/games/lgogdownloader/Makefile +++ b/games/lgogdownloader/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.20 2016/03/05 11:28:34 jperkin Exp $ +# $NetBSD: Makefile,v 1.21 2016/03/13 08:49:31 wiz Exp $ -DISTNAME= lgogdownloader-2.26 -PKGREVISION= 1 +DISTNAME= lgogdownloader-2.27 CATEGORIES= games MASTER_SITES= http://sites.google.com/site/gogdownloader/ @@ -12,13 +11,16 @@ COMMENT= Download games from GOG BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man -#WRKSRC= ${WRKDIR}/lgogdownloader USE_LANGUAGES= c++ -USE_TOOLS+= gmake gunzip - -MAKE_FLAGS+= PREFIX=${PREFIX} -MAKE_FLAGS+= MANPREFIX=${PREFIX} -MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q} +USE_CMAKE= yes +USE_TOOLS+= pkg-config +CMAKE_ARGS+= -DPC_JSONCPP_FOUND:BOOL=1 +CMAKE_ARGS+= -DPC_JSONCPP_INCLUDEDIRS:PATH=${BUILDLINK_PREFIX.jsoncpp}/include/json +CMAKE_ARGS+= -DPC_JSONCPP_LIBRARY_DIRS:PATH=${BUILDLINK_PREFIX.jsoncpp}/lib +CMAKE_ARGS+= -DPC_TINYXML_FOUND:BOOL=1 +CMAKE_ARGS+= -DPC_TINYXML_LIBRARY_DIRS:PATH=${BUILDLINK_PREFIX.tinyxml}/lib +# for man page +CMAKE_ARGS+= -DINSTALL_SHARE_DIR:PATH=${PREFIX} .include "../../devel/boost-libs/buildlink3.mk" .include "../../security/liboauth/buildlink3.mk" diff --git a/games/lgogdownloader/distinfo b/games/lgogdownloader/distinfo index f12362ec52d..444f108144d 100644 --- a/games/lgogdownloader/distinfo +++ b/games/lgogdownloader/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.16 2015/11/04 17:41:18 agc Exp $ +$NetBSD: distinfo,v 1.17 2016/03/13 08:49:31 wiz Exp $ -SHA1 (lgogdownloader-2.26.tar.gz) = da95d3bf78880c71776f91cc91a9584785004f23 -RMD160 (lgogdownloader-2.26.tar.gz) = 4c1095e1571fdb3fc53bd9b096b879ada1417c68 -SHA512 (lgogdownloader-2.26.tar.gz) = 6820f577e02adb510c97212b658178d0778d60c97a7c6e08471ff7840909e80eef9e505ddf99f57766a45ea397a1fbaec6c8a1d33146c14f94f6d924b413a9bd -Size (lgogdownloader-2.26.tar.gz) = 47424 bytes +SHA1 (lgogdownloader-2.27.tar.gz) = 8e6841637d9a6ea8b0ed3c346ae96fa48655db41 +RMD160 (lgogdownloader-2.27.tar.gz) = 89cc6e373528326712abbd54fa1f7d468875c3f5 +SHA512 (lgogdownloader-2.27.tar.gz) = 3dd2845b801c883d42bb12bfeb4c28ab6852524a0397ea313b7e4b0195e575a255177b85281bfd923765ac49cfc313dc5bd62a1188e1c465172f79ec281ea0a7 +Size (lgogdownloader-2.27.tar.gz) = 50433 bytes +SHA1 (patch-cmake_FindJsoncpp.cmake) = 0ab831e8d26625a748cf9c4ab270cd7a39a4472e diff --git a/games/lgogdownloader/patches/patch-cmake_FindJsoncpp.cmake b/games/lgogdownloader/patches/patch-cmake_FindJsoncpp.cmake new file mode 100644 index 00000000000..f77d04d752d --- /dev/null +++ b/games/lgogdownloader/patches/patch-cmake_FindJsoncpp.cmake @@ -0,0 +1,14 @@ +$NetBSD: patch-cmake_FindJsoncpp.cmake,v 1.1 2016/03/13 08:49:31 wiz Exp $ + +jsoncpp does not provide a pkg-config file, don't insist on one. + +--- cmake/FindJsoncpp.cmake.orig 2016-01-17 17:41:13.000000000 +0000 ++++ cmake/FindJsoncpp.cmake +@@ -6,7 +6,6 @@ + # Jsoncpp_LIBRARIES - link these to use Jsoncpp + + find_package(PkgConfig) +-pkg_check_modules(PC_JSONCPP REQUIRED jsoncpp) + + find_path(JSONCPP_INCLUDE_DIR + NAMES |