Lines 1-62
Link Here
|
1 |
# New ports collection makefile for: icecast |
1 |
# New ports collection makefile for: icecast |
2 |
# Date created: 28 Jan 1999 |
2 |
# Date created: 25 May 2000 |
3 |
# Whom: Chip Marshall <chip@eboai.org> |
3 |
# Whom: zach@pabst.bendnet.com |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/audio/icecast/Makefile,v 1.10 2000/04/08 21:23:41 mharo Exp $ |
5 |
# $FreeBSD$ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= icecast |
8 |
PORTNAME= icecast |
9 |
PORTVERSION= 1.3.0 |
9 |
PORTVERSION= 1.3.5 |
10 |
CATEGORIES= audio net |
10 |
CATEGORIES= audio net |
11 |
MASTER_SITES= http://www.icecast.org/releases/ \ |
11 |
MASTER_SITES= http://www.icecast.org/releases/ |
12 |
ftp://ftp.eboai.org/pub/icecast/ |
|
|
13 |
|
12 |
|
14 |
MAINTAINER= chip@eboai.org |
13 |
MAINTAINER= chip@eboai.org |
15 |
|
14 |
|
16 |
WRKSRC= ${WRKDIR}/icecast-1.3 |
15 |
HAS_CONFIGURE= yes |
17 |
|
16 |
CONFIGURE_ARGS=--with-libwrap |
18 |
GNU_CONFIGURE= yes |
|
|
19 |
CONFIGURE_ARGS= --with-libwrap |
20 |
|
21 |
ALL_TARGET= all mkpasswd |
22 |
|
23 |
post-extract: |
24 |
@( cd ${WRKSRC}; ${RM} -f shout/calibrate shout/stresstest ) |
25 |
|
26 |
post-configure: |
27 |
@${MAKE} WRKSRC=${WRKSRC}/liveice do-configure |
28 |
|
29 |
post-build: |
30 |
@${MAKE} WRKSRC=${WRKSRC}/liveice ALL_TARGET=all do-build |
31 |
|
17 |
|
32 |
do-install: |
18 |
do-install: |
33 |
${INSTALL_PROGRAM} ${WRKSRC}/icecast ${PREFIX}/sbin |
19 |
${INSTALL_PROGRAM} ${WRKSRC}/src/icecast ${PREFIX}/sbin |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${PREFIX}/bin |
20 |
${MKDIR} ${PREFIX}/etc/icecast |
35 |
${INSTALL_PROGRAM} ${WRKSRC}/shout/listen ${PREFIX}/bin |
21 |
${MKDIR} ${PREFIX}/etc/icecast/conf |
36 |
${INSTALL_PROGRAM} ${WRKSRC}/shout/shout ${PREFIX}/bin |
22 |
${INSTALL_MAN} ${WRKSRC}/conf/groups.aut.dist ${PREFIX}/etc/icecast/conf |
37 |
${INSTALL_PROGRAM} ${WRKSRC}/shout/calibrate ${PREFIX}/bin |
23 |
${INSTALL_MAN} ${WRKSRC}/conf/icecast.conf.dist ${PREFIX}/etc/icecast/conf |
38 |
${INSTALL_PROGRAM} ${WRKSRC}/shout/stresstest ${PREFIX}/bin |
24 |
${INSTALL_MAN} ${WRKSRC}/conf/mounts.aut.dist ${PREFIX}/etc/icecast/conf |
39 |
${INSTALL_PROGRAM} ${WRKSRC}/liveice/liveice ${PREFIX}/bin |
25 |
${INSTALL_MAN} ${WRKSRC}/conf/users.aut.dist ${PREFIX}/etc/icecast/conf |
40 |
${INSTALL_SCRIPT} ${WRKSRC}/shout/iceplay ${PREFIX}/bin |
26 |
${MKDIR} ${PREFIX}/etc/icecast/templates |
41 |
.if !defined(NOPORTDOCS) |
27 |
${INSTALL_MAN} ${WRKSRC}/templates/306.html ${PREFIX}/etc/icecast/templates |
42 |
${MKDIR} ${PREFIX}/share/doc/icecast |
28 |
${INSTALL_MAN} ${WRKSRC}/templates/400.html ${PREFIX}/etc/icecast/templates |
43 |
${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/icecast |
29 |
${INSTALL_MAN} ${WRKSRC}/templates/403.html ${PREFIX}/etc/icecast/templates |
44 |
${INSTALL_MAN} ${WRKSRC}/liveice/README.liveice ${PREFIX}/share/doc/icecast |
30 |
${INSTALL_MAN} ${WRKSRC}/templates/404.html ${PREFIX}/etc/icecast/templates |
45 |
${INSTALL_MAN} ${WRKSRC}/liveice/README.xingmp3enc ${PREFIX}/share/doc/icecast |
31 |
${INSTALL_MAN} ${WRKSRC}/templates/504.html ${PREFIX}/etc/icecast/templates |
46 |
${INSTALL_MAN} ${WRKSRC}/liveice/README_new_mixer.txt ${PREFIX}/share/doc/icecast |
32 |
${INSTALL_MAN} ${WRKSRC}/templates/bodytag.html ${PREFIX}/etc/icecast/templates |
47 |
${MKDIR} ${PREFIX}/share/examples/icecast |
33 |
${INSTALL_MAN} ${WRKSRC}/templates/info.html ${PREFIX}/etc/icecast/templates |
48 |
${INSTALL_MAN} ${WRKSRC}/icecast.conf ${PREFIX}/share/examples/icecast |
34 |
${INSTALL_MAN} ${WRKSRC}/templates/list_directory.html ${PREFIX}/etc/icecast/templates |
49 |
${INSTALL_MAN} ${WRKSRC}/liveice/liveice.cfg ${PREFIX}/share/examples/icecast |
35 |
${INSTALL_MAN} ${WRKSRC}/templates/mountlist.html ${PREFIX}/etc/icecast/templates |
50 |
${INSTALL_MAN} ${WRKSRC}/shout/shoutrc.example ${PREFIX}/share/examples/icecast |
36 |
${INSTALL_MAN} ${WRKSRC}/templates/statistics.html ${PREFIX}/etc/icecast/templates |
51 |
${INSTALL_MAN} ${WRKSRC}/shout/playlist.example ${PREFIX}/share/examples/icecast |
37 |
${INSTALL_MAN} ${WRKSRC}/templates/admin_describe.html ${PREFIX}/etc/icecast/templates |
52 |
${INSTALL_MAN} ${WRKSRC}/shout/radio.tcl.example ${PREFIX}/share/examples/icecast |
38 |
${INSTALL_MAN} ${WRKSRC}/templates/admin.html ${PREFIX}/etc/icecast/templates |
53 |
${MKDIR} ${PREFIX}/share/examples/icecast/icedir |
39 |
${INSTALL_MAN} ${WRKSRC}/templates/alias_add.html ${PREFIX}/etc/icecast/templates |
54 |
${INSTALL_MAN} ${WRKSRC}/icedir/* ${PREFIX}/share/examples/icecast/icedir |
40 |
${INSTALL_MAN} ${WRKSRC}/templates/manual.html ${PREFIX}/etc/icecast/templates |
55 |
${MKDIR} ${PREFIX}/share/examples/icecast/templates |
41 |
${INSTALL_MAN} ${WRKSRC}/templates/alias_del.html ${PREFIX}/etc/icecast/templates |
56 |
${INSTALL_MAN} ${WRKSRC}/templates/* ${PREFIX}/share/examples/icecast/templates |
42 |
${MKDIR} ${PREFIX}/share/doc/icecast/ |
57 |
${INSTALL_MAN} ${WRKSRC}/liveice/frontend.tcl ${PREFIX}/share/examples/icecast |
43 |
${INSTALL_MAN} ${WRKSRC}/doc/manual.html ${PREFIX}/share/doc/icecast/ |
58 |
${INSTALL_MAN} ${WRKSRC}/liveice/liveiceconfigure.tk ${PREFIX}/share/examples/icecast |
|
|
59 |
.endif |
60 |
@${CAT} ${PKGDIR}/MESSAGE |
44 |
@${CAT} ${PKGDIR}/MESSAGE |
61 |
|
45 |
|
62 |
.include <bsd.port.mk> |
46 |
.include <bsd.port.mk> |