summaryrefslogtreecommitdiff
path: root/games/crossfire-server/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'games/crossfire-server/options.mk')
-rw-r--r--games/crossfire-server/options.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/crossfire-server/options.mk b/games/crossfire-server/options.mk
new file mode 100644
index 00000000000..59e3b9465ad
--- /dev/null
+++ b/games/crossfire-server/options.mk
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2008/11/04 08:36:34 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.crossfire-server
+PKG_SUPPORTED_OPTIONS= x11
+PKG_SUGGESTED_OPTIONS= x11
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= x11
+
+.if !empty(PKG_OPTIONS:Mx11)
+PLIST.x11= yes
+.include "../../x11/libXaw/buildlink3.mk"
+.include "../../x11/libXp/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-x
+.endif