6e2c35c083
From Sergey Svishchev in private mail.
48 lines
1.6 KiB
Makefile
48 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2007/02/22 19:01:13 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= darkice-0.17.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=darkice/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://darkice.sourceforge.net/
|
|
COMMENT= IceCast, IceCast2 and ShoutCast live audio streamer
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake
|
|
|
|
CONFIGURE_ARGS+= --with-vorbis-prefix=${BUILDLINK_PREFIX.libvorbis}
|
|
CONFIGURE_ARGS+= --with-lame-prefix=${BUILDLINK_PREFIX.lame}
|
|
CONFIGURE_ARGS+= --with-twolame-prefix=${BUILDLINK_PREFIX.twolame}
|
|
CONFIGURE_ARGS+= --with-faac-prefix=${BUILDLINK_PREFIX.faac}
|
|
CONFIGURE_ARGS+= --without-jack
|
|
LIBS+= ${LIBOSSAUDIO:Q}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/darkice
|
|
HTMLDIR= ${PREFIX}/share/doc/darkice
|
|
|
|
CONF_FILES= ${EGDIR}/darkice.conf ${PKG_SYSCONFDIR}/darkice.conf
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/darkice.cfg ${EGDIR}/darkice.conf
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/darkice ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/darkice.1 ${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_MAN} ${WRKSRC}/man/darkice.cfg.5 \
|
|
${PREFIX}/${PKGMANDIR}/man5/darkice.conf.5
|
|
cd ${WRKSRC}/doc/doxygen/html && ${INSTALL_DATA} *.html ${HTMLDIR}
|
|
|
|
.include "../../audio/faac/buildlink3.mk"
|
|
.include "../../audio/lame/buildlink3.mk"
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
.include "../../audio/twolame/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|