summaryrefslogtreecommitdiff
path: root/audio/mt-daapd
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-01 01:16:24 +0000
committerjoerg <joerg>2010-02-01 01:16:24 +0000
commit78ed0642c8e207d9d6e9a5e5521123ce18247c93 (patch)
treefd082a1eaf5595aef0e0e21da318bc1942cf230b /audio/mt-daapd
parent2f21ad531ea6caaa70d18302b4af9a75503a1bae (diff)
downloadpkgsrc-78ed0642c8e207d9d6e9a5e5521123ce18247c93.tar.gz
DESTDIR ready
Diffstat (limited to 'audio/mt-daapd')
-rw-r--r--audio/mt-daapd/Makefile11
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"