Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2015 13:02:13 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378653 - head/audio/aumix
Message-ID:  <201502081302.t18D2D8q057287@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502081302.t18D2D8q057287>