pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/tcl-expat user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/a62376b4d914
branches: trunk
changeset: 395316:a62376b4d914
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 07 20:43:58 2009 +0000
description:
user-destdir support
diffstat:
textproc/tcl-expat/Makefile | 10 ++++++----
textproc/tcl-expat/distinfo | 4 ++--
textproc/tcl-expat/patches/patch-aa | 10 +++++-----
3 files changed, 13 insertions(+), 11 deletions(-)
diffs (69 lines):
diff -r 5292635667c2 -r a62376b4d914 textproc/tcl-expat/Makefile
--- a/textproc/tcl-expat/Makefile Tue Jul 07 20:43:38 2009 +0000
+++ b/textproc/tcl-expat/Makefile Tue Jul 07 20:43:58 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/05/17 04:29:00 minskim Exp $
+# $NetBSD: Makefile,v 1.11 2009/07/07 20:43:58 joerg Exp $
#
DISTNAME= TclExpat-1.1
@@ -11,6 +11,8 @@
HOMEPAGE= http://www.zveno.com/zm.cgi/in-tclxml/
COMMENT= XML parser implemented entirely in Tcl
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= yes
MAKE_ENV+= SHLIBTOOL=${SHLIBTOOL:Q}
@@ -18,10 +20,10 @@
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/tcl
+INSTALLATION_DIRS= share/doc/tcl/TclExpat
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcl
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcl/TclExpat
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tcl/TclExpat
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tcl/TclExpat
.include "../../lang/tcl/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
diff -r 5292635667c2 -r a62376b4d914 textproc/tcl-expat/distinfo
--- a/textproc/tcl-expat/distinfo Tue Jul 07 20:43:38 2009 +0000
+++ b/textproc/tcl-expat/distinfo Tue Jul 07 20:43:58 2009 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2006/05/17 04:29:00 minskim Exp $
+$NetBSD: distinfo,v 1.6 2009/07/07 20:43:58 joerg Exp $
SHA1 (TclExpat-1.1.tar.gz) = 232bb47305a471dc0f8bc52e684a04b7cf703b80
RMD160 (TclExpat-1.1.tar.gz) = 2d133137d51ffd0ca7ad638433836f97782b4e29
Size (TclExpat-1.1.tar.gz) = 268538 bytes
-SHA1 (patch-aa) = 2342c07d81dba19de70feed87b69d115aef9b563
+SHA1 (patch-aa) = 23ed5a40be8336344bff9f7730804a172b9380aa
SHA1 (patch-ab) = 9985adb007741c36182d093a18c210c0230ac566
diff -r 5292635667c2 -r a62376b4d914 textproc/tcl-expat/patches/patch-aa
--- a/textproc/tcl-expat/patches/patch-aa Tue Jul 07 20:43:38 2009 +0000
+++ b/textproc/tcl-expat/patches/patch-aa Tue Jul 07 20:43:58 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2006/05/17 04:29:00 minskim Exp $
+$NetBSD: patch-aa,v 1.5 2009/07/07 20:43:58 joerg Exp $
--- Makefile.orig 1998-08-25 07:25:20.000000000 +0000
+++ Makefile
@@ -59,10 +59,10 @@
- mkdir $$instdir/TclExpat-$(TCLEXPAT_VERSION) ; \
- cp $(LIB) pkgIndex.tcl $$instdir
-
-+ ${BSD_INSTALL_DATA_DIR} $$instdir/TclExpat-$(TCLEXPAT_VERSION) ; \
-+ ${SHLIBTOOL} --mode=install ${BSD_INSTALL_LIB} ${LIB:.so=.la} $$instdir/TclExpat-${TCLEXPAT_VERSION}; \
-+ ${SHLIBTOOL} --mode=finish $$instdir/TclExpat-${TCLEXPAT_VERSION}; \
-+ ${BSD_INSTALL_DATA} pkgIndex.tcl $$instdir/TclExpat-${TCLEXPAT_VERSION}
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$$instdir/TclExpat-$(TCLEXPAT_VERSION) ; \
++ ${SHLIBTOOL} --mode=install ${BSD_INSTALL_LIB} ${LIB:.so=.la} ${DESTDIR}$$instdir/TclExpat-${TCLEXPAT_VERSION}; \
++ ${SHLIBTOOL} --mode=finish ${DESTDIR}$$instdir/TclExpat-${TCLEXPAT_VERSION}; \
++ ${BSD_INSTALL_DATA} pkgIndex.tcl ${DESTDIR}$$instdir/TclExpat-${TCLEXPAT_VERSION}
clean:
- @cd expat; make clean
Home |
Main Index |
Thread Index |
Old Index