Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 275112 | Differences between
and this patch

Collapse All | Expand All

(-)conf/Makefile.orig (-3 / +3 lines)
Lines 1-7 Link Here
1
# $Id: Makefile.conf,v 1.6 2007/07/29 11:20:20 amotin Exp $
1
# $Id: Makefile.conf,v 1.6 2007/07/29 11:20:20 amotin Exp $
2
2
3
PREFIX?=	/usr/local
3
PREFIX?=	/usr/local
4
BINDIR?=	/etc/mpd5
4
MPD_CONF_DIR?=	${PREFIX}/etc/mpd5
5
5
6
MPD_SAMPLES+=	mpd.conf.sample
6
MPD_SAMPLES+=	mpd.conf.sample
7
MPD_SAMPLES+=	mpd.links.sample
7
MPD_SAMPLES+=	mpd.links.sample
Lines 13-20 Link Here
13
all clean cleandir depend:
13
all clean cleandir depend:
14
14
15
afterinstall:
15
afterinstall:
16
	[ -d ${DESTDIR}${PREFIX}${BINDIR} ] || mkdir ${DESTDIR}${PREFIX}${BINDIR}
16
	[ -d ${DESTDIR}${MPD_CONF_DIR} ] || ${INSTALL} -d ${DESTDIR}${MPD_CONF_DIR}
17
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} ${MPD_SAMPLES} \
17
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} ${MPD_SAMPLES} \
18
		${DESTDIR}${PREFIX}${BINDIR}
18
		${DESTDIR}${MPD_CONF_DIR}
19
19
20
.include <bsd.prog.mk>
20
.include <bsd.prog.mk>
(-)doc/Makefile.orig (-2 / +3 lines)
Lines 19-30 Link Here
19
19
20
mpd4.8:          mpd4.8.in
20
mpd4.8:          mpd4.8.in
21
	sed -e "s,@PREFIX@,${PREFIX},g" < ${.ALLSRC} > ${.TARGET}
21
	sed -e "s,@PREFIX@,${PREFIX},g" < ${.ALLSRC} > ${.TARGET}
22
	gzip -c mpd5.8 > mpd5.8.gz
22
23
23
.if !defined(NOPORTDOCS)
24
.if !defined(NOPORTDOCS)
24
afterinstall:
25
afterinstall:
25
	[ -d ${DOCDIR} ] || mkdir ${DOCDIR}
26
	[ -d ${DESTDIR}${DOCDIR} ] || ${INSTALL} -d ${DESTDIR}${DOCDIR}
26
	${INSTALL} -c -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
27
	${INSTALL} -c -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
27
	    ${MPD_DOC_FILES} ${DOCDIR}
28
	    ${MPD_DOC_FILES} ${DESTDIR}${DOCDIR}
28
.endif
29
.endif
29
30
30
.include <bsd.prog.mk>
31
.include <bsd.prog.mk>

Return to bug 275112