aboutsummaryrefslogtreecommitdiffstats
path: root/audio/aumix
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-02-08 21:02:13 +0800
committerbapt <bapt@FreeBSD.org>2015-02-08 21:02:13 +0800
commit736f42963baeb4612c27d9b4e69761094fd48387 (patch)
tree1ae572d42634f968f934e61b85d47eba25063120 /audio/aumix
parent37237cd6186b9f3369020e4e47ce7a77f541f88b (diff)
downloadfreebsd-ports-gnome-736f42963baeb4612c27d9b4e69761094fd48387.tar.gz
freebsd-ports-gnome-736f42963baeb4612c27d9b4e69761094fd48387.tar.zst
freebsd-ports-gnome-736f42963baeb4612c27d9b4e69761094fd48387.zip
Use options helpers
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]