summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-09-16 15:47:00 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-09-16 15:47:00 +0000
commitce58758fe6081e365d4b40a5e73f3a1d483960e9 (patch)
tree1fbe58154d2480bff62cee3c01a7177fb6d08d0c /audio
parent- use OPTIONS_DEFINE (diff)
- use OPTIONS_DEFINE
Notes
Notes: svn path=/head/; revision=304363
Diffstat (limited to 'audio')
-rw-r--r--audio/madplay/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/audio/madplay/Makefile b/audio/madplay/Makefile
index fff661b25e87..41f12826727f 100644
--- a/audio/madplay/Makefile
+++ b/audio/madplay/Makefile
@@ -30,12 +30,14 @@ ALL_TARGET= all madtime
MAN1= abxtest.1 madplay.1
-OPTIONS= NLS "NLS support" on \
- ESOUND "with esound" on
+OPTIONS_DEFINE=NLS ESOUND
+OPTIONS_DEFAULT=NLS ESOUND
+NO_OPTIONS_SORT=yes
+TCL82_MAN_DESC= Install tcl 8.3 manpages
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
@@ -43,7 +45,7 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.if !defined(WITHOUT_ESOUND)
+.if ${PORT_OPTIONS:MESOUND}
USE_GNOME+= esound
.else
CONFIGURE_ARGS+= --without-esd
@@ -52,4 +54,4 @@ CONFIGURE_ARGS+= --without-esd
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/madtime ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>