pkgsrc/games/lgogdownloader/Makefile
2019-08-22 12:22:48 +00:00

31 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.41 2019/08/22 12:23:13 ryoon Exp $
DISTNAME= lgogdownloader-3.5
PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= http://sites.google.com/site/gogdownloader/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/Sude-/lgogdownloader
COMMENT= Download games from GOG
LICENSE= public-domain # actually, dwtfywtpl
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
USE_LANGUAGES= c c++
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
# for man page
CMAKE_ARGS+= -DINSTALL_SHARE_DIR:PATH=${PREFIX}
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../security/liboauth/buildlink3.mk"
.include "../../textproc/tinyxml2/buildlink3.mk"
.include "../../www/htmlcxx/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../misc/rhash/buildlink3.mk"
.include "../../textproc/jsoncpp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"