mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
d9119986d8
- Fix security issue - Bump PORTREVISION PR: ports/106074 Submitted by: HAYASHI Yasushi <yasi@yasi.to> Approved by: erwin (mentor), maintainer timeout Security: http://plone.org/products/plone-hotfix/releases/20061031
88 lines
2.7 KiB
Makefile
88 lines
2.7 KiB
Makefile
# New ports collection makefile for: plone
|
|
# Date created: 09 Jan 2003
|
|
# Whom: nbm
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= plone
|
|
PORTVERSION= 2.5.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= www zope
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/plone\/:src/g} \
|
|
http://plone.org/products/plone-hotfix/releases/20061031/:hotfix
|
|
DISTFILES= Plone-${PORTVERSION}-final.tar.gz:src ${HOTFIX}.tar.gz:hotfix
|
|
DIST_SUBDIR= zope
|
|
|
|
MAINTAINER= filippo.natali@gmail.com
|
|
COMMENT= A user friendly implementation of the CMF written on top of ZOPE
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging
|
|
|
|
WRKSRC= ${WRKDIR}/Plone-${PORTVERSION}
|
|
USE_ZOPE= yes
|
|
ZOPE_VERSION= 2.9
|
|
USE_PYTHON= 2.4
|
|
HOTFIX= PloneHotFix20061031
|
|
CONFLICTS= zope-archetypes-[0-9]* \
|
|
zope-btreefolder2-[0-9]* \
|
|
zope-cmf-[0-9]* \
|
|
zope-cmfactionicons-[0-9]* \
|
|
zope-cmfformcontroller-[0-9]* \
|
|
zope-cmfquickinstaller-[0-9]* \
|
|
zope-generator-[0-9]* \
|
|
zope-groupuserfolder-[0-9]* \
|
|
zope-kupu-[0-9]* \
|
|
zope-mimetypesregistry-[0-9]* \
|
|
zope-placelesstranslationservice-[0-9]* \
|
|
zope-plonelanguagetool-[0-9]* \
|
|
zope-portaltransforms-[0-9]* \
|
|
zope-validation-[0-9]*
|
|
|
|
PLIST_SUB= ZOPEPRODUCTDIR=${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}
|
|
|
|
_MODULES= ATContentTypes ATReferenceBrowserWidget Archetypes \
|
|
CMFActionIcons CMFCalendar CMFCore CMFDefault \
|
|
CMFDynamicViewFTI CMFFormController CMFPlacefulWorkflow \
|
|
CMFPlone CMFQuickInstallerTool CMFSetup CMFTopic CMFUid \
|
|
CacheFu DCWorkflow ExtendedPathIndex ExternalEditor Five \
|
|
GenericSetup GroupUserFolder Marshall MimetypesRegistry \
|
|
PasswordResetTool PlacelessTranslationService \
|
|
PloneErrorReporting PloneLanguageTool PlonePAS \
|
|
PloneTestCase PloneTranslations PluggableAuthService \
|
|
PluginRegistry PortalTransforms ResourceRegistries \
|
|
SecureMailHost kupu statusmessages validation
|
|
|
|
pre-everything::
|
|
.if !defined(BATCH)
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "If you are upgrading from an earlier version"
|
|
@${ECHO_MSG} "backup your site before proceeding."
|
|
@${ECHO_MSG} "If you haven't done so, please press CTRL-C now."
|
|
@${ECHO_MSG} ""
|
|
.endif
|
|
|
|
do-build:
|
|
.for m in ${_MODULES}
|
|
-${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/$m
|
|
.endfor
|
|
-${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKDIR}/${HOTFIX}
|
|
|
|
do-install:
|
|
@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
|
|
.for m in ${_MODULES}
|
|
@${CP} -R ${WRKSRC}/$m ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
|
|
@${FIND} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/$m -type f -print0 \
|
|
| ${XARGS} -0 -- ${CHMOD} a-w
|
|
.endfor
|
|
@${CP} -R ${WRKDIR}/${HOTFIX} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
|
|
@${FIND} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${HOTFIX} -type f -print0 \
|
|
| ${XARGS} -0 -- ${CHMOD} a-w
|
|
|
|
post-install:
|
|
.if !defined(BATCH)
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|