Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2013 15:30:08 +0000 (UTC)
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328579 - head/audio/vorbis-tools
Message-ID:  <201309281530.r8SFU8ie050317@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: naddy
Date: Sat Sep 28 15:30:08 2013
New Revision: 328579
URL: http://svnweb.freebsd.org/changeset/ports/328579

Log:
  Support staging, clean up.

Modified:
  head/audio/vorbis-tools/Makefile
  head/audio/vorbis-tools/pkg-plist

Modified: head/audio/vorbis-tools/Makefile
==============================================================================
--- head/audio/vorbis-tools/Makefile	Sat Sep 28 15:17:01 2013	(r328578)
+++ head/audio/vorbis-tools/Makefile	Sat Sep 28 15:30:08 2013	(r328579)
@@ -11,37 +11,29 @@ MASTER_SITES=	http://downloads.xiph.org/
 MAINTAINER=	naddy@FreeBSD.org
 COMMENT=	Play, encode, and manage Ogg Vorbis files
 
-LIB_DEPENDS=	ao.4:${PORTSDIR}/audio/libao \
-		curl:${PORTSDIR}/ftp/curl \
-		FLAC:${PORTSDIR}/audio/flac \
-		kate.4:${PORTSDIR}/multimedia/libkate \
-		speex.1:${PORTSDIR}/audio/speex \
-		vorbis.4:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS=	libao.so:${PORTSDIR}/audio/libao \
+		libcurl.so:${PORTSDIR}/ftp/curl \
+		libFLAC.so:${PORTSDIR}/audio/flac \
+		libkate.so:${PORTSDIR}/multimedia/libkate \
+		libspeex.so:${PORTSDIR}/audio/speex \
+		libvorbis.so:${PORTSDIR}/audio/libvorbis
 
-USES=		pkgconfig
-NO_STAGE=	yes
+USES=		iconv pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
 		PTHREAD_LIBS="${PTHREAD_LIBS}"
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=     NLS=""
-.else
-USES+=		iconv
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=     NLS="@comment "
-.endif
-
-MAN1=		ogg123.1 oggdec.1 oggenc.1 ogginfo.1 vcut.1 vorbiscomment.1
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 post-install:
-	${MKDIR} ${PREFIX}/share/examples/vorbis-tools
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/vorbis-tools
 	${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \
-		${PREFIX}/share/examples/vorbis-tools/ogg123rc
+	    ${STAGEDIR}${PREFIX}/share/examples/vorbis-tools/ogg123rc
 
 .include <bsd.port.mk>

Modified: head/audio/vorbis-tools/pkg-plist
==============================================================================
--- head/audio/vorbis-tools/pkg-plist	Sat Sep 28 15:17:01 2013	(r328578)
+++ head/audio/vorbis-tools/pkg-plist	Sat Sep 28 15:30:08 2013	(r328579)
@@ -5,6 +5,12 @@ bin/oggenc
 bin/ogginfo
 bin/vcut
 bin/vorbiscomment
+man/man1/ogg123.1.gz
+man/man1/oggdec.1.gz
+man/man1/oggenc.1.gz
+man/man1/ogginfo.1.gz
+man/man1/vcut.1.gz
+man/man1/vorbiscomment.1.gz
 share/examples/vorbis-tools/ogg123rc
 %%NLS%%share/locale/be/LC_MESSAGES/vorbis-tools.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/vorbis-tools.mo



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