aboutsummaryrefslogtreecommitdiff
path: root/www/zope211
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-12-02 16:21:30 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-12-02 16:21:30 +0000
commit8e0ce6b3ae99ca7ef90a46f833be9b1ef02a299f (patch)
treec2e8aa36ab6c10c4a0a1959fcf5c5bd0f17fb9cd /www/zope211
parentc79807bc76761e53b9a423a14dfc3ca5c35a2423 (diff)
downloadports-8e0ce6b3ae99ca7ef90a46f833be9b1ef02a299f.tar.gz
ports-8e0ce6b3ae99ca7ef90a46f833be9b1ef02a299f.zip
Notes
Diffstat (limited to 'www/zope211')
-rw-r--r--www/zope211/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/zope211/Makefile b/www/zope211/Makefile
index 1c4a6cdc148d..77be1f829595 100644
--- a/www/zope211/Makefile
+++ b/www/zope211/Makefile
@@ -17,7 +17,7 @@ COMMENT= An object-based web application platform
BUILD_DEPENDS+= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_xmlplus/sax/expatreader.py:${PORTSDIR}/textproc/py-xml
-USE_PYTHON= yes
+USE_PYTHON= 2.3-
USE_RC_SUBR= yes
USE_REINPLACE= yes
DIST_SUBDIR= zope
@@ -63,7 +63,9 @@ ISBATCH= ""
.endif
post-patch:
- @${REINPLACE_CMD} -e 's,^\(ACCEPTABLE="\)\(.*"\)$$,\1 2.3.4 \2,g' \
+ @${REINPLACE_CMD} -e 's,^\(ACCEPTABLE="\).*"$$,\1${PYTHON_PORTVERSION}",g' \
+ -e 's,^\(TARGET="\).*"$$,\1${PYTHON_PORTVERSION}",g' \
+ -e 's,^\(EXENAMES="\).*"$$,\1${PYTHON_VERSION}",g' \
${WRKSRC}/configure
post-install: