lgogdownloader-git: reduce diffs to pkgsrc/games/lgogdownloader

This commit is contained in:
Thomas Klausner 2020-03-22 10:30:03 +01:00
parent e3bc18f58d
commit 2c16082342
1 changed files with 8 additions and 5 deletions

View File

@ -9,20 +9,23 @@ HOMEPAGE= https://github.com/Sude-/lgogdownloader
COMMENT= Download games from GOG
LICENSE= public-domain # actually, dwtfywtpl
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
TOOL_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}
# https://github.com/Sude-/lgogdownloader/issues/128
PKGSRC_USE_STACK_CHECK= no
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386"
# 64 bit atomic ops are required
CXXFLAGS+= -march=i586
.endif
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../textproc/tinyxml2/buildlink3.mk"
.include "../../www/htmlcxx/buildlink3.mk"