diff options
author | pav <pav@FreeBSD.org> | 2004-02-28 22:05:51 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-28 22:05:51 +0800 |
commit | f79e8b4044b8bf3e0a808efbb3e5d81eee8f03b9 (patch) | |
tree | 9d75547b7086af234cc1af67e9c93c7fea24dbde /www | |
parent | 8dfbf4e3608be687343767a891aaca11df3c18fe (diff) | |
download | freebsd-ports-gnome-f79e8b4044b8bf3e0a808efbb3e5d81eee8f03b9.tar.gz freebsd-ports-gnome-f79e8b4044b8bf3e0a808efbb3e5d81eee8f03b9.tar.zst freebsd-ports-gnome-f79e8b4044b8bf3e0a808efbb3e5d81eee8f03b9.zip |
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>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/zope-ttwtype/Makefile | 56 | ||||
-rw-r--r-- | www/zope-ttwtype/distinfo | 2 | ||||
-rw-r--r-- | www/zope-ttwtype/pkg-descr | 11 | ||||
-rw-r--r-- | www/zope-ttwtype/pkg-message | 17 |
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 |