pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/dwm Add options.mk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3486a5a0344
branches:  trunk
changeset: 560624:f3486a5a0344
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Mon Jun 15 08:17:43 2009 +0000

description:
Add options.mk.

diffstat:

 wm/dwm/options.mk |  24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diffs (28 lines):

diff -r e0d182251bb1 -r f3486a5a0344 wm/dwm/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/dwm/options.mk Mon Jun 15 08:17:43 2009 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: options.mk,v 1.1 2009/06/15 08:17:43 ahoka Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.dwm
+PKG_SUPPORTED_OPTIONS= xinerama
+PKG_SUGGESTED_OPTIONS= xinerama
+
+.include "../../mk/bsd.options.mk"
+
+#
+# Xinerama support
+#
+# If we don't want the Xinerama support we delete XINERAMALIBS and
+# XINERAMAFLAGS lines, otherwise the Xinerama support is the default.
+#
+.if !empty(PKG_OPTIONS:Mxinerama)
+.  include "../../x11/libXinerama/buildlink3.mk"
+.else
+SUBST_CLASSES+=                options
+SUBST_STAGE.options=   pre-build
+SUBST_MESSAGE.options= Toggle the Xinerama support
+SUBST_FILES.options=   config.mk
+SUBST_SED.options+=    -e '/^XINERAMA/ d'
+.  include "../../x11/libX11/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index