diff options
author | joerg <joerg> | 2009-07-07 20:43:58 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-07 20:43:58 +0000 |
commit | a61809f43e1493de61fa1ec01ef3e0e79adf7107 (patch) | |
tree | 0c5b607a33db4e0e4bde88004b073edfe3724781 /textproc | |
parent | cae3156f027144b6bc88c5e2851ebca78e2434e3 (diff) | |
download | pkgsrc-a61809f43e1493de61fa1ec01ef3e0e79adf7107.tar.gz |
user-destdir support
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/tcl-expat/Makefile | 10 | ||||
-rw-r--r-- | textproc/tcl-expat/distinfo | 4 | ||||
-rw-r--r-- | textproc/tcl-expat/patches/patch-aa | 10 |
3 files changed, 13 insertions, 11 deletions
diff --git a/textproc/tcl-expat/Makefile b/textproc/tcl-expat/Makefile index a958766a0f0..a2c3a84fe4d 100644 --- a/textproc/tcl-expat/Makefile +++ b/textproc/tcl-expat/Makefile @@ -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 @@ MAINTAINER= jwise@NetBSD.org 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 @@ MAKE_ENV+= SHLIBTOOL=${SHLIBTOOL:Q} 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 --git a/textproc/tcl-expat/distinfo b/textproc/tcl-expat/distinfo index 9f25a0581b9..e5a0d0eb60e 100644 --- a/textproc/tcl-expat/distinfo +++ b/textproc/tcl-expat/distinfo @@ -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 --git a/textproc/tcl-expat/patches/patch-aa b/textproc/tcl-expat/patches/patch-aa index 8a9ddd178d7..59170f5d676 100644 --- a/textproc/tcl-expat/patches/patch-aa +++ b/textproc/tcl-expat/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.4 2006/05/17 04:29:00 minskim Exp $ - 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 |