pkgsrc/audio/mserv-devel/Makefile
wiz 0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00

38 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2015/06/12 10:48:23 wiz Exp $
#
DISTNAME= mserv-0.39a
PKGREVISION= 7
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mserv/}
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.mserv.org/
COMMENT= Local centralised music server environment
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-engine-icecast
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/mserv
USE_LIBTOOL= yes
REPLACE_PERL= support/mservedit webclient/main.cgi \
webclient/margin.cgi webclient/mserv.cgi
USE_TOOLS+= perl:run pkg-config
INSTALLATION_DIRS+= share/doc/mserv share/mserv/webclient
post-configure:
${MV} ${WRKSRC}/mserv/soundcard.h ${WRKSRC}/mserv/mservsoundcard.h
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/support/mservedit ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} \
${WRKSRC}/INSTALL \
${WRKSRC}/LICENSE \
${DESTDIR}${PREFIX}/share/doc/mserv
${INSTALL_DATA} \
${WRKSRC}/webclient/* \
${DESTDIR}${PREFIX}/share/mserv/webclient
.include "../../audio/libshout/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"