ports/63377: New port: www/zope-cmfformcontroller
Khairil Yusof
kaeru at streamyx.com
Thu Feb 26 05:00:37 UTC 2004
>Number: 63377
>Category: ports
>Synopsis: New port: www/zope-cmfformcontroller
>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: Wed Feb 25 21:00:37 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 #5: Fri Feb 20 19:27:05 MYT 2004 kaeru at wolverine.cerebro.net.my:/data/usr/obj/usr/src/sys/WOLVERINE i386
>Description:
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
>How-To-Repeat:
>Fix:
# 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-cmfformcontroller
# zope-cmfformcontroller/Makefile
# zope-cmfformcontroller/distinfo
# zope-cmfformcontroller/pkg-descr
# zope-cmfformcontroller/pkg-message
#
echo c - zope-cmfformcontroller
mkdir -p zope-cmfformcontroller > /dev/null 2>&1
echo x - zope-cmfformcontroller/Makefile
sed 's/^X//' >zope-cmfformcontroller/Makefile << 'END-of-zope-cmfformcontroller/Makefile'
X# New ports collection makefile for: zope-cmfformcontroller
X# Date created: 20 January 2004
X# Whom: Khairil Yusof
X#
X# $FreeBSD$
X#
X
XPORTNAME= cmfformcontroller
XPORTVERSION= 1.0r2
XCATEGORIES= www zope
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= collective
XPKGNAMEPREFIX= zope-
XDISTNAME= CMFFormController.1_0_RC2
X
XMAINTAINER= kaeru at inigo-tech.com
XCOMMENT= CMFFormController product for Zope/CMF
X
XRUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
X
XUSE_PYTHON= yes
XUSE_ZOPE= yes
XDIST_SUBDIR= zope
X
XEXTRACT_CMD= tar
XEXTRACT_BEFORE_ARGS= -zxvf
XEXTRACT_AFTER_ARGS= --exclude CVS
X
XZOPEPRODUCTNAME= CMFFormController
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-cmfformcontroller/Makefile
echo x - zope-cmfformcontroller/distinfo
sed 's/^X//' >zope-cmfformcontroller/distinfo << 'END-of-zope-cmfformcontroller/distinfo'
XMD5 (zope/CMFFormController.1_0_RC2.tar.gz) = 5b93602be6443b4bffdd18e73d88d8cf
XSIZE (zope/CMFFormController.1_0_RC2.tar.gz) = 37507
END-of-zope-cmfformcontroller/distinfo
echo x - zope-cmfformcontroller/pkg-descr
sed 's/^X//' >zope-cmfformcontroller/pkg-descr << 'END-of-zope-cmfformcontroller/pkg-descr'
XCMFFormController is a product for Zope/CMF
X
XCMFFormController replaces the portal_form form validation mechanism from
XPlone. It should work just fine in plain CMF as well.
X
XWWW: http://plone.org/collective
X
X- Khairil Yusof
Xkaeru at inigo-tech.com
END-of-zope-cmfformcontroller/pkg-descr
echo x - zope-cmfformcontroller/pkg-message
sed 's/^X//' >zope-cmfformcontroller/pkg-message << 'END-of-zope-cmfformcontroller/pkg-message'
XTo complete the installation of CMFFormController:
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 CMFFormController in your portal
X instance
X
XWithout CMFQuickInstaller
X
X - Create an ExternalMethod object inside your portal object with the
X following data:
X
X Id: install_CMFFormController
X Title: installs CMFFormController to this portal
X Module Name: CMFFormController.Install
X Function Name: install
X
X - Run this newly created ExternalMethod by clicking on the test tab.
END-of-zope-cmfformcontroller/pkg-message
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list