Move post-patch target to post-extract changed as www/zope29.

And avoid to use -0 option of xargs(1).
This commit is contained in:
taca 2008-01-21 16:51:46 +00:00
parent bba2427b8e
commit 8a0349dad8

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2008/01/06 15:59:26 taca Exp $
# $NetBSD: Makefile,v 1.4 2008/01/21 16:51:46 taca Exp $
# FreeBSD Id: ports/www/zope29/Makefile,v 1.86 2006/08/03 15:53:04 garga Exp
DISTNAME= Zope-${ZOPE210_VERSION}-final
@ -42,14 +42,14 @@ REPLACE_PYTHON= test.py lib/python/Zope2/Startup/zopectl.py \
lib/python/zdaemon/zdctl.py lib/python/zdaemon/zdrun.py
REPLACE_PYTHON_DIRS+= ${WRKSRC}/lib/python/ZEO/scripts ${WRKSRC}/utilities
post-extract:
cd ${WRKSRC}; ${FIND} doc lib skel/import -type f -print | \
${XARGS} ${CHMOD} -x
pre-patch:
${CP} ../zope/files/sitecustomize.py ${WRKSRC}/lib/python
${RM} -f ${WRKSRC}/skel/bin/runzope.bat.in
post-patch:
${FIND} ${WRKSRC}/doc ${WRKSRC}/lib ${WRKSRC}/skel/import \
-type f -print0 | ${XARGS} -0 -- ${CHMOD} -x
post-build:
cd ${WRKSRC}; ${PY_COMPILE_ALL} .