1999-04-02 04:23:49 +00:00
|
|
|
# New ports collection makefile for: icecast
|
1999-10-05 04:59:12 +00:00
|
|
|
# Version required: 1.3.0
|
1999-04-02 04:23:49 +00:00
|
|
|
# Date created: 28 Jan 1999
|
|
|
|
# Whom: Chip Marshall <chip@eboai.org>
|
|
|
|
#
|
1999-08-25 04:36:31 +00:00
|
|
|
# $FreeBSD$
|
1999-04-02 04:23:49 +00:00
|
|
|
#
|
|
|
|
|
1999-10-05 04:59:12 +00:00
|
|
|
DISTNAME= icecast-1.3.0
|
1999-04-02 04:23:49 +00:00
|
|
|
CATEGORIES= audio net
|
1999-10-05 04:59:12 +00:00
|
|
|
MASTER_SITES= http://www.icecast.org/releases/ \
|
1999-04-02 04:23:49 +00:00
|
|
|
ftp://ftp.eboai.org/pub/icecast/
|
|
|
|
|
|
|
|
MAINTAINER= chip@eboai.org
|
|
|
|
|
1999-10-05 04:59:12 +00:00
|
|
|
WRKSRC= ${WRKDIR}/icecast-1.3
|
|
|
|
|
1999-04-02 04:23:49 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1999-10-05 04:59:12 +00:00
|
|
|
CONFIGURE_ARGS= --with-libwrap
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC} && ${SH} ./configure ${CONFIGURE_ARGS}
|
|
|
|
cd ${WRKSRC}/liveice && ${SH} ./configure ${CONFIGURE_ARGS}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${MAKE}
|
|
|
|
cd ${WRKSRC} && ${MAKE} mkpasswd
|
|
|
|
cd ${WRKSRC}/liveice && ${MAKE}
|
1999-04-02 04:23:49 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/icecast ${PREFIX}/sbin
|
1999-10-05 04:59:12 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${PREFIX}/bin
|
1999-04-07 17:58:43 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/shout/listen ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/shout/shout ${PREFIX}/bin
|
1999-10-05 04:59:12 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/shout/calibrate ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/shout/stresstest ${PREFIX}/bin
|
1999-04-19 04:08:54 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/liveice/liveice ${PREFIX}/bin
|
1999-10-05 04:59:12 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/shout/iceplay ${PREFIX}/bin
|
1999-04-02 04:23:49 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/icecast
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/icecast
|
1999-10-05 04:59:12 +00:00
|
|
|
${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
|
1999-04-02 04:23:49 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/examples/icecast
|
1999-10-05 04:59:12 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/icecast.conf ${PREFIX}/share/examples/icecast
|
1999-04-19 04:08:54 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/liveice/liveice.cfg ${PREFIX}/share/examples/icecast
|
1999-04-07 17:58:43 +00:00
|
|
|
${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
|
1999-04-02 04:23:49 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/examples/icecast/icedir
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/icedir/* ${PREFIX}/share/examples/icecast/icedir
|
1999-10-05 04:59:12 +00:00
|
|
|
${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
|
1999-04-02 04:23:49 +00:00
|
|
|
.endif
|
1999-10-05 04:59:12 +00:00
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
1999-04-02 04:23:49 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|