pkgsrc/www/zope29/Makefile
taca 3093a22608 Update zope29 package to 2.9.10 (Zope 2.9.10).
Zope 2.9.10 (2008/10/24)
Bugs fixed

    * Ensure that response header values cannot embed CRLF pairs,
      which violate the HTTP spec (RFC 2616).
    * Launchpad #282677: fixed implementation of guarded_map and
      provided tests and implementation for guarded_zip
      (RestrictedPython).
    * AccessControl.ZopeGuards.guarded_import mapped some Unauthorized
      exceptions onto ImportErrors: don't do that! Also, removed
      mutable defaults from argument list, improved tests.
    * LP #281156: AccessControl.SecurityInfo.secureModule dropped
      ModuleSecurity for failed imports, obscuring later attempts to
      import the same broken module.
    * LP #142667: Updated to ZODB-3.6.4 to fix problem with product
      auto-refresh.
    * Launchpad #267545: DateTime(DateTime()) now preserves the
      correct hour
    * Launchpad #245649: the Products package is now a proper
      "namespace package" under the rules specified by setuptools.
    * Launchpad #239636: Ensure that HEAD requests lock an empty body
      for NotFound errors.
    * Launchpad #234209: De-tabify ZPublisher/HTTPRequest.py
    * integrated Hotfix-2008-08-12
2008-10-25 16:18:17 +00:00

70 lines
2.3 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2008/10/25 16:18:17 taca Exp $
# FreeBSD Id: ports/www/zope29/Makefile,v 1.86 2006/08/03 15:53:04 garga Exp
DISTNAME= Zope-${ZOPE29_VERSION}-final
PKGNAME= ${ZOPE_PKG_PREFIX}-${ZOPE29_VERSION}
CATEGORIES= www python
MASTER_SITES= http://www.zope.org/Products/Zope/${ZOPE29_VERSION}/
EXTRACT_SUFX= .tgz
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.zope.org/
COMMENT= Zope ${ZOPE29_VERSION}, the Z Object Publishing Environment
DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
USE_TOOLS+= pax
PYTHON_VERSIONS_ACCEPTED= 24
ZOPE_VERSION= 29
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${ZOPE_DIR} --with-python=${PYTHONBIN}
BUILD_TARGET= build version_txt
MAKE_FILE= makefile
INSTALLATION_DIRS= ${ZOPE_DOC_DIR}/zeo ${ZOPE_DOC_DIR}/zope
OWN_DIRS+= ${ZOPE_PRODUCTS_DIR}
RCD_SCRIPTS= zope${ZOPE_VERSION} zeo${ZOPE_VERSION}
RCD_SCRIPT_SRC.zope${ZOPE_VERSION}= ../zope/files/zope.sh
RCD_SCRIPT_SRC.zeo${ZOPE_VERSION}= ../zope/files/zeo.sh
SUBST_CLASSES+= param
SUBST_STAGE.param= pre-configure
SUBST_FILES.param+= skel/etc/zope.conf.in utilities/mkzopeinstance.py
SUBST_SED.param+= -e "s|@ZOPE_PRODUCTS_DIR@|${ZOPE_PRODUCTS_DIR}|g"
SUBST_SED.param+= -e "s|@ZOPE_USER@|${ZOPE_USER}|g"
SUBST_SED.param+= -e "s|@ZOPE_GROUP@|${ZOPE_GROUP}|g"
SUBST_MESSAGE.param= Fixing some parameters in files.
REPLACE_PYTHON+= test.py lib/python/Zope2/Startup/zopectl.py \
lib/python/zdaemon/zdctl.py lib/python/zdaemon/zdrun.py
REPLACE_PYTHON_DIRS+= ${WRKSRC}/lib/python/ZConfig/scripts ${WRKSRC}/utilities
post-extract:
cd ${WRKSRC} && ${FIND} doc lib skel/import -type f -print | \
${XARGS} ${CHMOD} -x
pre-patch:
${CP} ../zope/files/sitecustomize.py ${WRKSRC}/lib/python
${RM} -f ${WRKSRC}/skel/bin/runzope.bat.in
post-build:
cd ${WRKSRC}; ${PY_COMPILE_ALL} .
pre-install:
${FIND} ${WRKSRC} -name '*.orig' -print0 | ${XARGS} -0 -- ${RM}
post-install:
cd ${WRKSRC}/doc/ZEO; pax -rw *.txt ${ZOPE_DOC_DIR}/zeo
cd ${WRKSRC}/doc; pax -rw *.txt ${ZOPE_DOC_DIR}/zope
${FIND} ${ZOPE_DIR} ${ZOPE_DOC_DIR} -type f -print0 \
| ${XARGS} -0 -- ${CHMOD} a-w+r
${FIND} ${ZOPE_DIR} -type f -name '*.pyc' -print0 | \
${XARGS} -0 -- ${CHMOD} a-x
.include "../../www/zope/Makefile.common"
.include "../../www/zope/replace.mk"
.include "../../www/zope/zopeversion.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"