diff options
author | pav <pav@FreeBSD.org> | 2004-02-28 21:57:46 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-28 21:57:46 +0800 |
commit | 93e949f8bf98209fcae87f612272798fcca3ef2b (patch) | |
tree | a050b703250823d28b95fce9a8be890d7efe5ab3 /www | |
parent | ba20932811de1c599f43e67ca27ea719a27e66f9 (diff) | |
download | freebsd-ports-graphics-93e949f8bf98209fcae87f612272798fcca3ef2b.tar.gz freebsd-ports-graphics-93e949f8bf98209fcae87f612272798fcca3ef2b.tar.zst freebsd-ports-graphics-93e949f8bf98209fcae87f612272798fcca3ef2b.zip |
CMFFormController is a product for Zope/CMF
CMFFormController replaces the portal_form form validation mechanism from
Plone. It should work just fine in plain CMF as well.
PR: ports/63377
Submitted by: Khairil Yusof <kaeru@inigo-tech.com>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/zope-cmfformcontroller/Makefile | 58 | ||||
-rw-r--r-- | www/zope-cmfformcontroller/distinfo | 2 | ||||
-rw-r--r-- | www/zope-cmfformcontroller/pkg-descr | 9 | ||||
-rw-r--r-- | www/zope-cmfformcontroller/pkg-message | 20 |
5 files changed, 90 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 16e70a3b483..f8e7a0169f0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -610,6 +610,7 @@ SUBDIR += zope-cmf SUBDIR += zope-cmf13 SUBDIR += zope-cmfactionicons + SUBDIR += zope-cmfformcontroller SUBDIR += zope-cmfforum SUBDIR += zope-cmfphoto SUBDIR += zope-cmfphotoalbum diff --git a/www/zope-cmfformcontroller/Makefile b/www/zope-cmfformcontroller/Makefile new file mode 100644 index 00000000000..190a2675742 --- /dev/null +++ b/www/zope-cmfformcontroller/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: zope-cmfformcontroller +# Date created: 20 January 2004 +# Whom: Khairil Yusof +# +# $FreeBSD$ +# + +PORTNAME= cmfformcontroller +PORTVERSION= 1.0.r2 +CATEGORIES= www zope +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= collective +PKGNAMEPREFIX= zope- +DISTNAME= CMFFormController.1_0_RC2 + +MAINTAINER= kaeru@inigo-tech.com +COMMENT= CMFFormController product for Zope/CMF + +RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf + +USE_PYTHON= yes +USE_ZOPE= yes +DIST_SUBDIR= zope + +EXTRACT_CMD= tar +EXTRACT_BEFORE_ARGS= -zxvf +EXTRACT_AFTER_ARGS= --exclude CVS + +ZOPEPRODUCTNAME= CMFFormController + +PLIST= ${WRKDIR}/pkg-plist +WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME} + +do-build: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +pre-install: + @${RM} -f ${PLIST} + @${TOUCH} ${PLIST} + @cd ${WRKDIR} && \ + for f in `${FIND} ${ZOPEPRODUCTNAME} -type f`; do \ + ${ECHO_CMD} %%ZOPEPRODUCTDIR%%/$${f} >> ${PLIST}; \ + done; \ + for d in `${FIND} -d ${ZOPEPRODUCTNAME} -type d`; do \ + ${ECHO_CMD} @dirrm %%ZOPEPRODUCTDIR%%/$${d} >> ${PLIST}; \ + done; \ + +do-install: + @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ + @${CHMOD} -R og+rX ${WRKSRC}/ + @${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ + +post-install: +.if !defined(BATCH) + @${CAT} ${PKGMESSAGE} +.endif + +.include <bsd.port.mk> diff --git a/www/zope-cmfformcontroller/distinfo b/www/zope-cmfformcontroller/distinfo new file mode 100644 index 00000000000..35f2d189adb --- /dev/null +++ b/www/zope-cmfformcontroller/distinfo @@ -0,0 +1,2 @@ +MD5 (zope/CMFFormController.1_0_RC2.tar.gz) = 5b93602be6443b4bffdd18e73d88d8cf +SIZE (zope/CMFFormController.1_0_RC2.tar.gz) = 37507 diff --git a/www/zope-cmfformcontroller/pkg-descr b/www/zope-cmfformcontroller/pkg-descr new file mode 100644 index 00000000000..fd29ef077b8 --- /dev/null +++ b/www/zope-cmfformcontroller/pkg-descr @@ -0,0 +1,9 @@ +CMFFormController is a product for Zope/CMF + +CMFFormController replaces the portal_form form validation mechanism from +Plone. It should work just fine in plain CMF as well. + +WWW: http://plone.org/collective + +- Khairil Yusof +kaeru@inigo-tech.com diff --git a/www/zope-cmfformcontroller/pkg-message b/www/zope-cmfformcontroller/pkg-message new file mode 100644 index 00000000000..4abdce86d62 --- /dev/null +++ b/www/zope-cmfformcontroller/pkg-message @@ -0,0 +1,20 @@ +To complete the installation of CMFFormController: + +- Restart Zope. This may be done from the Zope Control Panel. + +With CMFQuickInstaller (optional) + +- Use the QuickInstaller tool to register CMFFormController in your portal + instance + +Without CMFQuickInstaller + + - Create an ExternalMethod object inside your portal object with the + following data: + + Id: install_CMFFormController + Title: installs CMFFormController to this portal + Module Name: CMFFormController.Install + Function Name: install + + - Run this newly created ExternalMethod by clicking on the test tab. |