From 9dd64443fae87beb1fc93cce9eee0bec4e31d9fc Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Mon, 11 Sep 2006 12:31:15 +0000 Subject: + Update to madplay 0.15.2b. + Add support for WITHOUT_NLS. + Remove patch-configure as it doesn't seem to affect the build any longer, with or without libtool in the system -- tested with diff. + Fix pkg-plist: The locale dirs used here are either standard, listed in BSD.local.dist, or managed by the gettext port, so we needn't try to remove them. Approved by: maintainer (timeout) --- audio/madplay/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'audio/madplay/Makefile') diff --git a/audio/madplay/Makefile b/audio/madplay/Makefile index 051047a7afc0..e141fc5a6e55 100644 --- a/audio/madplay/Makefile +++ b/audio/madplay/Makefile @@ -6,8 +6,7 @@ # PORTNAME= madplay -PORTVERSION= 0.15.0b -PORTREVISION= 3 +PORTVERSION= 0.15.2b CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ftp.mars.org/pub/mpeg/ @@ -21,17 +20,23 @@ LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \ WANT_GNOME= yes -USE_GETTEXT= yes GNU_CONFIGURE= yes -INSTALLS_SHLIB= yes CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" ALL_TARGET= all madtime MAN1= abxtest.1 madplay.1 +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + .include -.if ${HAVE_GNOME:Mesound}!="" +.if ${HAVE_GNOME:Mesound} != "" USE_GNOME+= esound PKGNAMESUFFIX= -esound .else -- cgit v1.2.3