summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-01 01:16:24 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-01 01:16:24 +0000
commit8904c739345687675d7447ac8a7a80a8641be206 (patch)
treefd082a1eaf5595aef0e0e21da318bc1942cf230b /audio
parent31ee0a19516c5ad98cc28c98fc457aa37335b6eb (diff)
downloadpkgsrc-8904c739345687675d7447ac8a7a80a8641be206.tar.gz
DESTDIR ready
Diffstat (limited to 'audio')
-rw-r--r--audio/mpg123-nas/Makefile4
-rw-r--r--audio/mt-daapd/Makefile11
2 files changed, 10 insertions, 5 deletions
diff --git a/audio/mpg123-nas/Makefile b/audio/mpg123-nas/Makefile
index a06596b6450..cb90d70b286 100644
--- a/audio/mpg123-nas/Makefile
+++ b/audio/mpg123-nas/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/01/26 21:39:00 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2010/02/01 01:16:24 joerg Exp $
PKGNAME= mpg123${TARGET_SUFFIX}-${MPG123_VERSION}
PKGREVISION= 10
@@ -6,6 +6,8 @@ COMMENT= Command-line player for mpeg layer 1, 2 and 3 audio with NAS output
MAINTAINER= pkgsrc-users@NetBSD.org
+PKG_DESTDIR_SUPPORT= user-destdir
+
TARGET_SUFFIX= -nas
CONFLICTS+= mpg123-[0-9]*
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"