diff options
author | grant <grant@pkgsrc.org> | 2003-04-10 20:10:15 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-04-10 20:10:15 +0000 |
commit | dc40bcec018c5d437e546f24e817561e7d98942c (patch) | |
tree | e08aa7e58a3041d86a2d037d59d2af657fa4f276 /print/ja-ptex-share | |
parent | 24e7b0ec26752ee8f639aa20242724c4c68b1ba8 (diff) | |
download | pkgsrc-dc40bcec018c5d437e546f24e817561e7d98942c.tar.gz |
make usage of pax more consistent, use -O to bomb on broken archives
(suggested by lukem), group z, r and f flags.
some whitespace cleanup.
Diffstat (limited to 'print/ja-ptex-share')
-rw-r--r-- | print/ja-ptex-share/Makefile | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/print/ja-ptex-share/Makefile b/print/ja-ptex-share/Makefile index b5a75a0c4b4..15033b9e955 100644 --- a/print/ja-ptex-share/Makefile +++ b/print/ja-ptex-share/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/03/29 12:42:16 jmmv Exp $ +# $NetBSD: Makefile,v 1.3 2003/04/10 20:10:18 grant Exp $ DISTNAME= ptex-texmf-2.1 PKGNAME= ja-ptex-share-2.1 @@ -28,24 +28,20 @@ TEXMFLOCAL= ${PREFIX}/share/texmf.local do-install: ${INSTALL_DATA_DIR} ${TEXMFLOCAL} .if defined(EXTRACT_USING_PAX) - cd ${TEXMFLOCAL}; \ - ${DECOMPRESS_CMD} \ - ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} | ${PAX} -r - cd ${TEXMFLOCAL}/fonts; \ + cd ${TEXMFLOCAL} && \ + ${PAX} -O -zrf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} + cd ${TEXMFLOCAL}/fonts && \ for f in jis nmin-ngoth standard morisawa; do \ - ${DECOMPRESS_CMD} \ - ${DISTDIR}/${DIST_SUBDIR}/$$f${EXTRACT_SUFX} | ${PAX} -r; \ + ${PAX} -O -zrf ${DISTDIR}/${DIST_SUBDIR}/$$f${EXTRACT_SUFX}; \ ${MV} ${TEXMFLOCAL}/fonts/$$f/tfm ${TEXMFLOCAL}/fonts/tfm/$$f;\ ${MV} ${TEXMFLOCAL}/fonts/$$f/vf ${TEXMFLOCAL}/fonts/vf/$$f;\ done .else - cd ${TEXMFLOCAL}; \ - ${DECOMPRESS_CMD} \ - ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} | ${GTAR} -xpf - - cd ${TEXMFLOCAL}/fonts; \ + cd ${TEXMFLOCAL} && \ + ${GTAR} -zxpf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} + cd ${TEXMFLOCAL}/fonts && \ for f in jis nmin-ngoth standard morisawa; do \ - ${DECOMPRESS_CMD} \ - ${DISTDIR}/${DIST_SUBDIR}/$$f${EXTRACT_SUFX} | ${GTAR} -xpf -;\ + ${GTAR} -zxpf ${DISTDIR}/${DIST_SUBDIR}/$$f${EXTRACT_SUFX}; \ ${MV} ${TEXMFLOCAL}/fonts/$$f/tfm ${TEXMFLOCAL}/fonts/tfm/$$f;\ ${MV} ${TEXMFLOCAL}/fonts/$$f/vf ${TEXMFLOCAL}/fonts/vf/$$f;\ done |