faf83448dc
-update to 0.13.1 changes: Numerous bugfixes
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2008/05/09 14:03:12 drochner Exp $
|
|
|
|
DISTNAME= mpd-0.13.1
|
|
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://musicpd.org/uploads/files/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
CONFLICTS= mpd-[0-9]*
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://musicpd.org/
|
|
COMMENT= Remote controllable audio player
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
.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} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/mpd.conf ${EGDIR}
|
|
|
|
.include "../../audio/libao/buildlink3.mk"
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|