c49c0f1321
- faster tag scanning for vorbis - fix stuttering and stuck pause bugs for output - fix issues with tag scanning like forcing huge memory allocations - plug some memory leaks
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.40 2009/09/11 20:58:55 joerg Exp $
|
|
|
|
DISTNAME= mpd-0.15.3
|
|
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
|
|
USE_LANGUAGES= c c++
|
|
|
|
.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/cmdline.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},'
|
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/mpd.conf ${WRKSRC}/mpd.conf
|
|
|
|
post-install:
|
|
${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"
|