- Add support for Zope 2.10
PR: ports/106001 Submitted by: HAYASHI Yasushi <yasi@yasi.to>
This commit is contained in:
parent
86010984da
commit
40421a6b20
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178336
1 changed files with 9 additions and 5 deletions
|
@ -162,7 +162,7 @@ Python_Include_MAINTAINER= python@FreeBSD.org
|
||||||
_PYTHON_PORTBRANCH= 2.4
|
_PYTHON_PORTBRANCH= 2.4
|
||||||
_PYTHON_ALLBRANCHES= 2.4 2.5 2.3 2.2 2.1 # preferred first
|
_PYTHON_ALLBRANCHES= 2.4 2.5 2.3 2.2 2.1 # preferred first
|
||||||
_ZOPE_PORTBRANCH= 2.7
|
_ZOPE_PORTBRANCH= 2.7
|
||||||
_ZOPE_ALLBRANCHES= 2.7 2.8 2.9 3.2
|
_ZOPE_ALLBRANCHES= 2.7 2.8 2.9 2.10 3.2
|
||||||
|
|
||||||
|
|
||||||
# Determine version number of Zope to use
|
# Determine version number of Zope to use
|
||||||
|
@ -174,10 +174,10 @@ _ZOPE_VERSION:= ${_ZOPE_PORTBRANCH}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# Validate Zope version whether it meets USE_ZOPE version restriction.
|
# Validate Zope version whether it meets USE_ZOPE version restriction.
|
||||||
_ZOPE_VERSION_CHECK:= ${USE_ZOPE:C/^([1-9]\.[0-9])$/\1-\1/}
|
_ZOPE_VERSION_CHECK:= ${USE_ZOPE:C/^([1-9]\.[0-9]*)$/\1-\1/}
|
||||||
_ZOPE_VERSION_MINIMUM_TMP:= ${_ZOPE_VERSION_CHECK:C/([1-9]\.[0-9])[-+].*/\1/}
|
_ZOPE_VERSION_MINIMUM_TMP:= ${_ZOPE_VERSION_CHECK:C/([1-9]\.[0-9]*)[-+].*/\1/}
|
||||||
_ZOPE_VERSION_MINIMUM:= ${_ZOPE_VERSION_MINIMUM_TMP:M[1-9].[0-9]}
|
_ZOPE_VERSION_MINIMUM:= ${_ZOPE_VERSION_MINIMUM_TMP:M[1-9].[0-9]}
|
||||||
_ZOPE_VERSION_MAXIMUM_TMP:= ${_ZOPE_VERSION_CHECK:C/.*-([1-9]\.[0-9])/\1/}
|
_ZOPE_VERSION_MAXIMUM_TMP:= ${_ZOPE_VERSION_CHECK:C/.*-([1-9]\.[0-9]*)/\1/}
|
||||||
_ZOPE_VERSION_MAXIMUM:= ${_ZOPE_VERSION_MAXIMUM_TMP:M[1-9].[0-9]}
|
_ZOPE_VERSION_MAXIMUM:= ${_ZOPE_VERSION_MAXIMUM_TMP:M[1-9].[0-9]}
|
||||||
|
|
||||||
.if !empty(_ZOPE_VERSION_MINIMUM) && ( \
|
.if !empty(_ZOPE_VERSION_MINIMUM) && ( \
|
||||||
|
@ -390,6 +390,10 @@ PYDISTUTILS_INSTALLARGS?= -c -O1 --prefix=${PREFIX}
|
||||||
SZOPEBASEDIR?= www/Zope3
|
SZOPEBASEDIR?= www/Zope3
|
||||||
ZOPE_PORTSDIR= ${PORTSDIR}/www/zope3
|
ZOPE_PORTSDIR= ${PORTSDIR}/www/zope3
|
||||||
ZOPESKELDIR= ${ZOPEBASEDIR}/zopeskel
|
ZOPESKELDIR= ${ZOPEBASEDIR}/zopeskel
|
||||||
|
.elif ${ZOPE_VERSION} == "2.10"
|
||||||
|
SZOPEBASEDIR?= www/Zope210
|
||||||
|
ZOPE_PORTDIR= ${PORTSDIR}/www/zope210
|
||||||
|
ZOPESKELDIR= ${ZOPEBASEDIR}/skel
|
||||||
.elif ${ZOPE_VERSION} == "2.9"
|
.elif ${ZOPE_VERSION} == "2.9"
|
||||||
SZOPEBASEDIR?= www/Zope29
|
SZOPEBASEDIR?= www/Zope29
|
||||||
ZOPE_PORTSDIR= ${PORTSDIR}/www/zope29
|
ZOPE_PORTSDIR= ${PORTSDIR}/www/zope29
|
||||||
|
@ -405,7 +409,7 @@ ZOPESKELDIR= ${ZOPEBASEDIR}/skel
|
||||||
.else
|
.else
|
||||||
check-makevars::
|
check-makevars::
|
||||||
@${ECHO} "Makefile error: bad value for ZOPE_VERSION: ${ZOPE_VERSION}."
|
@${ECHO} "Makefile error: bad value for ZOPE_VERSION: ${ZOPE_VERSION}."
|
||||||
@${ECHO} "Legal values are: 2.7 (default), 2.8, 2.9, 3.2"
|
@${ECHO} "Legal values are: 2.7 (default), 2.8, 2.9, 2.10, 3.2"
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
ZOPEBASEDIR?= ${TARGETDIR}/${SZOPEBASEDIR}
|
ZOPEBASEDIR?= ${TARGETDIR}/${SZOPEBASEDIR}
|
||||||
|
|
Loading…
Reference in a new issue