summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 15:05:58 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 15:05:58 +0000
commit42f52a52b2e123602ea9af224f4a98f3faf99d4d (patch)
tree107db10e6c4587443e1e41bbf694e40f8da0a70a /audio
parent4da45fb02ccb60edf58615ab5b434dea23dfa053 (diff)
downloadpkgsrc-42f52a52b2e123602ea9af224f4a98f3faf99d4d.tar.gz
user-destdir support
Diffstat (limited to 'audio')
-rw-r--r--audio/id3ed/Makefile5
-rw-r--r--audio/juke/Makefile12
2 files changed, 11 insertions, 6 deletions
diff --git a/audio/id3ed/Makefile b/audio/id3ed/Makefile
index bb2358e7d21..86539186ee1 100644
--- a/audio/id3ed/Makefile
+++ b/audio/id3ed/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2009/05/20 00:58:05 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2009/07/07 15:05:58 joerg Exp $
#
DISTNAME= id3ed-1.10.4
@@ -11,6 +11,9 @@ HOMEPAGE= http://users.dakotacom.net/~donut/programs/id3ed.html
COMMENT= Edit id3 description tags in mpeg3 files
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
diff --git a/audio/juke/Makefile b/audio/juke/Makefile
index 9e12cc56dc8..a4efb1579f9 100644
--- a/audio/juke/Makefile
+++ b/audio/juke/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/01/04 17:31:28 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2009/07/07 15:14:04 joerg Exp $
#
DISTNAME= juke-0.7
@@ -10,6 +10,8 @@ MAINTAINER= mob@bicekru.org
#HOMEPAGE= http://johan.nocrew.org/nav10/unix/juke/
COMMENT= Simple ncurses based jukebox
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
# halfdelay()
@@ -24,11 +26,11 @@ SUBST_FILES.paths= doc/juke.1 MANUAL src/conf.c
SUBST_STAGE.paths= post-patch
SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},'
+INSTALLATION_DIRS= ${EGDIR} share/doc/juke
+
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/juke
- ${INSTALL_DATA} ${WRKSRC}/juke.conf ${EGDIR}/juke.conf.default
- ${INSTALL_DATA} ${WRKSRC}/MANUAL ${PREFIX}/share/doc/juke/
+ ${INSTALL_DATA} ${WRKSRC}/juke.conf ${DESTDIR}${EGDIR}/juke.conf.default
+ ${INSTALL_DATA} ${WRKSRC}/MANUAL ${DESTDIR}${PREFIX}/share/doc/juke/
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"