1 # $NetBSD: Makefile,v 1.26 2011/11/13 14:47:26 dholland Exp $
6 MASTER_SITES
= ${HOMEPAGE}
9 MAINTAINER
= nathanw@NetBSD.org
10 HOMEPAGE
= http
://www.deleet.de
/projekte
/daap
/daapd
/
11 COMMENT
= Server for DAA protocol
(iTunes
)
20 EGDIR
= ${PREFIX}/share
/examples
/${PKGBASE}
22 CONF_FILES
= ${EGDIR}/daapd.conf
${PKG_SYSCONFDIR}/daapd.conf
26 MAKE_ENV
+= PKG_SYSCONFDIR
=${PKG_SYSCONFDIR
:Q
}
28 FILES_SUBST
+= PKG_SYSCONFDIR
=${PKG_SYSCONFDIR
:Q
}
31 SUBST_MESSAGE.paths
= Fixing hardcoded paths.
32 SUBST_STAGE.paths
= post-patch
33 SUBST_FILES.paths
= daapd
.8 daapd.
cc
34 SUBST_SED.paths
= -e
's,/etc/,${PKG_SYSCONFDIR}/,g'
36 INSTALLATION_DIRS
+= bin
${PKGMANDIR}/man8
${EGDIR}
39 for FILE in
`${FIND} ${WRKSRC}/daaplib -type f -print`; do \
40 ${TR} -d
\\r
<$${FILE} >$${FILE}.new
; \
41 ${MV} $${FILE}.new
$${FILE}; \
45 ${INSTALL_PROGRAM} ${WRKSRC}/daapd
${DESTDIR}${PREFIX}/bin
46 ${INSTALL_MAN} ${WRKSRC}/daapd
.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
47 ${INSTALL_DATA} ${WRKSRC}/daapd-example.conf
${DESTDIR}${EGDIR}/daapd.conf
49 .
include "../../audio/libid3tag/buildlink3.mk"
50 .
include "../../net/howl/buildlink3.mk"
51 .
include "../../mk/pthread.buildlink3.mk"
52 .
include "../../mk/bsd.pkg.mk"