pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Remove a temporary directory created at post-install, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51b6229a5544
branches:  trunk
changeset: 468038:51b6229a5544
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Feb 09 23:19:27 2004 +0000

description:
Remove a temporary directory created at post-install, so that a
non-root user can 'make clean'.  Approved by wiz@.

diffstat:

 lang/tcl/Makefile |  3 ++-
 x11/tk/Makefile   |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r da85d47791a6 -r 51b6229a5544 lang/tcl/Makefile
--- a/lang/tcl/Makefile Mon Feb 09 22:04:12 2004 +0000
+++ b/lang/tcl/Makefile Mon Feb 09 23:19:27 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2004/02/07 17:37:24 minskim Exp $
+# $NetBSD: Makefile,v 1.25 2004/02/09 23:19:27 minskim Exp $
 #
 
 DISTNAME=              tcl8.3.4
@@ -79,6 +79,7 @@
 
 post-install:
        cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX}
+       ${RM} -rf ${WRKDIR}/man
        cd ${PREFIX}/bin && ${LN} -s tclsh8.3 tclsh
        ${INSTALL_DATA_DIR} ${PREFIX}/include/tcl
        ${INSTALL_DATA_DIR} ${PREFIX}/include/tcl/unix
diff -r da85d47791a6 -r 51b6229a5544 x11/tk/Makefile
--- a/x11/tk/Makefile   Mon Feb 09 22:04:12 2004 +0000
+++ b/x11/tk/Makefile   Mon Feb 09 23:19:27 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2004/02/07 17:37:24 minskim Exp $
+# $NetBSD: Makefile,v 1.27 2004/02/09 23:19:27 minskim Exp $
 
 DISTNAME=      tk8.3.4
 PKGNAME=       tk-8.3.4
@@ -52,6 +52,7 @@
 
 post-install:
        cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX}
+       ${RM} -rf ${WRKDIR}/man
        ${RM} -f ${PREFIX}/bin/wish
        cd ${PREFIX}/bin && ${LN} -s wish8.3 wish
        ${INSTALL_DATA_DIR} ${PREFIX}/include/tk



Home | Main Index | Thread Index | Old Index