pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Fix DESTDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/602c2abffd9e
branches:  trunk
changeset: 553768:602c2abffd9e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jan 29 17:30:55 2009 +0000

description:
Fix DESTDIR.

diffstat:

 emulators/libspectrum/Makefile |  6 +++---
 multimedia/mediainfo/Makefile  |  4 +++-
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r d8e2a0b312d9 -r 602c2abffd9e emulators/libspectrum/Makefile
--- a/emulators/libspectrum/Makefile    Thu Jan 29 17:22:52 2009 +0000
+++ b/emulators/libspectrum/Makefile    Thu Jan 29 17:30:55 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2009/01/15 11:48:44 adam Exp $
+# $NetBSD: Makefile,v 1.23 2009/01/29 17:30:55 joerg Exp $
 
 DISTNAME=      libspectrum-0.5.0.1
 CATEGORIES=    emulators
@@ -15,10 +15,10 @@
 GNU_CONFIGURE=         yes
 
 DOCDIR=                ${PREFIX}/share/doc/libspectrum
+INSTALLATION_DIRS      ${DOCDIR}
 
 post-install:
-       ${INSTALL_DATA_DIR} ${DOCDIR}
-       ${INSTALL_DATA} ${WRKSRC}/doc/libspectrum.txt ${DOCDIR}
+       ${INSTALL_DATA} ${WRKSRC}/doc/libspectrum.txt ${DESTDIR}${DOCDIR}
 
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
diff -r d8e2a0b312d9 -r 602c2abffd9e multimedia/mediainfo/Makefile
--- a/multimedia/mediainfo/Makefile     Thu Jan 29 17:22:52 2009 +0000
+++ b/multimedia/mediainfo/Makefile     Thu Jan 29 17:30:55 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/01/27 23:58:21 jmcneill Exp $
+# $NetBSD: Makefile,v 1.3 2009/01/29 17:34:14 joerg Exp $
 #
 
 DISTNAME=      MediaInfo_CLI_0.7.9_GNU_FromSource
@@ -16,6 +16,8 @@
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 
+INSTALLATION_DIRS=     bin
+
 do-build:
        cd ${WRKSRC} && ./CLI_Compile.sh
 



Home | Main Index | Thread Index | Old Index