stratagus: Install development headers, and safer dependency on tolua++

This commit is contained in:
Charlotte Koch 2019-07-06 14:37:53 -07:00
parent 875e3e2cd8
commit 3e20a7f9dc
3 changed files with 19 additions and 1 deletions

View File

@ -14,8 +14,9 @@ EXTRACT_USING= gtar
USE_CMAKE= yes
USE_LANGUAGES= c c++
BUILD_DEPENDS+= tolua++-1.0.93:../../wip/tolua++
BUILD_DEPENDS+= tolua++-[0-9]*:../../wip/tolua++
CMAKE_ARGS+= -DENABLE_DEV=ON
CMAKE_ARGS+= -DWANT_METASERVER=OFF
CMAKE_ARGS+= -DWITH_RENDERER=NativeSDL

View File

@ -1,3 +1,7 @@
@comment $NetBSD$
bin/png2stratagus
games/stratagus
include/stratagus-game-installer.nsi
include/stratagus-game-launcher.h
include/stratagus-gameutils.h
include/stratagus-tinyfiledialogs.h

13
stratagus/buildlink3.mk Normal file
View File

@ -0,0 +1,13 @@
# $NetBSD$
BUILDLINK_TREE+= stratagus
.if !defined(STRATAGUS_BUILDLINK3_MK)
STRATAGUS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.stratagus+= stratagus-2.4.*
BUILDLINK_PKGSRCDIR.stratagus?= ../../wip/stratagus
.endif # STRATAGUS_BUILDLINK3_MK
BUILDLINK_TREE+= -stratagus