aboutsummaryrefslogtreecommitdiff
path: root/audio/icecast2
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2003-08-12 22:24:45 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2003-08-12 22:24:45 +0000
commit046715d1a89673d543e34d5a668d9cdf0f8c9771 (patch)
tree58d990bc1bdb2263580dbf062b244d4fdaefccba /audio/icecast2
parent23d19a26d29e9689e0f07c600320d4b86776feef (diff)
downloadports-046715d1a89673d543e34d5a668d9cdf0f8c9771.tar.gz
ports-046715d1a89673d543e34d5a668d9cdf0f8c9771.zip
Notes
Diffstat (limited to 'audio/icecast2')
-rw-r--r--audio/icecast2/Makefile40
-rw-r--r--audio/icecast2/distinfo2
-rw-r--r--audio/icecast2/files/patch-conf::Makefile.in11
-rw-r--r--audio/icecast2/pkg-plist21
4 files changed, 38 insertions, 36 deletions
diff --git a/audio/icecast2/Makefile b/audio/icecast2/Makefile
index a61ccbac4091..f88442fa51de 100644
--- a/audio/icecast2/Makefile
+++ b/audio/icecast2/Makefile
@@ -6,53 +6,27 @@
#
PORTNAME= icecast2
-PORTVERSION= 20021112
+PORTVERSION= 2.0.a.2.20030811
+PORTEPOCH= 1
CATEGORIES= audio net ipv6
MASTER_SITES= http://tigress.com/lofi/\
http://lofi.dyndns.org/
-DISTNAME= icecast-devel-${PORTVERSION}
+DISTNAME= icecast-2.0-alpha-2-20030811
-MAINTAINER= michaelnottebrock@gmx.net
+MAINTAINER= lofi@freebsd.org
COMMENT= A streaming mp3/ogg-vorbis audio server
-LIB_DEPENDS= ogg.4:${PORTSDIR}/audio/libogg \
+LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
+ ogg.4:${PORTSDIR}/audio/libogg \
shout.3:${PORTSDIR}/audio/libshout2 \
vorbis.2:${PORTSDIR}/audio/libvorbis \
xslt.1:${PORTSDIR}/textproc/libxslt
-AUTOMAKE_ARGS= --add-missing
-AUTOMAKE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --disable-oggtest --disable-vorbistest --disable-shouttest
CONFIGURE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
-USE_AUTOMAKE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
-USE_REINPLACE= yes
-USE_BZIP2= yes
-
-WRKSRC= ${WRKDIR}/icecast
-post-configure:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/src/Makefile
- @${REINPLACE_CMD} -e 's|-O20|${CFLAGS}|' ${WRKSRC}/conf/Makefile \
- ${WRKSRC}/doc/Makefile \
- ${WRKSRC}/src/avl/Makefile \
- ${WRKSRC}/src/log/Makefile \
- ${WRKSRC}/src/net/Makefile \
- ${WRKSRC}/src/httpp/Makefile \
- ${WRKSRC}/src/thread/Makefile \
- ${WRKSRC}/src/timing/Makefile \
- ${WRKSRC}/src/Makefile \
- ${WRKSRC}/web/Makefile \
- ${WRKSRC}/win32/res/Makefile \
- ${WRKSRC}/win32/Makefile \
- ${WRKSRC}/Makefile
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/conf/icecast.xml ${DOCSDIR}
-.endif
+WRKSRC= ${WRKDIR}/icecast-2.0-alpha-2
.include <bsd.port.mk>
diff --git a/audio/icecast2/distinfo b/audio/icecast2/distinfo
index 7eb2b953547b..c33185891ff5 100644
--- a/audio/icecast2/distinfo
+++ b/audio/icecast2/distinfo
@@ -1 +1 @@
-MD5 (icecast-devel-20021112.tar.bz2) = b2515e44fc1de1b8114792396f2aaf8b
+MD5 (icecast-2.0-alpha-2-20030811.tar.gz) = fc1dc4173a81daa741cef14cadbf6ce1
diff --git a/audio/icecast2/files/patch-conf::Makefile.in b/audio/icecast2/files/patch-conf::Makefile.in
new file mode 100644
index 000000000000..30a227006ab0
--- /dev/null
+++ b/audio/icecast2/files/patch-conf::Makefile.in
@@ -0,0 +1,11 @@
+--- conf/Makefile.in.orig Mon Aug 11 16:35:19 2003
++++ conf/Makefile.in Mon Aug 11 16:35:31 2003
+@@ -278,7 +278,7 @@
+ install-data-hook:
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+ test -f $(DESTDIR)$(sysconfdir)/icecast.xml || \
+- $(INSTALL_DATA) icecast.xml.dist $(DESTDIR)$(sysconfdir)/icecast.xml
++ $(INSTALL_DATA) icecast.xml.dist $(DESTDIR)$(sysconfdir)/icecast.xml.sample
+
+ icecast.xml.dist: $(srcdir)/icecast.xml.in
+ $(edit) $(srcdir)/icecast.xml.in > icecast.xml.dist
diff --git a/audio/icecast2/pkg-plist b/audio/icecast2/pkg-plist
index e9e270b92c4c..d97e43000931 100644
--- a/audio/icecast2/pkg-plist
+++ b/audio/icecast2/pkg-plist
@@ -1,3 +1,20 @@
bin/icecast
-%%PORTDOCS%%share/doc/icecast2/icecast.xml
-%%PORTDOCS%%@dirrm share/doc/icecast2
+etc/icecast.xml.sample
+share/doc/icecast/AUTHORS
+share/doc/icecast/COPYING
+share/doc/icecast/NEWS
+share/doc/icecast/README
+share/doc/icecast/TODO
+share/icecast/admin/listclients.xsl
+share/icecast/admin/listmounts.xsl
+share/icecast/admin/moveclients.xsl
+share/icecast/admin/response.xsl
+share/icecast/admin/stats.xsl
+share/icecast/doc/icecast.xml.dist
+share/icecast/web/status.xsl
+share/icecast/web/status2.xsl
+@dirrm share/icecast/web
+@dirrm share/icecast/doc
+@dirrm share/icecast/admin
+@dirrm share/icecast
+@dirrm share/doc/icecast