summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-28 14:05:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-28 14:05:51 +0000
commit55f1f9d40d35150b044d5a1fc70134437e1929b9 (patch)
tree2a5bc503de1c31525aa099b1517508fe44c927ee /www
parentCMFFormController is a product for Zope/CMF (diff)
TTWType - a product for defining new CMF types via the ZMI
You can use TTWType to define new CMF portal types via the ZMI (without creating a new product). This is different to modifying existing portal types as you can also add new fields. PR: ports/63442 Submitted by: Khairil Yusof <kaeru@inigo-tech.com>
Notes
Notes: svn path=/head/; revision=102406
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/zope-ttwtype/Makefile56
-rw-r--r--www/zope-ttwtype/distinfo2
-rw-r--r--www/zope-ttwtype/pkg-descr11
-rw-r--r--www/zope-ttwtype/pkg-message17
5 files changed, 87 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index f8e7a0169f0f..c4b7737a7e8c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -625,6 +625,7 @@
SUBDIR += zope-proxyindex
SUBDIR += zope-silva
SUBDIR += zope-silvaviews
+ SUBDIR += zope-ttwtype
SUBDIR += zope-xmlwidgets
SUBDIR += zope-zmysqlda
SUBDIR += zope-zpt
diff --git a/www/zope-ttwtype/Makefile b/www/zope-ttwtype/Makefile
new file mode 100644
index 000000000000..3eb5606d27ec
--- /dev/null
+++ b/www/zope-ttwtype/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: zope-ttwtype
+# Date created: 27 February 2004
+# Whom: Khairil Yusof
+#
+# $FreeBSD$
+#
+
+PORTNAME= ttwtype
+PORTVERSION= 1.0.r2
+CATEGORIES= www zope
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= collective
+PKGNAMEPREFIX= zope-
+DISTNAME= TTWType-1.0rc2
+
+MAINTAINER= kaeru@inigo-tech.com
+COMMENT= TTWType product for CMF/Plone
+
+RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \
+ ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/Formulator/__init__.py:${PORTSDIR}/www/zope-formulator \
+ ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFFormController/__init__.py:${PORTSDIR}/www/zope-cmfformcontroller
+
+USE_PYTHON= yes
+USE_ZOPE= yes
+DIST_SUBDIR= zope
+
+ZOPEPRODUCTNAME= TTWType
+
+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-ttwtype/distinfo b/www/zope-ttwtype/distinfo
new file mode 100644
index 000000000000..5034ff673e01
--- /dev/null
+++ b/www/zope-ttwtype/distinfo
@@ -0,0 +1,2 @@
+MD5 (zope/TTWType-1.0rc2.tar.gz) = 41f7a079fe137c8ff7e7d65e97b240c8
+SIZE (zope/TTWType-1.0rc2.tar.gz) = 12058
diff --git a/www/zope-ttwtype/pkg-descr b/www/zope-ttwtype/pkg-descr
new file mode 100644
index 000000000000..213d9c80dcee
--- /dev/null
+++ b/www/zope-ttwtype/pkg-descr
@@ -0,0 +1,11 @@
+TTWType - a product for defining new CMF types via the ZMI
+
+You can use TTWType to define new CMF portal types via
+the ZMI (without creating a new product). This is different
+to modifying existing portal types as you can also add new
+fields.
+
+WWW: http://plone.org/collective
+
+- Khairil Yusof
+kaeru@inigo-tech.com
diff --git a/www/zope-ttwtype/pkg-message b/www/zope-ttwtype/pkg-message
new file mode 100644
index 000000000000..aafd19d7e02a
--- /dev/null
+++ b/www/zope-ttwtype/pkg-message
@@ -0,0 +1,17 @@
+To complete the installation of TTWType:
+
+- Restart Zope. This may be done from the Zope Control Panel.
+
+With CMFQuickInstaller (optional)
+
+- Use the QuickInstaller tool to register TTWType in your portal instance
+
+Without CMFQuickInstaller
+
+- Add and run an External Method with the following settings in your
+ CMF/Plone root using the Zope Management Interface (ZMI):
+
+id: install_ttwtype
+title: Install TTW Type (optional)
+module: TTWType.Install
+function: install