pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/urt Eliminate the need for "find -d". Using p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efb546cdd809
branches:  trunk
changeset: 467252:efb546cdd809
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Wed Jan 28 00:32:14 2004 +0000

description:
Eliminate the need for "find -d". Using pax instead of gtar even saves some lines.

diffstat:

 graphics/urt/Makefile |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (25 lines):

diff -r a0ce09e762e1 -r efb546cdd809 graphics/urt/Makefile
--- a/graphics/urt/Makefile     Wed Jan 28 00:13:41 2004 +0000
+++ b/graphics/urt/Makefile     Wed Jan 28 00:32:14 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2004/01/27 00:53:11 heinz Exp $
+# $NetBSD: Makefile,v 1.33 2004/01/28 00:32:14 heinz Exp $
 
 DISTNAME=      urt
 PKGNAME=       urt-3.1b1
@@ -32,13 +32,9 @@
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/urt ${PREFIX}/share/examples/urt
        cd ${PREFIX}/share/doc/urt && (\
-           ${GTAR} xf ${DISTDIR}/urt-doc.tar; \
-           cd doc; \
-           ${FIND} -d . -print | cpio -dump ..; \
-           cd ..; \
-           ${RM} -rf doc)
+           ${PAX} -r -p m -s '/doc/./' -f ${DISTDIR}/urt-doc.tar; )
        cd ${PREFIX}/share/examples/urt && (\
-           ${GTAR} xf ${DISTDIR}/urt-img.tar; \
+           ${PAX} -r -p m -f ${DISTDIR}/urt-img.tar; \
            ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} . ; \
            ${FIND} . -type d -exec ${CHMOD} 755 '{}' \; ; \
            ${FIND} . -type f -exec ${CHMOD} 644 '{}' \;)



Home | Main Index | Thread Index | Old Index