2004-02-16 10:51:47 +01:00
|
|
|
# $NetBSD: Makefile,v 1.3 2004/02/16 09:51:47 xtraeme Exp $
|
2004-01-09 18:18:33 +01:00
|
|
|
#
|
|
|
|
|
2004-02-16 10:51:47 +01:00
|
|
|
DISTNAME= darkice-0.14
|
2004-01-09 18:18:33 +01:00
|
|
|
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
|
|
|
|
|
2004-02-16 10:51:47 +01:00
|
|
|
USE_BUILDLINK3= yes
|
2004-01-09 18:18:33 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-01-22 08:14:59 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2004-01-09 18:18:33 +01:00
|
|
|
USE_PKGINSTALL= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-vorbis-prefix=${BUILDLINK_PREFIX.libvorbis}
|
|
|
|
CONFIGURE_ARGS+= --with-lame-prefix=${BUILDLINK_PREFIX.lame}
|
2004-02-16 10:51:47 +01:00
|
|
|
LIBS+= ${LIBOSSAUDIO}
|
2004-01-09 18:18:33 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2004-02-16 10:51:47 +01:00
|
|
|
.include "../../audio/lame/buildlink3.mk"
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
2004-01-09 18:18:33 +01:00
|
|
|
|
2004-02-16 10:51:47 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/ossaudio.buildlink3.mk"
|
2004-01-09 18:18:33 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|