pkgsrc/audio/musicpd/Makefile
asau ea742ed85a Update MPD (musicpd) to 0.14.2.
This release contains bug fixes for many decoder plugins.
This release also adds True Audio file support and WAV streaming
in the ffmpeg decoder plugin.

pkgsrc changes: support "jack" option (default "off") to utilize
JACK audio server.

Patch provided by Peter Bex in private mail.
2009-03-19 21:35:14 +00:00

49 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.36 2009/03/19 21:35:14 asau Exp $
DISTNAME= mpd-0.14.2
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
CATEGORIES= audio
#MASTER_SITES= http://musicpd.org/uploads/files/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
EXTRACT_SUFX= .tar.bz2
CONFLICTS= mpd-[0-9]*
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://musicpd.org/
COMMENT= Remote controllable audio player
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
.include "options.mk"
EGDIR= ${PREFIX}/share/examples/mpd
RCD_SCRIPTS= mpd
FILES_SUBST+= DEVOSSAUDIO=${DEVOSSAUDIO:Q}
LDFLAGS+= ${LIBOSSAUDIO}
SUBST_CLASSES+= config paths
SUBST_STAGE.config= pre-configure
SUBST_FILES.config= src/main.c
SUBST_SED.config= -e s,/etc/mpd.conf,${PKG_SYSCONFDIR}/mpd.conf,
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= mpd.conf
SUBST_SED.paths= -e 's,@DEVOSSAUDIO@,${DEVOSSAUDIO},'
post-extract:
${CP} ${FILESDIR}/mpd.conf ${WRKSRC}/mpd.conf
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/mpd.conf ${DESTDIR}${EGDIR}
.include "../../devel/glib2/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"