aboutsummaryrefslogtreecommitdiffstats
path: root/www/zope28
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-05-29 00:54:56 +0800
committerperky <perky@FreeBSD.org>2004-05-29 00:54:56 +0800
commitd86415505cdf984977ae874b3816efb89e9c31e4 (patch)
tree28cdd01aa47caaa8a6ed8eea082427a1126f1faa /www/zope28
parent1ebdfb90705c9648712a4700926d2a7449b4cef9 (diff)
downloadfreebsd-ports-gnome-d86415505cdf984977ae874b3816efb89e9c31e4.tar.gz
freebsd-ports-gnome-d86415505cdf984977ae874b3816efb89e9c31e4.tar.zst
freebsd-ports-gnome-d86415505cdf984977ae874b3816efb89e9c31e4.zip
Allow Python 2.3.4 to use for Zope.
Spotted by: kris
Diffstat (limited to 'www/zope28')
-rw-r--r--www/zope28/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/zope28/Makefile b/www/zope28/Makefile
index 17fdff1d597f..2b6c9a615d60 100644
--- a/www/zope28/Makefile
+++ b/www/zope28/Makefile
@@ -20,6 +20,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_xmlplus/sax/ex
USE_PYTHON= yes
USE_RC_SUBR= yes
+USE_REINPLACE= yes
DIST_SUBDIR= zope
# Note: the notes that follow reflect the decisions of prior maintainers
@@ -61,6 +62,10 @@ ISBATCH= -u admin:test123
ISBATCH= ""
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's,^\(ACCEPTABLE="\)\(.*"\)$$,\1 2.3.4 \2,g' \
+ ${WRKSRC}/configure
+
post-install:
@${MV} ${ZOPEBASEDIR}/skel/etc/zope.conf.in ${ZOPEBASEDIR}/skel/etc/zope.conf.sample.in
@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} pkg-message