aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nitrogen/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-05 14:52:51 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-05 14:52:51 +0000
commit5acc115897b33077e2164648e79d94a983931596 (patch)
treed8513d89fe92e0c643c66c449a95adcdef92af57 /sysutils/nitrogen/Makefile
parentfd959c7d6e612fba1dbc6276e192e436099ff1ba (diff)
downloadports-5acc115897b33077e2164648e79d94a983931596.tar.gz
ports-5acc115897b33077e2164648e79d94a983931596.zip
Notes
Diffstat (limited to 'sysutils/nitrogen/Makefile')
-rw-r--r--sysutils/nitrogen/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/nitrogen/Makefile b/sysutils/nitrogen/Makefile
index f1ca9dcbbca7..142decb936a7 100644
--- a/sysutils/nitrogen/Makefile
+++ b/sysutils/nitrogen/Makefile
@@ -23,21 +23,22 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-inotify
CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
-OPTIONS= XINERAMA "Xinerama support" on
+OPTIONS_DEFINE= XINERAMA
+OPTIONS_DEFAULT= XINERAMA
MAN1= nitrogen.1
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITHOUT_XINERAMA)
-CONFIGURE_ARGS+=--disable-xinerama
-.else
+.if ${PORT_OPTIONS:MXINERAMA}
CONFIGURE_ARGS+=--enable-xinerama
USE_XORG+= xinerama
+.else
+CONFIGURE_ARGS+=--disable-xinerama
.endif
post-patch:
@${REINPLACE_CMD} -e 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,' \
${WRKSRC}/data/icon-theme-installer
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>