2007-02-22 20:01:13 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2007/02/22 19:01:13 wiz Exp $
|
2004-01-09 18:18:33 +01:00
|
|
|
#
|
|
|
|
|
2006-05-21 12:27:01 +02:00
|
|
|
DISTNAME= darkice-0.17.1
|
2007-01-07 13:25:50 +01:00
|
|
|
PKGREVISION= 1
|
2004-01-09 18:18:33 +01:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=darkice/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-01-09 18:18:33 +01:00
|
|
|
HOMEPAGE= http://darkice.sourceforge.net/
|
|
|
|
COMMENT= IceCast, IceCast2 and ShoutCast live audio streamer
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2006-07-22 06:46:13 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2004-01-09 18:18:33 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-vorbis-prefix=${BUILDLINK_PREFIX.libvorbis}
|
|
|
|
CONFIGURE_ARGS+= --with-lame-prefix=${BUILDLINK_PREFIX.lame}
|
2006-05-21 12:27:01 +02:00
|
|
|
CONFIGURE_ARGS+= --with-twolame-prefix=${BUILDLINK_PREFIX.twolame}
|
|
|
|
CONFIGURE_ARGS+= --with-faac-prefix=${BUILDLINK_PREFIX.faac}
|
|
|
|
CONFIGURE_ARGS+= --without-jack
|
2006-04-12 23:12:48 +02:00
|
|
|
LIBS+= ${LIBOSSAUDIO:Q}
|
2004-01-09 18:18:33 +01:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/darkice
|
2006-04-12 23:12:48 +02:00
|
|
|
HTMLDIR= ${PREFIX}/share/doc/darkice
|
2004-01-09 18:18:33 +01:00
|
|
|
|
2006-05-21 12:27:01 +02:00
|
|
|
CONF_FILES= ${EGDIR}/darkice.conf ${PKG_SYSCONFDIR}/darkice.conf
|
2004-01-09 18:18:33 +01:00
|
|
|
|
2006-10-10 22:09:22 +02:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2004-01-09 18:18:33 +01:00
|
|
|
do-install:
|
2007-02-22 20:01:13 +01:00
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}
|
2006-05-21 12:27:01 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/darkice.cfg ${EGDIR}/darkice.conf
|
2004-01-09 18:18:33 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/darkice ${PREFIX}/bin
|
2006-10-10 22:09:22 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/darkice.1 ${PREFIX}/${PKGMANDIR}/man1
|
2004-01-09 18:18:33 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/darkice.cfg.5 \
|
2006-10-10 22:09:22 +02:00
|
|
|
${PREFIX}/${PKGMANDIR}/man5/darkice.conf.5
|
2006-04-12 23:12:48 +02:00
|
|
|
cd ${WRKSRC}/doc/doxygen/html && ${INSTALL_DATA} *.html ${HTMLDIR}
|
2004-01-09 18:18:33 +01:00
|
|
|
|
2006-05-21 12:27:01 +02:00
|
|
|
.include "../../audio/faac/buildlink3.mk"
|
2004-02-16 10:51:47 +01:00
|
|
|
.include "../../audio/lame/buildlink3.mk"
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
2006-05-21 12:27:01 +02:00
|
|
|
.include "../../audio/twolame/buildlink3.mk"
|
2004-01-09 18:18:33 +01:00
|
|
|
|
2004-02-16 10:51:47 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2004-01-09 18:18:33 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|