freebsd-ports/audio/icecast/Makefile
Will Andrews 22ef18a510 Update to 1.3.5. I cleaned up the Makefile in addition to the PR, and
made pkg/MESSAGE respect PREFIX (which made this port finally pass the
mandatory ``portlint -ac'' test).

PR:		18834
Submitted by:	Zach Zurflu <zach@pabst.bendnet.com>
2000-06-01 17:11:34 +00:00

35 lines
1.1 KiB
Makefile

# New ports collection makefile for: icecast
# Date created: 28 Jan 1999
# Whom: Chip Marshall <chip@eboai.org>
#
# $FreeBSD$
#
PORTNAME= icecast
PORTVERSION= 1.3.5
CATEGORIES= audio net
MASTER_SITES= http://www.icecast.org/releases/
MAINTAINER= chip@eboai.org
HAS_CONFIGURE= yes
CONFIGURE_ARGS=--with-libwrap
do-install:
${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>