pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/plone Add PRINT_PLIST_AWK for PLONE_BASE substitut...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/127d616b51af
branches:  trunk
changeset: 546324:127d616b51af
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Aug 27 15:38:11 2008 +0000

description:
Add PRINT_PLIST_AWK for PLONE_BASE substitution.

diffstat:

 www/plone/ploneversion.mk |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 6cf13fa3793e -r 127d616b51af www/plone/ploneversion.mk
--- a/www/plone/ploneversion.mk Wed Aug 27 15:35:57 2008 +0000
+++ b/www/plone/ploneversion.mk Wed Aug 27 15:38:11 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ploneversion.mk,v 1.7 2008/08/03 15:32:33 taca Exp $
+# $NetBSD: ploneversion.mk,v 1.8 2008/08/27 15:38:11 taca Exp $
 #
 
 .if !defined(_PLONEVERSION_MK)
@@ -146,4 +146,11 @@
 
 .include "../../www/zope/product.mk"
 
+#
+# PLONE_BASE needs to be replaced preceding to ZOPE_BASE
+#
+PRINT_PLIST_AWK+=      /^(@dirrm )?${PLONE_BASE:S|/|\\/|g}/ \
+               { gsub(/${PLONE_BASE:S|/|\\/|g}/, "$${PLONE_BASE}"); \
+               print; next; }
+
 .endif



Home | Main Index | Thread Index | Old Index