summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/zope/zopeversion.mk23
1 files changed, 16 insertions, 7 deletions
diff --git a/www/zope/zopeversion.mk b/www/zope/zopeversion.mk
index 0972b8aa1c8..dc796a7ca1b 100644
--- a/www/zope/zopeversion.mk
+++ b/www/zope/zopeversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: zopeversion.mk,v 1.2 2008/01/03 12:31:13 taca Exp $
+# $NetBSD: zopeversion.mk,v 1.3 2008/01/06 15:49:42 taca Exp $
#
.if !defined(_ZOPEVERSION_MK)
@@ -33,7 +33,7 @@ _ZOPEVERSION_MK= # defined
#
# ZOPE_PKG
# Short name for each Zope major release; zope29, zope210 and
-# hopefully zope33.
+# hopefully zope3.
#
# ZOPE_USE_PYPKGPREFIX
# Bool variable which enable prefix Zope based package with
@@ -50,7 +50,7 @@ _ZOPEVERSION_MK= # defined
#
#
-ZOPE_VERSION_SUPPORTED= 29 210 # 33
+ZOPE_VERSION_SUPPORTED= 29 210 # 211 33
ZOPE_VERSION_DEFAULT?= 29
ZOPE_VERSION_ACCEPTED?= ${ZOPE_VERSION_SUPPORTED}
@@ -58,6 +58,7 @@ ZOPE_VERSION_ACCEPTED?= ${ZOPE_VERSION_SUPPORTED}
# current Zope version
ZOPE29_VERSION= 2.9.8
ZOPE210_VERSION= 2.10.5
+ZOPE211_VERSION= 2.11.0
ZOPE33_VERSION= 3.3.1
ZOPE_USER?= zope
@@ -68,11 +69,13 @@ ZOPE_USE_PYPKGPREFIX?= no
.if !empty(ZOPE_USE_PYPKGPREFIX:M[Yy][Ee][Ss])
BUILDLINK_API_DEPENDS.zope29?= ${PYPKGPREFIX}-zope29>=2.9.7
BUILDLINK_API_DEPENDS.zope210?= ${PYPKGPREFIX}-zope210>=2.10.3
-BUILDLINK_API_DEPENDS.zope33?= ${PYPKGPREFIX}-zope3>=3.3.1
+BUILDLINK_API_DEPENDS.zope211?= ${PYPKGPREFIX}-zope211>=2.11.0
+BUILDLINK_API_DEPENDS.zope33?= ${PYPKGPREFIX}-zope33>=3.3.1
.else
BUILDLINK_API_DEPENDS.zope29?= zope29>=2.9.7
BUILDLINK_API_DEPENDS.zope210?= zope210>=2.10.3
-BUILDLINK_API_DEPENDS.zope33?= zope3>=3.3.1
+BUILDLINK_API_DEPENDS.zope211?= zope210>=2.11.0
+BUILDLINK_API_DEPENDS.zope33?= zope33>=3.3.1
.endif
ZOPE_COMMON?= zope
@@ -153,8 +156,12 @@ BUILDLINK_PREFIX.zope29_DEFAULT= ${LOCALBASE}
.elif ${_ZOPE_VERSION} == "210"
ZOPE_DEPENDENCY= ${BUILDLINK_API_DEPENDS.zope210}:${ZOPE_PKGSRC_DIR}
EVAL_PREFIX+= BUILDLINK_PREFIX.zope210=${ZOPE_PKG}
-BUILDLINK_PREFIX.zope210_DEFAULT= ${LOCALBASE}
-.elif ${_ZOPE_VERSION} == "330"
+BUILDLINK_PREFIX.zope211_DEFAULT= ${LOCALBASE}
+.elif ${_ZOPE_VERSION} == "211"
+ZOPE_DEPENDENCY= ${BUILDLINK_API_DEPENDS.zope211}:${ZOPE_PKGSRC_DIR}
+EVAL_PREFIX+= BUILDLINK_PREFIX.zope211=${ZOPE_PKG}
+BUILDLINK_PREFIX.zope211_DEFAULT= ${LOCALBASE}
+.elif ${_ZOPE_VERSION} == "33"
ZOPE_DEPENDENCY= ${BUILDLINK_API_DEPENDS.zope33}:${ZOPE_PKGSRC_DIR}
EVAL_PREFIX+= BUILDLINK_PREFIX.zope33=${ZOPE_PKG}
BUILDLINK_PREFIX.zope33_DEFAULT= ${LOCALBASE}
@@ -165,6 +172,8 @@ PKG_SKIP_REASON+= "No valid Zope version"
BUILD_DEFS+= ZOPE_VERSION
BUILD_DEFS_EFFECTS+= ZOPE_PKG
+FILES_SUBST+= ZOPE_PKG=${ZOPE_PKG} ZOPE_VERSION=${ZOPE_VERSION}
+
MESSAGE_SUBST+= ZOPE_VERSION=${ZOPE_VERSION} \
ZOPE_COMMON=${ZOPE_COMMON} \
ZOPE_PKG=${ZOPE_PKG} \