pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/warzone2100



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Fri Dec 14 17:29:32 UTC 2018

Added Files:
        pkgsrc/games/warzone2100: options.mk

Log Message:
warzone2100: option to select backend (sdl2/qt5)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/warzone2100/options.mk

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

Added files:

Index: pkgsrc/games/warzone2100/options.mk
diff -u /dev/null pkgsrc/games/warzone2100/options.mk:1.1
--- /dev/null   Fri Dec 14 17:29:32 2018
+++ pkgsrc/games/warzone2100/options.mk Fri Dec 14 17:29:32 2018
@@ -0,0 +1,26 @@
+# $NetBSD: options.mk,v 1.1 2018/12/14 17:29:32 triaxx Exp $
+#
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.warzone2100
+PKG_OPTIONS_REQUIRED_GROUPS=   backend
+PKG_OPTIONS_GROUP.backend=     sdl2 qt5
+PKG_SUGGESTED_OPTIONS=         sdl2
+
+.include "../../mk/bsd.options.mk"
+.include "../../mk/bsd.options.mk"
+
+###
+### Use SDL backend.
+###
+.if !empty(PKG_OPTIONS:Msdl2)
+CONFIGURE_ARGS+=       --with-backend=sdl
+.include "../../devel/SDL2/buildlink3.mk"
+.endif
+
+###
+### Use QT5 backend.
+###
+.if !empty(PKG_OPTIONS:Mqt5)
+CONFIGURE_ARGS+=       --with-backend=qt
+.include "../../x11/qt5-qtx11extras/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index