blob: 0cc994af498d8194ebbc91a3fd7ea6f2fb8ce9ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.22 2006/01/04 17:46:15 joerg Exp $
DISTNAME= mpd-0.11.5
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
PKGREVISION= 4
CATEGORIES= audio
MASTER_SITES= http://mercury.chem.pitt.edu/~shank/
CONFLICTS= mpd-[0-9]*
MAINTAINER= simonb@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/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|