summaryrefslogtreecommitdiff
path: root/graphics/urt
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2004-01-28 00:32:14 +0000
committerheinz <heinz@pkgsrc.org>2004-01-28 00:32:14 +0000
commitb59ffaf6363a08cce77af1bfecee440c77af22b6 (patch)
treed0efb4f16f89ccada83515dd4e241fe77f18f90f /graphics/urt
parente20c8e4a63dbab2d1fbc08d4136dad8399226112 (diff)
downloadpkgsrc-b59ffaf6363a08cce77af1bfecee440c77af22b6.tar.gz
Eliminate the need for "find -d". Using pax instead of gtar even saves some lines.
Diffstat (limited to 'graphics/urt')
-rw-r--r--graphics/urt/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
index 41831d4d2ef..7fa3c8a32c3 100644
--- a/graphics/urt/Makefile
+++ b/graphics/urt/Makefile
@@ -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-extract:
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 '{}' \;)