summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/icecast/Makefile25
-rw-r--r--audio/icecast/files/md53
-rw-r--r--audio/icecast/files/patch-sum4
-rw-r--r--audio/icecast/patches/patch-aa20
-rw-r--r--audio/icecast/patches/patch-ab25
-rw-r--r--audio/icecast/pkg/COMMENT1
-rw-r--r--audio/icecast/pkg/DESCR4
-rw-r--r--audio/icecast/pkg/PLIST31
8 files changed, 113 insertions, 0 deletions
diff --git a/audio/icecast/Makefile b/audio/icecast/Makefile
new file mode 100644
index 00000000000..34feeb72187
--- /dev/null
+++ b/audio/icecast/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/21 06:02:28 hubertf Exp $
+#
+
+DISTNAME= icecast-1.3.7
+CATEGORIES= audio
+MASTER_SITES= http://www.icecast.org/releases/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.icecast.org/
+
+DEPENDS+= unproven-pthreads>=0.17:../../devel/unproven-pthreads
+DEPENDS+= readline-4.*:../../devel/readline
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+=--with-readline \
+ --with-libwrap \
+ --with-python \
+ --with-python-includes=${LOCALBASE}/include \
+ --with-python-libraries=${LOCALBASE}/lib
+R= ${LOCALBASE}/include/readline
+P= ${LOCALBASE}/pthreads
+CONFIGURE_ENV+= CC='$P/bin/pgcc -I$P/include -I$R -L$P/lib' \
+ CXX='$P/bin/pg++ -I$P/include -I$R -L$P/lib'
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/icecast/files/md5 b/audio/icecast/files/md5
new file mode 100644
index 00000000000..d093090fad9
--- /dev/null
+++ b/audio/icecast/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/11/21 06:02:28 hubertf Exp $
+
+MD5 (icecast-1.3.7.tar.gz) = 74f78ca33bea3cfd562530bc90d0d214
diff --git a/audio/icecast/files/patch-sum b/audio/icecast/files/patch-sum
new file mode 100644
index 00000000000..8009ba47607
--- /dev/null
+++ b/audio/icecast/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/11/21 06:02:28 hubertf Exp $
+
+MD5 (patch-aa) = 46e0476ff6855ecb81ffa46be85de239
+MD5 (patch-ab) = 1028f1737c6359e0d067fd496b939a6b
diff --git a/audio/icecast/patches/patch-aa b/audio/icecast/patches/patch-aa
new file mode 100644
index 00000000000..45553d348f0
--- /dev/null
+++ b/audio/icecast/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/11/21 06:02:28 hubertf Exp $
+
+--- src/definitions.h.orig Tue Nov 21 02:26:07 2000
++++ src/definitions.h
+@@ -31,6 +31,7 @@
+ # define __USE_BSD
+ #endif
+
++#ifndef __NetBSD__
+ #ifndef __EXTENSIONS__
+ # define __EXTENSIONS__
+ #endif
+@@ -62,6 +63,7 @@
+ # endif
+ #endif
+
++#endif /* __NetBSD__ */
+
+
+
diff --git a/audio/icecast/patches/patch-ab b/audio/icecast/patches/patch-ab
new file mode 100644
index 00000000000..e550dbf19b0
--- /dev/null
+++ b/audio/icecast/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/11/21 06:02:28 hubertf Exp $
+
+--- configure.orig Tue Nov 21 06:35:44 2000
++++ configure
+@@ -880,15 +880,15 @@
+ ICECAST_BINDIR=${prefix}/bin
+ ICECAST_SBINDIR=${prefix}/bin
+ ICECAST_ETCDIR=conf
+- ICECAST_ETCDIR_INST=${prefix}/conf
++ ICECAST_ETCDIR_INST=${prefix}/etc/icecast
+ ICECAST_SHAREDIR=${prefix}
+ ICECAST_LOGDIR=logs
+- ICECAST_LOGDIR_INST=${prefix}/logs
++ ICECAST_LOGDIR_INST=/var/log/icecast
+ ICECAST_TEMPLATEDIR=templates
+- ICECAST_TEMPLATEDIR_INST=${prefix}/templates
++ ICECAST_TEMPLATEDIR_INST=${prefix}/share/icecast/templates
+ ICECAST_STATICDIR=static
+- ICECAST_STATICDIR_INST=${prefix}/static
+- ICECAST_DOCDIR=${prefix}/doc
++ ICECAST_STATICDIR_INST=${prefix}/share/icecast/static
++ ICECAST_DOCDIR=${prefix}/share/doc/icecast
+ USE_FSSTD=no
+ fi
+
diff --git a/audio/icecast/pkg/COMMENT b/audio/icecast/pkg/COMMENT
new file mode 100644
index 00000000000..a5c9ca1d430
--- /dev/null
+++ b/audio/icecast/pkg/COMMENT
@@ -0,0 +1 @@
+Internet broadcasting system using Mpeg Layer III streaming
diff --git a/audio/icecast/pkg/DESCR b/audio/icecast/pkg/DESCR
new file mode 100644
index 00000000000..78edcf9aa81
--- /dev/null
+++ b/audio/icecast/pkg/DESCR
@@ -0,0 +1,4 @@
+Icecast is an Internet based broadcasting system based on the Mpeg
+Layer III streaming technology. It is, however, not limited to
+streaming mp3 files. It was originally inspired by Nullsoft's
+Shoutcast and also mp3serv by Scott Man ley.
diff --git a/audio/icecast/pkg/PLIST b/audio/icecast/pkg/PLIST
new file mode 100644
index 00000000000..4bc273c6e3a
--- /dev/null
+++ b/audio/icecast/pkg/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/21 06:02:28 hubertf Exp $
+bin/icecast
+etc/icecast/groups.aut.dist
+etc/icecast/icecast.conf.dist
+etc/icecast/mounts.aut.dist
+etc/icecast/users.aut.dist
+share/doc/icecast/manual.html
+share/icecast/templates/306.html
+share/icecast/templates/400.html
+share/icecast/templates/403.html
+share/icecast/templates/404.html
+share/icecast/templates/504.html
+share/icecast/templates/admin.html
+share/icecast/templates/admin_change.html
+share/icecast/templates/admin_describe.html
+share/icecast/templates/alias_add.html
+share/icecast/templates/alias_del.html
+share/icecast/templates/bodytag.html
+share/icecast/templates/footer.html
+share/icecast/templates/header.html
+share/icecast/templates/info.html
+share/icecast/templates/list_directory.html
+share/icecast/templates/manual.html
+share/icecast/templates/mountlist.html
+share/icecast/templates/statistics.html
+@dirrm share/icecast/templates
+@exec /bin/mkdir -p /usr/pkg/share/icecast/static
+@dirrm share/icecast/static
+@dirrm share/icecast
+@dirrm share/doc/icecast
+@dirrm etc/icecast