aboutsummaryrefslogtreecommitdiff
path: root/www/plone
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2005-12-02 11:41:27 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2005-12-02 11:41:27 +0000
commit3ca525857c9836f7431b886d3c7ce09182e10fb0 (patch)
tree3a96121f569d5264fac18bac26f94565a0eaac63 /www/plone
parent38c6e1f01e540a037913d994cd250b7984c64c2f (diff)
downloadports-3ca525857c9836f7431b886d3c7ce09182e10fb0.tar.gz
ports-3ca525857c9836f7431b886d3c7ce09182e10fb0.zip
Notes
Diffstat (limited to 'www/plone')
-rw-r--r--www/plone/Makefile125
-rw-r--r--www/plone/distinfo5
2 files changed, 49 insertions, 81 deletions
diff --git a/www/plone/Makefile b/www/plone/Makefile
index f70e9fd69b70..0cde2a048b51 100644
--- a/www/plone/Makefile
+++ b/www/plone/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= plone
-PORTVERSION= 2.0.5
+PORTVERSION= 2.1.1
CATEGORIES= www zope
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= plone
@@ -16,66 +16,36 @@ DIST_SUBDIR= zope
MAINTAINER= filippo.natali@gmail.com
COMMENT= A user friendly implementation of the CMF written on top of ZOPE
-RUN_DEPENDS= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
-
USE_ZOPE= yes
USE_PYTHON= yes
-
-WRKSRC= ${WRKDIR}/Plone-${PORTVERSION}
-PLIST= ${WRKDIR}/pkg-plist
-MODULES= CMFPlone
-
-OPTIONS= FORMULATOR "Install Formulator port" off \
- BTREEFOLDER2 "Install BTreeFolder2 port" off \
- CMFQUICKINSTALLER "Install CMFQuickInstallerTool port" off \
- CMFACTIONICONS "Install CMFActionIcons port" off \
- CMFFORMCONTROLLER "Install CMFFormController port" off \
- GROUPUSERFOLDER "Install GroupUserFolder port" off \
- PLTRANSSERVICE "Install PlacelessTranslationService port" off
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_FORMULATOR)
-RUN_DEPENDS+= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/Formulator/__init__.py:${PORTSDIR}/www/zope-formulator
-.else
-MODULES+= Formulator
-.endif
-
-.if defined(WITH_BTREEFOLDER2)
-RUN_DEPENDS+= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/BTreeFolder2/__init__.py:${PORTSDIR}/www/zope-btreefolder2
-.else
-MODULES+= BTreeFolder2
-.endif
-
-.if defined(WITH_CMFQUICKINSTALLER)
-RUN_DEPENDS+= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFQuickInstallerTool/__init__.py:${PORTSDIR}/www/zope-cmfquickinstaller
-.else
-MODULES+= CMFQuickInstallerTool
-.endif
-
-.if defined(WITH_CMFACTIONICONS)
-RUN_DEPENDS+= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFActionIcons/__init__.py:${PORTSDIR}/www/zope-cmfactionicons
-.else
-MODULES+= CMFActionIcons
-.endif
-
-.if defined(WITH_CMFFORMCONTROLLER)
-RUN_DEPENDS+= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFFormController/__init__.py:${PORTSDIR}/www/zope-cmfformcontroller
-.else
-MODULES+= CMFFormController
-.endif
-
-.if defined(WITH_GROUPUSERFOLDER)
-RUN_DEPENDS+= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/GroupUserFolder/__init__.py:${PORTSDIR}/www/zope-groupuserfolder
-.else
-MODULES+= GroupUserFolder
-.endif
-
-.if defined(WITH_PLTRANSSERVICE)
-RUN_DEPENDS+= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/PlacelessTranslationService/__init__.py:${PORTSDIR}/www/zope-placelesstranslationservice
-.else
-MODULES+= PlacelessTranslationService
-.endif
+PLIST= ${WRKDIR}/pkg-plist
+
+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 \
+ BTreeFolder2 CMFActionIcons CMFCalendar CMFCore CMFDefault \
+ CMFDynamicViewFTI CMFFormController CMFPlone \
+ CMFQuickInstallerTool CMFSetup CMFTopic CMFUid DCWorkflow \
+ ExtendedPathIndex ExternalEditor GroupUserFolder \
+ MimetypesRegistry PlacelessTranslationService \
+ PloneErrorReporting PloneLanguageTool PloneTranslations \
+ PortalTransforms ResourceRegistries SecureMailHost generator \
+ kupu validation
pre-everything::
.if !defined(BATCH)
@@ -87,37 +57,34 @@ pre-everything::
.endif
do-build:
- -@for m in ${MODULES}; do \
- ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/$$m; \
- done
+.for m in ${_MODULES}
+ -${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/$m
+.endfor
pre-install:
@${RM} -f ${PLIST}
@${TOUCH} ${PLIST}
- @for m in ${MODULES}; do \
- if [ ! -f ${ZOPEBASEDIR}/Products/$${m}/__init__.py ]; then \
- cd ${WRKSRC}; \
- for i in `${FIND} $${m} -type f`; do \
- ${ECHO_CMD} %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
- done; \
- for i in `${FIND} -d $${m} -type d`; do \
- ${ECHO_CMD} @dirrm %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
- done; \
- fi;\
+ @for m in ${_MODULES}; do \
+ cd ${WRKSRC}; \
+ for i in `${FIND} $${m} -type f`; do \
+ ${ECHO_CMD} %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
+ done; \
+ for i in `${FIND} -d $${m} -type d`; do \
+ ${ECHO_CMD} @dirrm %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
+ done; \
done
do-install:
@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
- @cd ${WRKSRC}; \
- for m in ${MODULES}; do \
- if [ ! -f ${ZOPEBASEDIR}/Products/$${m}/__init__.py ]; then \
- ${CP} -R $${m} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}; \
- fi; \
- done
+.for m in ${_MODULES}
+ @${CP} -R ${WRKSRC}/$m ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
+ @${FIND} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/$m -type f -print0 \
+ | ${XARGS} -0 -- ${CHMOD} a-w
+.endfor
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/plone/distinfo b/www/plone/distinfo
index 780280e10279..4a122149f6e7 100644
--- a/www/plone/distinfo
+++ b/www/plone/distinfo
@@ -1,2 +1,3 @@
-MD5 (zope/Plone-2.0.5.tar.gz) = fe8ce932877c53bb22b1f88d2b4c9211
-SIZE (zope/Plone-2.0.5.tar.gz) = 4190167
+MD5 (zope/Plone-2.1.1.tar.gz) = c6f013fbb8822d13ca958e68346ad22d
+SHA256 (zope/Plone-2.1.1.tar.gz) = d411fd90016cc4e610e49e8b0a11cad0568e7e52310ceabf8cfe3168dfb06cbf
+SIZE (zope/Plone-2.1.1.tar.gz) = 7184060