pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <cfkoch%edgebsd.org@localhost>
Pushed By:	cfkoch
Date:		Sat Jul 6 14:37:53 2019 -0700
Changeset:	3e20a7f9dc43d84a7af8c8b6b28aae849b1287e4

Modified Files:
	stratagus/Makefile
	stratagus/PLIST
Added Files:
	stratagus/buildlink3.mk

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

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3e20a7f9dc43d84a7af8c8b6b28aae849b1287e4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 stratagus/Makefile      |  3 ++-
 stratagus/PLIST         |  4 ++++
 stratagus/buildlink3.mk | 13 +++++++++++++
 3 files changed, 19 insertions(+), 1 deletion(-)

diffs:
diff --git a/stratagus/Makefile b/stratagus/Makefile
index 666767d028..4b1cef005d 100644
--- a/stratagus/Makefile
+++ b/stratagus/Makefile
@@ -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
 
diff --git a/stratagus/PLIST b/stratagus/PLIST
index 64e2827026..f7628c9f19 100644
--- a/stratagus/PLIST
+++ b/stratagus/PLIST
@@ -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
diff --git a/stratagus/buildlink3.mk b/stratagus/buildlink3.mk
new file mode 100644
index 0000000000..a3ed750783
--- /dev/null
+++ b/stratagus/buildlink3.mk
@@ -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


Home | Main Index | Thread Index | Old Index