Bug 54079 - New port: www/formulator, Formulator for Zope
Summary: New port: www/formulator, Formulator for Zope
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-04 04:30 UTC by Tim Middleton
Modified: 2003-12-29 04:37 UTC (History)
0 users

See Also:


Attachments
file.shar (7.30 KB, text/plain)
2003-07-04 04:30 UTC, Tim Middleton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Middleton 2003-07-04 04:30:16 UTC
Formulator is an extensible framework that eases the creation and 
validation of web forms.
Comment 1 Tim Middleton 2003-07-09 05:32:52 UTC
Sorry, i totally messed up this port! I was looking at the Formulator 
SourceForge page which has apparently been abandoned.... thus 
my port turned out to be for a (quite) old version. Somehow I didn't clue in 
to the version number! Below is the corrected port:

# 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-formulator
#	zope-formulator/pkg-plist
#	zope-formulator/pkg-message
#	zope-formulator/pkg-descr
#	zope-formulator/distinfo
#	zope-formulator/Makefile
#
echo c - zope-formulator
mkdir -p zope-formulator > /dev/null 2>&1
echo x - zope-formulator/pkg-plist
sed 's/^X//' >zope-formulator/pkg-plist << 'END-of-zope-formulator/pkg-plist'
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/CREDITS.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/DummyField.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/DummyField.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/Errors.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/Errors.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/FSForm.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/FSForm.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/Field.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/Field.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/FieldHelpTopic.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/FieldHelpTopic.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/FieldRegistry.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/FieldRegistry.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/Form.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/Form.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/FormToXML.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/FormToXML.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/HISTORY.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/HelperFields.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/HelperFields.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/INSTALL.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/LICENSE.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/ListTextAreaField.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/ListTextAreaField.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/MethodField.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/MethodField.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/PatternChecker.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/PatternChecker.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/README.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/StandardFields.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/StandardFields.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/TALESField.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/TALESField.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/TODO.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/Validator.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/Validator.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/Widget.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/Widget.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/XMLObjects.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/XMLObjects.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/XMLToForm.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/XMLToForm.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/__init__.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/__init__.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/FieldHelpTopic.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/fieldAdd.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/fieldEdit.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/fieldListHeader.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/fieldMessages.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/fieldOverride.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/fieldTales.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/fieldTest.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/formAdd.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/formOrder.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/formSettings.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/formTest.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml/formXML.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/BasicForm.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/BasicForm.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/Field.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/Field.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/Form.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/Form.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/ZMIForm.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/ZMIForm.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/dogfood.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/fieldEdit.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/fieldMessages.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/fieldOverride.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/fieldTales.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/fieldTest.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/formContents.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/formOrder.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/formSettings.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/formTest.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/formXML.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/formulator_howto.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/help/formulator_motto.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/README.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/__init__.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/__init__.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/test_Form.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/test_Form.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/test_all.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/test_all.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/test_serialize.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/test_serialize.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/test_validators.py
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests/test_validators.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/version.txt
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/BasicField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/CheckBoxField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/DateTimeField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/EmailField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/FileField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/FloatField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/Form.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/IntegerField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/LinesField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/LinkField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/ListField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/MethodField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/MultiCheckBoxField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/MultiListField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/MultipleListField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/PasswordField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/PatternField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/RadioField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/RangedIntegerField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/StringField.gif
X%%ZOPEBASEDIR%%/lib/python/Products/Formulator/www/TextAreaField.gif
X@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Formulator/www
X@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Formulator/tests
X@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Formulator/help
X@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Formulator/dtml
X@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Formulator
END-of-zope-formulator/pkg-plist
echo x - zope-formulator/pkg-message
sed 's/^X//' >zope-formulator/pkg-message << 
'END-of-zope-formulator/pkg-message'
X    To complete the installation of Formulator:
X
X    - Restart Zope.  This may be done from the Zope Control Panel.
X
X    - Verify that the Formulator product is loaded properly by 
X      examining them in Control_Panel/Products, and try to add
X      a "Formulator Form" object via the Zope Management Interface.
X
END-of-zope-formulator/pkg-message
echo x - zope-formulator/pkg-descr
sed 's/^X//' >zope-formulator/pkg-descr << 'END-of-zope-formulator/pkg-descr'
XFormulator is a flexible, extensible framework for the creation and
Xvalidation of web forms in Zope. Web forms can optionally be created 
Xwith a web-based management interface. When a form is submitted, many 
Xcommon validations, such as testing for required fields or certain 
Xtypes of input, can be automated.
X
XWWW: http://www.zope.org/Members/faassen/Formulator 
END-of-zope-formulator/pkg-descr
echo x - zope-formulator/distinfo
sed 's/^X//' >zope-formulator/distinfo << 'END-of-zope-formulator/distinfo'
XMD5 (zope/Formulator-1.4.2.tgz) = 18e4285abbff985cd94b62471e289b5b
END-of-zope-formulator/distinfo
echo x - zope-formulator/Makefile
sed 's/^X//' >zope-formulator/Makefile << 'END-of-zope-formulator/Makefile'
X# New ports collection makefile for: Formulator
X# Date created:		3 Jul 2003
X# Whom:			Tim Middleton
X#
X# $FreeBSD: ports/www/zope-cmf/Makefile,v 1.6 2003/03/07 06:12:56 ade Exp $
X#
X
XPORTNAME=		formulator
XPORTVERSION=	1.4.2
XCATEGORIES=		www zope
XMASTER_SITES=	http://www.zope.org/Members/faassen/Formulator/
XPKGNAMEPREFIX=	zope-
XDISTNAME=		Formulator-${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER= x@Vex.Net
XCOMMENT=	Formulator - HTML form generatation and validation system
X
XUSE_PYTHON=		yes
XUSE_ZOPE=		yes
XDIST_SUBDIR=	zope
X
XZOPEPRODUCTNAME=	Formulator
X
XPLIST_SUB=	ZOPEBASEDIR=${SZOPEBASEDIR}
XWRKSRC=		${WRKDIR}/${ZOPEPRODUCTNAME}
XCPIO=		cpio --quiet -pdum -R
X
Xdo-build:
X	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
X
Xdo-install:
X	@ ${CHMOD} -R og+rX ${WRKSRC}/
X	@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
X	@ cd ${WRKSRC} && find . \
X	  | ${CPIO} ${BINOWN}:${BINGRP} \
X	  ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
X
Xpost-install:
X.if !defined(BATCH)
X	@${CAT} ${PKGMESSAGE}
X.endif
X
X.include <bsd.port.mk>
END-of-zope-formulator/Makefile
exit
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2003-12-29 04:37:48 UTC
State Changed
From-To: open->closed

Commited, thanks!