aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2003-09-03 19:31:16 +0800
committernbm <nbm@FreeBSD.org>2003-09-03 19:31:16 +0800
commitbc8831bb56384e2bae78eb50eb8f08e453315371 (patch)
tree06a09ca33895588cec7ed10f9c4746e263dcdd44 /www
parentfccb6ba31a474c910b95e36ce3ca6a057580b6aa (diff)
downloadfreebsd-ports-gnome-bc8831bb56384e2bae78eb50eb8f08e453315371.tar.gz
freebsd-ports-gnome-bc8831bb56384e2bae78eb50eb8f08e453315371.tar.zst
freebsd-ports-gnome-bc8831bb56384e2bae78eb50eb8f08e453315371.zip
Bring up to date by using USE_ZOPE (and thus using the correct python
version), and ignoring an error in the compilation process.
Diffstat (limited to 'www')
-rw-r--r--www/zope-cmfforum/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/www/zope-cmfforum/Makefile b/www/zope-cmfforum/Makefile
index 93ecd73784c1..044964b9cf0e 100644
--- a/www/zope-cmfforum/Makefile
+++ b/www/zope-cmfforum/Makefile
@@ -16,26 +16,16 @@ EXTRACT_SUFX= .tgz
MAINTAINER= nbm@FreeBSD.org
COMMENT= A forum for ZOPE CMF with file attachments
-RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope \
- ${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
+RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
USE_PYTHON= yes
+USE_ZOPE= yes
DIST_SUBDIR= zope
WRKSRC= ${WRKDIR}/CMFForum
-# You can change this in the environment if you like.
-SZOPEBASEDIR?= www/Zope
-
-# Don't change these
-ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
-ZOPEPRODUCTNAME=
-ZOPEPRODUCTDIR= lib/python/Products
-
-PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
-
do-build:
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+ -@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/