ports/130472: Update port: audio/ezstream

KATO Tsuguru tkato432 at yahoo.com
Mon Jan 12 18:40:23 UTC 2009


>Number:         130472
>Category:       ports
>Synopsis:       Update port: audio/ezstream
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 12 18:40:09 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.1-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Add taglib support

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/ezstream/Makefile audio/ezstream/Makefile
--- /usr/ports/audio/ezstream/Makefile	2008-08-28 04:38:28.000000000 +0900
+++ audio/ezstream/Makefile	2008-09-09 04:53:53.000000000 +0900
@@ -7,40 +7,59 @@
 
 PORTNAME=	ezstream
 PORTVERSION=	0.5.3
+PORTREVISION=	1
 CATEGORIES=	audio
-MASTER_SITES=	http://svn.xiph.org/releases/ezstream/
+MASTER_SITES=	http://downloads.xiph.org/releases/ezstream/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A command line utility for streaming to icecast servers
 
 LIB_DEPENDS=	shout.5:${PORTSDIR}/audio/libshout2 \
-		vorbis.4:${PORTSDIR}/audio/libvorbis \
-		xml2.5:${PORTSDIR}/textproc/libxml2
+		vorbis.4:${PORTSDIR}/audio/libvorbis
 
+OPTIONS=	TAGLIB "TagLib support" on
+
+USE_GNOME=	libxml2
+USE_ICONV=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 
-CFLAGS+=	${PTHREAD_CFLAGS} -I${LOCALBASE}/include
-LDFLAGS+=	${PTHREAD_LIBS} -L${LOCALBASE}/lib
+MAN1=		ezstream.1
+PORTDOCS=	NEWS README
+PORTEXAMPLES=	ezstream_metadata.xml ezstream_mp3.xml \
+		ezstream_reencode_mp3.xml ezstream_reencode_theora.xml \
+		ezstream_reencode_vorbis.xml ezstream_stdin_vorbis.xml \
+		ezstream_vorbis.xml meta.sh play.sh
+PLIST_FILES=	bin/ezstream
 
-CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
-PLIST_FILES=	bin/ezstream
-PORTEXAMPLES=	ezstream_metadata.xml ezstream_mp3.xml ezstream_reencode_mp3.xml \
-		ezstream_reencode_theora.xml ezstream_reencode_vorbis.xml \
-		ezstream_stdin_vorbis.xml ezstream_vorbis.xml meta.sh play.sh
+.include <bsd.port.pre.mk>
 
-MAN1=	ezstream.1
+.if defined(WITHOUT_TAGLIB)
+CONFIGURE_ARGS+=	--without-taglib
+.else
+LIB_DEPENDS+=	tag.6:${PORTSDIR}/audio/taglib
+CONFIGURE_ARGS+=	--with-taglib=${LOCALBASE}
+.endif
 
 post-patch:
-	${REINPLACE_CMD} -e 's|COPYING NEWS README||g; s|examples||g; \
-	    s|install-dist_docDATA||g' ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|examples||g ; \
+		 s|: install-dist_docDATA|:|g' ${WRKSRC}/Makefile.in
 
-.if !defined(NOPORTEXAMPLES)
 post-install:
-	${INSTALL} -d ${EXAMPLESDIR}
-.for ex in ${PORTEXAMPLES}
-	${INSTALL_DATA} ${WRKSRC}/examples/${ex} ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+.if !defined(NOPORTEXAMPLES)
+	@${MKDIR} ${EXAMPLESDIR}
+.for file in ${PORTEXAMPLES}
+	${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/ezstream/pkg-descr audio/ezstream/pkg-descr
--- /usr/ports/audio/ezstream/pkg-descr	2004-10-16 09:13:17.000000000 +0900
+++ audio/ezstream/pkg-descr	2008-08-22 04:47:33.000000000 +0900
@@ -1,8 +1,18 @@
-ezstream is a command line utility which is a improved version 
-of the old "shout" utility. It enables you to stream mp3 or vorbis
-files to an icecast server without reencoding and thus requires
-very little CPU. ezstream is controlled via a XML config file.
-ezstream can stream mp3 and ogg vorbis files as well as reading
-from stdin. ID3v1 tags are supported in mp3 files and all ogg
-vorbis tags are propagated as metadata as well.
+Ezstream is a command line source client for Icecast media streaming servers.
+It began as the successor of the old "shout" utility, and has since gained a
+lot of useful features.
+
+In its basic mode of operation, it streams media files or data from standard
+input without reencoding and thus requires only very little CPU resources.
+It can also use various external decoders and encoders to reencode from one
+format to another, and stream the result to an Icecast server. Additional
+features include scriptable playlist and metadata handling. All of its
+features make ezstream a very flexible source client.
+
+Supported media formats for streaming are MP3, Ogg Vorbis and Ogg Theora.
+Native metadata support includes MP3 (ID3v1 only) and Ogg Vorbis, and many
+more formats when the optional TagLib support has been compiled in.
+
+Ezstream is free software and licensed under the GNU General Public License.
+
 WWW: http://www.icecast.org/ezstream.php
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list