diff options
author | heinz <heinz@pkgsrc.org> | 2004-01-28 00:32:14 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2004-01-28 00:32:14 +0000 |
commit | 2373039be9b52e9657ac79c4132edb406b7e55ae (patch) | |
tree | d0efb4f16f89ccada83515dd4e241fe77f18f90f /graphics/urt | |
parent | 4061047d2dbe3b0aea0acaf3b06f323d76ed36f7 (diff) | |
download | pkgsrc-2373039be9b52e9657ac79c4132edb406b7e55ae.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/Makefile | 10 |
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 '{}' \;) |