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-bin | |
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-bin')
-rw-r--r-- | print/ja-ptex-bin/Makefile | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/print/ja-ptex-bin/Makefile b/print/ja-ptex-bin/Makefile index bf847e60090..62aab401660 100644 --- a/print/ja-ptex-bin/Makefile +++ b/print/ja-ptex-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2003/03/15 20:00:27 kei Exp $ +# $NetBSD: Makefile,v 1.2 2003/04/10 20:10:18 grant Exp $ DISTNAME= ptex-src-${PTEX_VERS} PKGNAME= ja-ptex-bin-${PTEX_VERS} @@ -56,29 +56,21 @@ pre-extract: post-extract: .if defined(EXTRACT_USING_PAX) - cd ${WRKDIR_}; \ - ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DF_TETEX_BIN} | ${PAX} -r - cd ${WRKSRC}/texk/web2c; \ - ${DECOMPRESS_CMD} \ - ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ - | ${PAX} -r; \ - cd ${WRKSRC}/texk; \ - ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DF_DVIPSK_PATCH} \ - | ${PAX} -r; \ - ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DF_MENDEXK} | ${PAX} -r + cd ${WRKDIR_} && \ + ${PAX} -O -zrf ${DISTDIR}/${DIST_SUBDIR}/${DF_TETEX_BIN} + cd ${WRKSRC}/texk/web2c && \ + ${PAX} -O -zrf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} + cd ${WRKSRC}/texk && \ + ${PAX} -O -zrf ${DISTDIR}/${DIST_SUBDIR}/${DF_DVIPSK_PATCH}; \ + ${PAX} -O -zrf ${DISTDIR}/${DIST_SUBDIR}/${DF_MENDEXK} .else - cd ${WRKDIR_}; \ - ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DF_TETEX_BIN} \ - | ${GTAR} -xpf - - cd ${WRKSRC}/texk/web2c; \ - ${DECOMPRESS_CMD} \ - ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ - | ${GTAR} -xpf -; \ - cd ${WRKSRC}/texk; \ - ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DF_DVIPSK_PATCH} \ - | ${GTAR} -xpf -; \ - ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DF_MENDEXK} \ - | ${GTAR} -xpf - + cd ${WRKDIR_} && \ + ${GTAR} -zxpf ${DISTDIR}/${DIST_SUBDIR}/${DF_TETEX_BIN} + cd ${WRKSRC}/texk/web2c && \ + ${GTAR} -zxpf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} + cd ${WRKSRC}/texk && \ + ${GTAR} -zxpf ${DISTDIR}/${DIST_SUBDIR}/${DF_DVIPSK_PATCH}; \ + ${GTAR} -zxpf ${DISTDIR}/${DIST_SUBDIR}/${DF_MENDEXK} .endif ${SED} -e "s|\$$TEXMF/ptex/plain/||" \ ${LOCALBASE}/share/texmf.local/ptex/plain/base/ptex.tex > \ |