Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2013 14:02:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337251 - head/audio/madplay
Message-ID:  <201312231402.rBNE2o8t090658@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 23 14:02:49 2013
New Revision: 337251
URL: http://svnweb.freebsd.org/changeset/ports/337251

Log:
  - Support staging
  - Use new OPTIONS features

Modified:
  head/audio/madplay/Makefile
  head/audio/madplay/pkg-plist

Modified: head/audio/madplay/Makefile
==============================================================================
--- head/audio/madplay/Makefile	Mon Dec 23 14:02:38 2013	(r337250)
+++ head/audio/madplay/Makefile	Mon Dec 23 14:02:49 2013	(r337251)
@@ -16,38 +16,21 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libmad.so:${PORTSDIR}/audio/libmad \
 		libid3tag.so:${PORTSDIR}/audio/libid3tag
 
-WANT_GNOME=	yes
-
 GNU_CONFIGURE=	yes
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lz
 ALL_TARGET=	all madtime
-NO_STAGE=	yes
-
-MAN1=		abxtest.1 madplay.1
-
-OPTIONS_DEFINE=NLS ESOUND
-OPTIONS_DEFAULT=NLS ESOUND
-NO_OPTIONS_SORT=yes
-TCL82_MAN_DESC= Install tcl 8.3 manpages
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=		NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=		NLS="@comment "
-.endif
 
-.if ${PORT_OPTIONS:MESOUND}
-USE_GNOME+=	esound
-.else
-CONFIGURE_ARGS+=	--without-esd
-.endif
+OPTIONS_DEFINE=	NLS ESOUND
+OPTIONS_DEFAULT=ESOUND
+OPTIONS_SUB=	yes
+
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
+ESOUND_USE=		GNOME=esound
+ESOUND_CONFIGURE_WITH=	esd
 
 post-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/madtime ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/madtime ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/audio/madplay/pkg-plist
==============================================================================
--- head/audio/madplay/pkg-plist	Mon Dec 23 14:02:38 2013	(r337250)
+++ head/audio/madplay/pkg-plist	Mon Dec 23 14:02:49 2013	(r337251)
@@ -1,6 +1,8 @@
 bin/abxtest
 bin/madplay
 bin/madtime
+man/man1/abxtest.1.gz
+man/man1/madplay.1.gz
 %%NLS%%share/locale/en/LC_MESSAGES/madplay.mo
 %%NLS%%share/locale/es/LC_MESSAGES/madplay.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/madplay.mo



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