aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-09-16 00:18:35 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-09-16 00:18:35 +0000
commitc5622ed82ba8a5b74337e1e753065f40ce63884b (patch)
treebda1dc9f174ddaa2e3e56418c4f76cff054ddd80 /x11-wm
parent74a323cda4dcec846509f37d866ca11c9a1f56c9 (diff)
downloadports-c5622ed82ba8a5b74337e1e753065f40ce63884b.tar.gz
ports-c5622ed82ba8a5b74337e1e753065f40ce63884b.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/vtwm/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11-wm/vtwm/Makefile b/x11-wm/vtwm/Makefile
index 4b8c4ae5a5f4..6556e847af07 100644
--- a/x11-wm/vtwm/Makefile
+++ b/x11-wm/vtwm/Makefile
@@ -22,20 +22,20 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
MAN1= vtwm.1
-OPTIONS= SOUND "Sound support" on \
- NLS "Native language support" on
+OPTIONS_DEFINE= SOUND NLS
+OPTIONS_DEFAULT= SOUND NLS
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_SOUND)
+.if ${PORT_OPTIONS:MSOUND}
LIB_DEPENDS+= rplay.1:${PORTSDIR}/audio/rplay
MAKE_ENV+= SOUND=yes
.else
MAKE_ENV+= SOUND=no
.endif
-.if defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
CFLAGS+= -DNO_I18N_SUPPORT
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>