pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c48dbf6d4c78
branches:  trunk
changeset: 395132:c48dbf6d4c78
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 15:05:58 2009 +0000

description:
user-destdir support

diffstat:

 audio/id3ed/Makefile |   5 ++++-
 audio/juke/Makefile  |  12 +++++++-----
 2 files changed, 11 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r 6f4ebe185d13 -r c48dbf6d4c78 audio/id3ed/Makefile
--- a/audio/id3ed/Makefile      Tue Jul 07 15:01:12 2009 +0000
+++ b/audio/id3ed/Makefile      Tue Jul 07 15:05:58 2009 +0000
@@ -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 @@
 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 -r 6f4ebe185d13 -r c48dbf6d4c78 audio/juke/Makefile
--- a/audio/juke/Makefile       Tue Jul 07 15:01:12 2009 +0000
+++ b/audio/juke/Makefile       Tue Jul 07 15:05:58 2009 +0000
@@ -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 @@
 #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_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"



Home | Main Index | Thread Index | Old Index