svn commit: r378653 - head/audio/aumix
Baptiste Daroussin
bapt at FreeBSD.org
Sun Feb 8 13:02:14 UTC 2015
Author: bapt
Date: Sun Feb 8 13:02:13 2015
New Revision: 378653
URL: https://svnweb.freebsd.org/changeset/ports/378653
QAT: https://qat.redports.org/buildarchive/r378653/
Log:
Use options helpers
Modified:
head/audio/aumix/Makefile
Modified: head/audio/aumix/Makefile
==============================================================================
--- head/audio/aumix/Makefile Sun Feb 8 13:00:59 2015 (r378652)
+++ head/audio/aumix/Makefile Sun Feb 8 13:02:13 2015 (r378653)
@@ -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]
More information about the svn-ports-all
mailing list