pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/zope210 Move post-patch target to post-extract cha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf43eb06039a
branches:  trunk
changeset: 537951:cf43eb06039a
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Jan 21 16:51:46 2008 +0000

description:
Move post-patch target to post-extract changed as www/zope29.
And avoid to use -0 option of xargs(1).

diffstat:

 www/zope210/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 94caf15e255e -r cf43eb06039a www/zope210/Makefile
--- a/www/zope210/Makefile      Mon Jan 21 16:39:38 2008 +0000
+++ b/www/zope210/Makefile      Mon Jan 21 16:51:46 2008 +0000
@@ -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 @@
                        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} .
 



Home | Main Index | Thread Index | Old Index