summaryrefslogtreecommitdiffstats
path: root/audio/shoutcast
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-10-13 03:01:12 +0000
committeredwin <edwin@FreeBSD.org>2005-10-13 03:01:12 +0000
commit19f248979bb7552a1be4be6d202e4d0399a52228 (patch)
tree3bb6f01fcb405ed645e1c543df021694c1310eb9 /audio/shoutcast
parent24675bfb8004ff02a23d2772034536a39db3b420 (diff)
downloadFreeBSD-ports-19f248979bb7552a1be4be6d202e4d0399a52228.zip
FreeBSD-ports-19f248979bb7552a1be4be6d202e4d0399a52228.tar.gz
[new port] audio/shoutcast
Shoutcast is Nullsoft's streaming audio server. It isn't open source, this is a binary port for 1386 versions of FreeBSD 4.x/5.x/6.x. There is an open source alternatve audio/icecast, but shoutcast is very famous, and I think it should have a place in the FreeBSD ports collection. PR: ports/87165 Submitted by: Gabor Kovesdan <gabor.kovesdan@t-hosting.hu>
Diffstat (limited to 'audio/shoutcast')
-rw-r--r--audio/shoutcast/Makefile52
-rw-r--r--audio/shoutcast/distinfo4
-rw-r--r--audio/shoutcast/pkg-descr9
-rw-r--r--audio/shoutcast/pkg-message7
4 files changed, 72 insertions, 0 deletions
diff --git a/audio/shoutcast/Makefile b/audio/shoutcast/Makefile
new file mode 100644
index 0000000..0a0cd8c
--- /dev/null
+++ b/audio/shoutcast/Makefile
@@ -0,0 +1,52 @@
+# Ports collection Makefile for: shoutcast
+# Date created: 09 Oct 2005
+# Whom: Gabor Kovesdan
+#
+# $FreeBSD$
+
+PORTNAME= shoutcast
+PORTVERSION= 1.9.5
+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
+
+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>
diff --git a/audio/shoutcast/distinfo b/audio/shoutcast/distinfo
new file mode 100644
index 0000000..805224b
--- /dev/null
+++ b/audio/shoutcast/distinfo
@@ -0,0 +1,4 @@
+MD5 (shoutcast-1-9-5-freebsd5-elf.tar.gz) = 8471ee4c9cb02d6eb01d9871f3fe07a9
+SIZE (shoutcast-1-9-5-freebsd5-elf.tar.gz) = 60080
+MD5 (shoutcast-1-9-5-freebsd4-elf.tar.gz) = 2d3af62f2fda9ddc68116f15c3674df4
+SIZE (shoutcast-1-9-5-freebsd4-elf.tar.gz) = 55818
diff --git a/audio/shoutcast/pkg-descr b/audio/shoutcast/pkg-descr
new file mode 100644
index 0000000..62f05cd
--- /dev/null
+++ b/audio/shoutcast/pkg-descr
@@ -0,0 +1,9 @@
+Shoutcast is Nullsoft's Winamp-based streaming audio server. It isn't
+an open source software, but freely available for i386 versions of
+FreeBSD 4.x and 5.x. This port installs the appropriate binary for
+your system.
+
+WWW: http://www.shoutcast.com
+
+Gabor Kovesdan
+<gkovesdan@t-hosting.hu>
diff --git a/audio/shoutcast/pkg-message b/audio/shoutcast/pkg-message
new file mode 100644
index 0000000..9c228c7
--- /dev/null
+++ b/audio/shoutcast/pkg-message
@@ -0,0 +1,7 @@
+==============================================================
+Shoutcast is now installed, You can start it by typing:
+
+%%PREFIX%%/sbin/sc_serv [config_file]
+
+A sample sc_serv.conf file is installed under %%PREFIX%%/etc.
+==============================================================
OpenPOWER on IntegriCloud