aboutsummaryrefslogtreecommitdiff
path: root/audio/icecast2/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-06-01 17:11:34 +0000
committerWill Andrews <will@FreeBSD.org>2000-06-01 17:11:34 +0000
commit22ef18a5109885c8cc837c482d398b1da433394f (patch)
tree0f4c585bc84d2ac3e576430f47db92e16030af7f /audio/icecast2/Makefile
parenta7dd0f880ea8199514cdeec74dd8d9408da1b2b4 (diff)
downloadports-22ef18a5109885c8cc837c482d398b1da433394f.tar.gz
ports-22ef18a5109885c8cc837c482d398b1da433394f.zip
Notes
Diffstat (limited to 'audio/icecast2/Makefile')
-rw-r--r--audio/icecast2/Makefile70
1 files changed, 21 insertions, 49 deletions
diff --git a/audio/icecast2/Makefile b/audio/icecast2/Makefile
index 0bbb8c5100b1..a9a3e360b496 100644
--- a/audio/icecast2/Makefile
+++ b/audio/icecast2/Makefile
@@ -1,62 +1,34 @@
-# New ports collection makefile for: icecast
-# Date created: 28 Jan 1999
-# Whom: Chip Marshall <chip@eboai.org>
+# New ports collection makefile for: icecast
+# Date created: 28 Jan 1999
+# Whom: Chip Marshall <chip@eboai.org>
#
# $FreeBSD$
#
PORTNAME= icecast
-PORTVERSION= 1.3.0
+PORTVERSION= 1.3.5
CATEGORIES= audio net
-MASTER_SITES= http://www.icecast.org/releases/ \
- ftp://ftp.eboai.org/pub/icecast/
+MASTER_SITES= http://www.icecast.org/releases/
MAINTAINER= chip@eboai.org
-WRKSRC= ${WRKDIR}/icecast-1.3
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-libwrap
-
-ALL_TARGET= all mkpasswd
-
-post-extract:
- @( cd ${WRKSRC}; ${RM} -f shout/calibrate shout/stresstest )
-
-post-configure:
- @${MAKE} WRKSRC=${WRKSRC}/liveice do-configure
-
-post-build:
- @${MAKE} WRKSRC=${WRKSRC}/liveice ALL_TARGET=all do-build
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS=--with-libwrap
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/icecast ${PREFIX}/sbin
- ${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/shout/listen ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/shout/shout ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/shout/calibrate ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/shout/stresstest ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/liveice/liveice ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/shout/iceplay ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/icecast
- ${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/icecast
- ${INSTALL_MAN} ${WRKSRC}/liveice/README.liveice ${PREFIX}/share/doc/icecast
- ${INSTALL_MAN} ${WRKSRC}/liveice/README.xingmp3enc ${PREFIX}/share/doc/icecast
- ${INSTALL_MAN} ${WRKSRC}/liveice/README_new_mixer.txt ${PREFIX}/share/doc/icecast
- ${MKDIR} ${PREFIX}/share/examples/icecast
- ${INSTALL_MAN} ${WRKSRC}/icecast.conf ${PREFIX}/share/examples/icecast
- ${INSTALL_MAN} ${WRKSRC}/liveice/liveice.cfg ${PREFIX}/share/examples/icecast
- ${INSTALL_MAN} ${WRKSRC}/shout/shoutrc.example ${PREFIX}/share/examples/icecast
- ${INSTALL_MAN} ${WRKSRC}/shout/playlist.example ${PREFIX}/share/examples/icecast
- ${INSTALL_MAN} ${WRKSRC}/shout/radio.tcl.example ${PREFIX}/share/examples/icecast
- ${MKDIR} ${PREFIX}/share/examples/icecast/icedir
- ${INSTALL_MAN} ${WRKSRC}/icedir/* ${PREFIX}/share/examples/icecast/icedir
- ${MKDIR} ${PREFIX}/share/examples/icecast/templates
- ${INSTALL_MAN} ${WRKSRC}/templates/* ${PREFIX}/share/examples/icecast/templates
- ${INSTALL_MAN} ${WRKSRC}/liveice/frontend.tcl ${PREFIX}/share/examples/icecast
- ${INSTALL_MAN} ${WRKSRC}/liveice/liveiceconfigure.tk ${PREFIX}/share/examples/icecast
-.endif
- @${CAT} ${PKGDIR}/MESSAGE
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/icecast ${PREFIX}/sbin
+ ${MKDIR} ${PREFIX}/etc/icecast/conf
+ ${MKDIR} ${PREFIX}/etc/icecast/templates
+.for CONF in groups.aut.dist icecast.conf.dist mounts.aut.dist users.aut.dist
+ ${INSTALL_DATA} ${WRKSRC}/conf/${CONF} ${PREFIX}/etc/icecast/conf
+.endfor
+.for TEMPL in 306.html 400.html 403.html 404.html 504.html bodytag.html info.html \
+ list_directory.html mountlist.html statistics.html admin_describe.html \
+ admin.html alias_add.html manual.html alias_del.html
+ ${INSTALL_DATA} ${WRKSRC}/templates/${TEMPL} ${PREFIX}/etc/icecast/templates
+.endfor
+ ${MKDIR} ${PREFIX}/share/doc/icecast/
+ ${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${PREFIX}/share/doc/icecast/
+ @${CAT} ${PKGDIR}/MESSAGE | ${SED} -e 's,%%PREFIX%%,${PREFIX},g'
.include <bsd.port.mk>