pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/zope Add PRINT_PLIST_AWK for ZOPE_BASE replacement.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6cf13fa3793e
branches:  trunk
changeset: 546323:6cf13fa3793e
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Aug 27 15:35:57 2008 +0000

description:
Add PRINT_PLIST_AWK for ZOPE_BASE replacement.

diffstat:

 www/zope/zopeversion.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ca11dc7badab -r 6cf13fa3793e www/zope/zopeversion.mk
--- a/www/zope/zopeversion.mk   Wed Aug 27 14:23:38 2008 +0000
+++ b/www/zope/zopeversion.mk   Wed Aug 27 15:35:57 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: zopeversion.mk,v 1.7 2008/07/25 08:21:48 taca Exp $
+# $NetBSD: zopeversion.mk,v 1.8 2008/08/27 15:35:57 taca Exp $
 #
 
 .if !defined(_ZOPEVERSION_MK)
@@ -192,6 +192,10 @@
                ZOPE_DOC_BASE=${ZOPE_DOC_BASE} \
                ZOPE_PRODUCTS_BASE=${ZOPE_PRODUCTS_BASE}
 
+PRINT_PLIST_AWK+=      /^(@dirrm )?${ZOPE_BASE:S|/|\\/|g}/ \
+               { gsub(/${ZOPE_BASE:S|/|\\/|g}/, "$${ZOPE_BASE}"); \
+               print; next; }
+
 #
 ZOPE_PY_COMPILE= ${PYTHONBIN} ${ZOPE_DIR}/bin/compilezpy.py
 PY_COMPILE_ALL= \



Home | Main Index | Thread Index | Old Index