aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/vtwm
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-09-16 08:18:35 +0800
committereadler <eadler@FreeBSD.org>2012-09-16 08:18:35 +0800
commitac2473be15011c9f48eefe3a0057fe1315b7f1bf (patch)
treebda1dc9f174ddaa2e3e56418c4f76cff054ddd80 /x11-wm/vtwm
parent81ac92be4336d7d79dddee3900d3b067500ca2a4 (diff)
downloadfreebsd-ports-gnome-ac2473be15011c9f48eefe3a0057fe1315b7f1bf.tar.gz
freebsd-ports-gnome-ac2473be15011c9f48eefe3a0057fe1315b7f1bf.tar.zst
freebsd-ports-gnome-ac2473be15011c9f48eefe3a0057fe1315b7f1bf.zip
- Covert to OptionsNG
- Add generally useful options to the global list Approved by: ak (maintainer)
Diffstat (limited to 'x11-wm/vtwm')
-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>