diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-01 01:16:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-01 01:16:24 +0000 |
commit | 8904c739345687675d7447ac8a7a80a8641be206 (patch) | |
tree | fd082a1eaf5595aef0e0e21da318bc1942cf230b /audio/mt-daapd | |
parent | 31ee0a19516c5ad98cc28c98fc457aa37335b6eb (diff) | |
download | pkgsrc-8904c739345687675d7447ac8a7a80a8641be206.tar.gz |
DESTDIR ready
Diffstat (limited to 'audio/mt-daapd')
-rw-r--r-- | audio/mt-daapd/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/mt-daapd/Makefile b/audio/mt-daapd/Makefile index ab4530dc623..77f1ffba194 100644 --- a/audio/mt-daapd/Makefile +++ b/audio/mt-daapd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2009/07/17 18:00:13 adrianp Exp $ +# $NetBSD: Makefile,v 1.10 2010/02/01 01:17:59 joerg Exp $ DISTNAME= mt-daapd-0.2.4.2 PKGREVISION= 1 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.mt-daapd.org/ COMMENT= Server for DAAP (iTunes) +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c USE_TOOLS+= gmake @@ -50,10 +52,11 @@ SUBST_FILES.paths= src/main.c SUBST_SED.paths= -e "s,/etc,${PKG_SYSCONFDIR}," SUBST_SED.paths+= -e "s,/var,${VARBASE}," +INSTALLATION_DIRS+= ${EGDIR} + post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.conf ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.playlist ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.conf ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.playlist ${DESTDIR}${EGDIR} .include "../../audio/libid3tag/buildlink3.mk" .include "../../databases/gdbm/buildlink3.mk" |