Date: Fri, 27 Feb 2004 17:46:35 +0800 (MYT) From: Khairil Yusof <kaeru@streamyx.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/63442: New port: www/zope-ttwtype Message-ID: <200402270946.i1R9kZ1O007063@wolverine.cerebro.net.my> Resent-Message-ID: <200402270950.i1R9oBpm044932@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63442 >Category: ports >Synopsis: New port: www/zope-ttwtype >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 27 01:50:11 PST 2004 >Closed-Date: >Last-Modified: >Originator: Khairil Yusof >Release: FreeBSD 5.2-CURRENT i386 >Organization: Inigo Tech >Environment: System: FreeBSD wolverine.cerebro.net.my 5.2-CURRENT FreeBSD 5.2-CURRENT #6: Fri Feb 27 01:43:45 MYT 2004 root@wolverine.cerebro.net.my:/data/usr/obj/usr/src/sys/WOLVERINE i386 >Description: 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 >How-To-Repeat: >Fix: NOTE: This port depends on uncommited port www/zope-cmfformcontroller PR:ports/6337 # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # zope-ttwtype # zope-ttwtype/Makefile # zope-ttwtype/distinfo # zope-ttwtype/pkg-descr # zope-ttwtype/pkg-message # echo c - zope-ttwtype mkdir -p zope-ttwtype > /dev/null 2>&1 echo x - zope-ttwtype/Makefile sed 's/^X//' >zope-ttwtype/Makefile << 'END-of-zope-ttwtype/Makefile' X# New ports collection makefile for: zope-ttwtype X# Date created: 27 February 2004 X# Whom: Khairil Yusof X# X# $FreeBSD$ X# X XPORTNAME= ttwtype XPORTVERSION= 1.0r2 XCATEGORIES= www zope XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= collective XPKGNAMEPREFIX= zope- XDISTNAME= TTWType-1.0rc2 X XMAINTAINER= kaeru@inigo-tech.com XCOMMENT= TTWType product for CMF/Plone X XRUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \ X ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/Formulator/__init__.py:${PORTSDIR}/www/zope-formulator \ X ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFFormController/__init__.py:${PORTSDIR}/www/zope-cmfformcontroller X XUSE_PYTHON= yes XUSE_ZOPE= yes XDIST_SUBDIR= zope X XZOPEPRODUCTNAME= TTWType X XPLIST= ${WRKDIR}/pkg-plist XWRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME} X Xdo-build: X @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} X Xpre-install: X @${RM} -f ${PLIST} X @${TOUCH} ${PLIST} X @cd ${WRKDIR} && \ X for f in `${FIND} ${ZOPEPRODUCTNAME} -type f`; do \ X ${ECHO_CMD} %%ZOPEPRODUCTDIR%%/$${f} >> ${PLIST}; \ X done; \ X for d in `${FIND} -d ${ZOPEPRODUCTNAME} -type d`; do \ X ${ECHO_CMD} @dirrm %%ZOPEPRODUCTDIR%%/$${d} >> ${PLIST}; \ X done; \ X Xdo-install: X @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ X @${CHMOD} -R og+rX ${WRKSRC}/ X @${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ X Xpost-install: X.if !defined(BATCH) X @${CAT} ${PKGMESSAGE} X.endif X X.include <bsd.port.mk> END-of-zope-ttwtype/Makefile echo x - zope-ttwtype/distinfo sed 's/^X//' >zope-ttwtype/distinfo << 'END-of-zope-ttwtype/distinfo' XMD5 (zope/TTWType-1.0rc2.tar.gz) = 41f7a079fe137c8ff7e7d65e97b240c8 XSIZE (zope/TTWType-1.0rc2.tar.gz) = 12058 END-of-zope-ttwtype/distinfo echo x - zope-ttwtype/pkg-descr sed 's/^X//' >zope-ttwtype/pkg-descr << 'END-of-zope-ttwtype/pkg-descr' XTTWType - a product for defining new CMF types via the ZMI X X You can use TTWType to define new CMF portal types via X the ZMI (without creating a new product). This is different X to modifying existing portal types as you can also add new X fields. X XWWW: http://plone.org/collective X X- Khairil Yusof Xkaeru@inigo-tech.com END-of-zope-ttwtype/pkg-descr echo x - zope-ttwtype/pkg-message sed 's/^X//' >zope-ttwtype/pkg-message << 'END-of-zope-ttwtype/pkg-message' XTo complete the installation of TTWType: X X- Restart Zope. This may be done from the Zope Control Panel. X XWith CMFQuickInstaller (optional) X X- Use the QuickInstaller tool to register TTWType in your portal instance X XWithout CMFQuickInstaller X X- Add and run an External Method with the following settings in your X CMF/Plone root using the Zope Management Interface (ZMI): X Xid: install_ttwtype Xtitle: Install TTW Type (optional) Xmodule: TTWType.Install Xfunction: install END-of-zope-ttwtype/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402270946.i1R9kZ1O007063>