summaryrefslogtreecommitdiff
path: root/audio/darkice/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-01-09 17:18:33 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-01-09 17:18:33 +0000
commit4afd66ae3ed63abc2fb02c332cd93d41468c7e31 (patch)
tree7e3b364cf063041653553c4d63a24886cf15d57f /audio/darkice/Makefile
parentf825213bd7db4c660ddbfebf684b81375f98716e (diff)
downloadpkgsrc-4afd66ae3ed63abc2fb02c332cd93d41468c7e31.tar.gz
Initial import of darkice-0.13.2 from pkgsrc-wip.
DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It takes audio input from a sound card, encodes it into mp3 and/or Ogg Vorbis, and sends the streams to one or more IceCast, ShoutCast and/or IceCast2 servers. DarkIce uses lame as a shared object as its mp3 encoder, and the Ogg Vorbis libs as its Ogg Vorbis encoder.
Diffstat (limited to 'audio/darkice/Makefile')
-rw-r--r--audio/darkice/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
new file mode 100644
index 00000000000..b93e9df2711
--- /dev/null
+++ b/audio/darkice/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/09 17:23:44 xtraeme Exp $
+#
+
+DISTNAME= darkice-0.13.2
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=darkice/}
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://darkice.sourceforge.net/
+COMMENT= IceCast, IceCast2 and ShoutCast live audio streamer
+
+USE_BUILDLINK2= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_PKGINSTALL= yes
+
+CONFIGURE_ARGS+= --with-vorbis-prefix=${BUILDLINK_PREFIX.libvorbis}
+CONFIGURE_ARGS+= --with-lame-prefix=${BUILDLINK_PREFIX.lame}
+
+EGDIR= ${PREFIX}/share/examples/darkice
+HTMLDIR= ${PREFIX}/share/doc/html/darkice
+
+CONF_FILES= ${EGDIR}/darkice.conf.default ${PKG_SYSCONFDIR}/darkice.conf
+
+do-install:
+ ${INSTALL_DATA_DIR} ${EGDIR} ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/darkice.cfg ${EGDIR}/darkice.conf.default
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/darkice ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/darkice.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/man/darkice.cfg.5 \
+ ${PREFIX}/man/man5/darkice.conf.5
+ for f in ${WRKSRC}/kdoc/*.html; do \
+ ${INSTALL_DATA} $$f ${HTMLDIR}; \
+ done
+
+.include "../../audio/lame/buildlink2.mk"
+.include "../../audio/libvorbis/buildlink2.mk"
+
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"