diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/plone/ploneversion.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/www/plone/ploneversion.mk b/www/plone/ploneversion.mk index fb3203defda..2d64f07b979 100644 --- a/www/plone/ploneversion.mk +++ b/www/plone/ploneversion.mk @@ -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 @@ PLIST_SUBST+= PLONE_VERSION=${PLONE_VERSION} \ .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 |