diff options
author | grant <grant@pkgsrc.org> | 2003-04-10 01:28:03 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-04-10 01:28:03 +0000 |
commit | afdebcf9a40e045d6fa993260a803c2cb44c4693 (patch) | |
tree | c67db081e20351feb52d2ca5fbde4b2c17aa2887 /textproc/py-dtml | |
parent | 7cbde19ad7ca49e9571c24ddc71983707c8bc89a (diff) | |
download | pkgsrc-afdebcf9a40e045d6fa993260a803c2cb44c4693.tar.gz |
make ${PAX} usage consistent:
- group 'zrw' and 'p' args, -s last
- use the && operator consistently
- strip unneeded parens
- some whitespace cleanup
Diffstat (limited to 'textproc/py-dtml')
-rw-r--r-- | textproc/py-dtml/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/textproc/py-dtml/Makefile b/textproc/py-dtml/Makefile index b409b803b1d..ebd58e1d388 100644 --- a/textproc/py-dtml/Makefile +++ b/textproc/py-dtml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2003/03/29 12:42:40 jmmv Exp $ +# $NetBSD: Makefile,v 1.11 2003/04/10 01:28:26 grant Exp $ # DISTNAME= Zope-2.2.2-src @@ -20,26 +20,25 @@ EXTRACT_ELEMENTS= ${DISTNAME}/lib/python/DocumentTemplate \ ${DISTNAME}/lib/python/ts_regex.py do-configure: - ( cd ${WRKSRC} ;\ - ${CP} ${PY_CONFIGDIR}/Makefile.pre.in . ;\ + (cd ${WRKSRC} && \ + ${CP} ${PY_CONFIGDIR}/Makefile.pre.in . &&\ ${MAKE} -f Makefile.pre.in boot) post-build: - (cd ${WRKSRC}; make clean; ${RM} Makefile* sedscript release.* *.c) - (cd ${WRKSRC}/..; ${PY_PROG} ${PY_LIBDIR}/compileall.py .) - (cd ${WRKSRC}/..; ${PY_PROG} -O ${PY_LIBDIR}/compileall.py .) + cd ${WRKSRC} && make clean && ${RM} Makefile* sedscript release.* *.c + cd ${WRKSRC}/.. && ${PY_PROG} ${PY_LIBDIR}/compileall.py . + cd ${WRKSRC}/.. && ${PY_PROG} -O ${PY_LIBDIR}/compileall.py . do-install: ${INSTALL_SCRIPT_DIR} ${PY_SITEPKG} ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC} - (cd ${WRKSRC}/..; ${PAX} -r -w -v -p p . ${PY_SITEPKG}) - (cd ${PREFIX}; ${FIND} ${PY_SITEPATH}/DocumentTemplate \ + cd ${WRKSRC}/.. && ${PAX} -rw -pp . ${PY_SITEPKG} + cd ${PREFIX} && ${FIND} ${PY_SITEPATH}/DocumentTemplate \ ${PY_SITEPATH}/StructuredText \ -type f -print >>${PLIST_SRC}) - (cd ${PREFIX}; ${FIND} -d ${PY_SITEPATH}/DocumentTemplate \ + cd ${PREFIX} && ${FIND} -d ${PY_SITEPATH}/DocumentTemplate \ ${PY_SITEPATH}/StructuredText \ - -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}) + -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC} .include "../../lang/python20/Makefile.inc" .include "../../mk/bsd.pkg.mk" - |