summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-28 13:57:46 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-28 13:57:46 +0000
commitc27a0eae1c71c43ca486a012ee81dee02d735b7f (patch)
tree2f93ed92d735e54ee429e4a0fed0a952312df2ce /www
parent- Pet portlint (diff)
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>
Notes
Notes: svn path=/head/; revision=102404
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/zope-cmfformcontroller/Makefile58
-rw-r--r--www/zope-cmfformcontroller/distinfo2
-rw-r--r--www/zope-cmfformcontroller/pkg-descr9
-rw-r--r--www/zope-cmfformcontroller/pkg-message20
5 files changed, 90 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 16e70a3b483c..f8e7a0169f0f 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 000000000000..190a2675742c
--- /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 000000000000..35f2d189adb5
--- /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 000000000000..fd29ef077b88
--- /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 000000000000..4abdce86d626
--- /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.