33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2016/10/07 18:25:50 adam Exp $
|
|
|
|
DISTNAME= lgogdownloader-2.28
|
|
PKGREVISION= 1
|
|
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= dwtfywtpl
|
|
|
|
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
|
|
|
|
USE_LANGUAGES= 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
|
|
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"
|
|
.include "../../textproc/tinyxml/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"
|