blob: 8922cb3c737c8061d3919ed5aa375b70ce0e1fae (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Ports collection Makefile for: shoutcast
# Date created: 09 Oct 2005
# Whom: Gabor Kovesdan
#
# $FreeBSD$
PORTNAME= shoutcast
PORTVERSION= 1.9.5
PORTREVISION= 1
CATEGORIES= audio net
MASTER_SITES= http://www.shoutcast.com/downloads/sc1-9-5/
MAINTAINER= gkovesdan@t-hosting.hu
COMMENT= Nullsoft's streaming audio server (binary port)
ONLY_FOR_ARCHS= i386
NO_BUILD= YES
NO_PACKAGE= Redistribution of the software isn't allowed
USE_RC_SUBR= shoutcast.sh
PLIST_FILES= sbin/sc_serv etc/shoutcast/sc_serv.conf
PLIST_DIRS= etc/shoutcast
PORTDOCS= README.TXT
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
DISTNAME= ${PORTNAME}-1-9-5-freebsd5-elf
.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
.elif ${OSVERSION} >= 400000
DISTNAME= ${PORTNAME}-1-9-5-freebsd4-elf
.else
BROKEN= "unsupported FreeBSD version"
.endif
post-patch:
@${CAT} ${PKGDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sc_serv ${PREFIX}/sbin
${MKDIR} ${PREFIX}/etc/shoutcast
${INSTALL_DATA} ${WRKSRC}/sc_serv.conf ${PREFIX}/etc/shoutcast
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|