2012-12-17 20:25:30 +01:00
|
|
|
# Created by: Frank Laszlo <laszlof@vonostingroup.com>
|
2004-10-16 02:13:17 +02:00
|
|
|
|
|
|
|
PORTNAME= ezstream
|
2009-09-13 02:14:23 +02:00
|
|
|
PORTVERSION= 0.5.6
|
2016-12-08 20:23:24 +01:00
|
|
|
PORTREVISION= 6
|
2004-10-16 02:13:17 +02:00
|
|
|
CATEGORIES= audio
|
2021-06-10 15:48:47 +02:00
|
|
|
MASTER_SITES= https://downloads.xiph.org/releases/ezstream/ \
|
|
|
|
https://ftp.osuosl.org/pub/xiph/releases/ezstream/
|
2004-10-16 02:13:17 +02:00
|
|
|
|
2009-09-13 02:14:23 +02:00
|
|
|
MAINTAINER= ayu@commun.jp
|
2014-04-05 17:28:06 +02:00
|
|
|
COMMENT= Command line utility for streaming to icecast servers
|
2004-10-16 02:13:17 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libshout.so:audio/libshout \
|
|
|
|
libvorbis.so:audio/libvorbis
|
2004-10-16 02:13:17 +02:00
|
|
|
|
2014-04-05 17:28:06 +02:00
|
|
|
OPTIONS_DEFINE= TAGLIB DOCS EXAMPLES
|
2012-12-17 20:25:30 +01:00
|
|
|
OPTIONS_DEFAULT= TAGLIB
|
|
|
|
|
|
|
|
TAGLIB_DESC= TagLib support
|
2009-01-14 17:00:26 +01:00
|
|
|
|
2019-11-08 10:27:56 +01:00
|
|
|
USES= gnome iconv pkgconfig
|
2009-01-14 17:00:26 +01:00
|
|
|
USE_GNOME= libxml2
|
2010-02-04 04:14:15 +01:00
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2008-08-27 17:20:08 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-10-16 03:57:10 +02:00
|
|
|
|
2009-01-14 17:00:26 +01:00
|
|
|
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
|
2014-04-05 17:28:06 +02:00
|
|
|
PLIST_FILES= bin/ezstream bin/ezstream-file.sh etc/ezstream/ezstream.xml \
|
|
|
|
man/man1/ezstream-file.sh.1.gz man/man1/ezstream.1.gz
|
2005-12-15 20:22:41 +01:00
|
|
|
|
2015-03-25 22:37:39 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
|
2005-12-15 20:22:41 +01:00
|
|
|
|
2014-04-05 17:28:06 +02:00
|
|
|
TAGLIB_CONFIGURE_OFF= --without-taglib
|
2016-04-01 15:29:15 +02:00
|
|
|
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib
|
2014-04-05 17:28:06 +02:00
|
|
|
TAGLIB_CONFIGURE_ON= --with-taglib=${LOCALBASE}
|
|
|
|
|
2012-12-17 20:25:30 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2005-12-15 20:22:41 +01:00
|
|
|
|
2008-08-27 17:20:08 +02:00
|
|
|
post-patch:
|
2009-01-14 17:00:26 +01:00
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|examples||g ; \
|
2010-02-04 04:14:15 +01:00
|
|
|
s|: install-dist_docDATA|:|g' ${WRKSRC}/Makefile.in
|
2008-08-27 17:20:08 +02:00
|
|
|
|
2005-12-15 20:22:41 +01:00
|
|
|
post-install:
|
2014-04-05 17:28:06 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
2009-01-14 17:00:26 +01:00
|
|
|
.for file in ${PORTDOCS}
|
2014-04-05 17:28:06 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}/
|
2009-01-14 17:00:26 +01:00
|
|
|
.endfor
|
2014-04-05 17:28:06 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
2010-02-04 04:14:15 +01:00
|
|
|
.for f in ${PORTEXAMPLES}
|
2014-04-05 17:28:06 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}/
|
2005-12-15 20:22:41 +01:00
|
|
|
.endfor
|
2014-04-05 17:28:06 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/ezstream_vorbis.xml ${STAGEDIR}${ETCDIR}/ezstream.xml
|
2004-10-16 02:13:17 +02:00
|
|
|
|
2012-12-17 20:25:30 +01:00
|
|
|
.include <bsd.port.mk>
|