From kaeru@streamyx.com  Fri Feb 27 01:48:41 2004
Return-Path: <kaeru@streamyx.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 822A716A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Feb 2004 01:48:41 -0800 (PST)
Received: from ipop9.tm.net.my (service.tm.net.my [202.188.0.162])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4FCB343D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Feb 2004 01:48:40 -0800 (PST)
	(envelope-from kaeru@streamyx.com)
Received: from av3.secure.tmnet ([172.22.0.23])
 by ipop9.tm.net.my (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8
 2003)) with ESMTP id <0HTQ006D4LTRHT@ipop9.tm.net.my> for
 FreeBSD-gnats-submit@freebsd.org; Fri, 27 Feb 2004 17:46:39 +0800 (SGT)
Received: from wolverine.cerebro.net.my ([219.95.245.206])
 by ipop1.tm.net.my (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18
 2002)) with ESMTP id <0HTQ0091TLTQM1@ipop1.tm.net.my> for
 FreeBSD-gnats-submit@freebsd.org; Fri, 27 Feb 2004 17:46:39 +0800 (SGT)
Received: from wolverine.cerebro.net.my (localhost.cerebro.net.my [127.0.0.1])
	by wolverine.cerebro.net.my (8.12.11/8.12.10) with ESMTP id i1R9kaA9007227	for
 <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Feb 2004 17:46:36 +0800
Received: (from kaeru@localhost)	by wolverine.cerebro.net.my
 (8.12.11/8.12.10/Submit) id i1R9kZ1O007063; Fri,
 27 Feb 2004 17:46:35 +0800 (MYT envelope-from kaeru)
Message-Id: <200402270946.i1R9kZ1O007063@wolverine.cerebro.net.my>
Date: Fri, 27 Feb 2004 17:46:35 +0800 (MYT)
From: Khairil Yusof <kaeru@streamyx.com>
Reply-To: Khairil Yusof <kaeru@inigo-tech.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: www/zope-ttwtype
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63442
>Category:       ports
>Synopsis:       New port: www/zope-ttwtype
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 27 01:50:11 PST 2004
>Closed-Date:    Sat Feb 28 06:06:54 PST 2004
>Last-Modified:  Sat Feb 28 06:06:54 PST 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Feb 28 06:06:46 PST 2004 
State-Changed-Why:  
New port added, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63442 
>Unformatted:
