pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/blt DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48a4ee55491c
branches:  trunk
changeset: 554613:48a4ee55491c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 16 20:22:18 2009 +0000

description:
DESTDIR support

diffstat:

 x11/blt/Makefile         |   5 ++++-
 x11/blt/distinfo         |   5 +++--
 x11/blt/patches/patch-ab |  13 +++++++++++--
 x11/blt/patches/patch-af |  17 +++++++++++++++++
 4 files changed, 35 insertions(+), 5 deletions(-)

diffs (86 lines):

diff -r a74a40b2eb89 -r 48a4ee55491c x11/blt/Makefile
--- a/x11/blt/Makefile  Mon Feb 16 20:16:59 2009 +0000
+++ b/x11/blt/Makefile  Mon Feb 16 20:22:18 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/10/14 02:16:03 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2009/02/16 20:22:18 joerg Exp $
 #
 
 DISTNAME=      BLT2.4z
@@ -12,6 +12,7 @@
 COMMENT=       Extension to Tcl/Tk
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 WRKSRC=                        ${WRKDIR}/blt2.4z
 GNU_CONFIGURE=         YES
@@ -23,6 +24,8 @@
 
 CHECK_INTERPRETER_SKIP+=       lib/*/demos/*.tcl
 
+INSTALL_MAKE_FLAGS+=   INSTALL_ROOT=${DESTDIR}
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "NetBSD"
diff -r a74a40b2eb89 -r 48a4ee55491c x11/blt/distinfo
--- a/x11/blt/distinfo  Mon Feb 16 20:16:59 2009 +0000
+++ b/x11/blt/distinfo  Mon Feb 16 20:22:18 2009 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.10 2005/10/07 17:39:26 perry Exp $
+$NetBSD: distinfo,v 1.11 2009/02/16 20:22:18 joerg Exp $
 
 SHA1 (BLT2.4z.tar.gz) = 29f719aa762f1762dbf4a3b0e60dc5356118ba2f
 RMD160 (BLT2.4z.tar.gz) = d54d9fdb6c61391c191afab4701716d18a3d928b
 Size (BLT2.4z.tar.gz) = 2200973 bytes
 SHA1 (patch-aa) = 6a28cc2405adcc6037865f174bb48d81909c83d6
-SHA1 (patch-ab) = 37320a45666c5cb3a0da08cd7f74e9dcee5a66a0
+SHA1 (patch-ab) = da9479d5de1053c45753eef611eae2764909f0ec
 SHA1 (patch-ac) = 696f90010831522f46d67052abc0c6068197cfd9
 SHA1 (patch-ad) = be6bd157a084f5ad38ff3787f53e7aa4fcf80234
 SHA1 (patch-ae) = f2689eb585f19d05e9dfe6164f96d6fc9dbc77ad
+SHA1 (patch-af) = b82641d4aad426fbe9a6781fa828d8aa81f71253
diff -r a74a40b2eb89 -r 48a4ee55491c x11/blt/patches/patch-ab
--- a/x11/blt/patches/patch-ab  Mon Feb 16 20:16:59 2009 +0000
+++ b/x11/blt/patches/patch-ab  Mon Feb 16 20:22:18 2009 +0000
@@ -1,7 +1,16 @@
-$NetBSD: patch-ab,v 1.8 2004/03/06 06:26:21 minskim Exp $
+$NetBSD: patch-ab,v 1.9 2009/02/16 20:22:18 joerg Exp $
 
---- library/Makefile.in.orig   2002-07-14 18:33:24.000000000 -0500
+--- library/Makefile.in.orig   2002-07-15 01:33:24.000000000 +0200
 +++ library/Makefile.in
+@@ -58,7 +58,7 @@ install: mkdirs pkgIndex
+       for i in $(miscFiles) ; do \
+           $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \
+       done 
+-      $(INSTALL_DATA) pkgIndex.tcl $(scriptdir)
++      $(INSTALL_DATA) pkgIndex.tcl $(INSTALL_ROOT)$(scriptdir)
+ 
+ mkdirs:
+       @for i in $(instdirs) ; do \
 @@ -66,7 +66,7 @@ mkdirs:
              : ; \
            else \
diff -r a74a40b2eb89 -r 48a4ee55491c x11/blt/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/blt/patches/patch-af  Mon Feb 16 20:22:18 2009 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-af,v 1.1 2009/02/16 20:22:18 joerg Exp $
+
+--- Makefile.in.orig   2009-02-16 21:12:29.000000000 +0100
++++ Makefile.in
+@@ -47,9 +47,9 @@ install-all:
+       (cd library; $(MAKE) install)
+       (cd man; $(MAKE) install)
+       (cd demos; $(MAKE) install)
+-      $(INSTALL_DATA) $(srcdir)/README $(INSTALL_DIR)$(scriptdir)
+-      $(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_DIR)$(scriptdir)
+-      $(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_DIR)$(scriptdir)
++      $(INSTALL_DATA) $(srcdir)/README ${DESTDIR}$(INSTALL_DIR)$(scriptdir)
++      $(INSTALL_DATA) $(srcdir)/PROBLEMS ${DESTDIR}$(INSTALL_DIR)$(scriptdir)
++      $(INSTALL_DATA) $(srcdir)/NEWS ${DESTDIR}$(INSTALL_DIR)$(scriptdir)
+ 
+ mkdirs:
+       @for i in $(instdirs) ; do \



Home | Main Index | Thread Index | Old Index