svn commit: r328579 - head/audio/vorbis-tools
Christian Weisgerber
naddy at FreeBSD.org
Sat Sep 28 15:30:09 UTC 2013
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 at 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
More information about the svn-ports-head
mailing list