summaryrefslogtreecommitdiff
path: root/audio/aumix
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-02-08 13:02:13 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-02-08 13:02:13 +0000
commita6f0da58871b5e9f30c98864f15e2528bd4a0a8d (patch)
tree1ae572d42634f968f934e61b85d47eba25063120 /audio/aumix
parentUse options helpers (diff)
Use options helpers
Notes
Notes: svn path=/head/; revision=378653
Diffstat (limited to 'audio/aumix')
-rw-r--r--audio/aumix/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/audio/aumix/Makefile b/audio/aumix/Makefile
index b66943847fed..7d89454c3855 100644
--- a/audio/aumix/Makefile
+++ b/audio/aumix/Makefile
@@ -33,23 +33,14 @@ PLIST_FILES+= share/aumix/${ii}
OPTIONS_DEFINE= NLS GTK2
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-
+NLS_USES= gettext
+NLS_CONFIGURE_OFF= --disable-nls
.for ii in ca de el es fr gl it ja nl pl pt_BR ru sv uk zh_CN
-PLIST_FILES+= share/locale/${ii}/LC_MESSAGES/aumix.mo
+NLS_PLIST_FILES+= share/locale/${ii}/LC_MESSAGES/aumix.mo
.endfor
-.else
-CONFIGURE_ARGS+=--disable-nls
-.endif
-
-.if ${PORT_OPTIONS:MGTK2}
-USE_GNOME= gtk20
-.else
-CONFIGURE_ARGS+=--without-gtk
-.endif
+
+GTK2_USE= GNOME=gtk20
+GTK2_CONFIGURE_OFF=--without-gtk
pre-patch:
@${REINPLACE_CMD} -e "s:/etc:${PREFIX}/etc:" ${WRKSRC}/src/common.[ch]