summaryrefslogtreecommitdiff
path: root/audio/icecast2/Makefile
blob: 850afe2861f8b1e87386bd73e23fd08a9e13c87a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:   icecast
# Version required:	1.1.4
# Date created:		28 Jan 1999
# Whom:			Chip Marshall <chip@eboai.org>
#
# $Id: Makefile,v 1.4 1999/04/14 00:22:58 scrappy Exp $
#

DISTNAME=	icecast-1.1.4
CATEGORIES=	audio net
MASTER_SITES=	http://icecast.linuxpower.org/releases/	\
		ftp://ftp.eboai.org/pub/icecast/

MAINTAINER=	chip@eboai.org

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-crypt --with-libwrap

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/icecast ${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/shout/listen ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/shout/shout ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/liveice/liveice ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/misc/iceplay ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/icecast
	${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/icecast
	${MKDIR} ${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
.endif

.include <bsd.port.mk>