aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-formvalidator
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-02-20 15:51:00 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-02-20 15:51:00 +0000
commit995bd9e729a2cb3d517deb3f5d3a99e806184072 (patch)
treef586a04003d87dbf2082cbb59b5f04b9f043ffc2 /textproc/ruby-formvalidator
parenta34c947526b53d5b33f04d825df9e0a49fd50b96 (diff)
downloadports-995bd9e729a2cb3d517deb3f5d3a99e806184072.tar.gz
ports-995bd9e729a2cb3d517deb3f5d3a99e806184072.zip
Add ruby-formvalidator, a Ruby module to validate data coming in from
HTML forms.
Notes
Notes: svn path=/head/; revision=75943
Diffstat (limited to 'textproc/ruby-formvalidator')
-rw-r--r--textproc/ruby-formvalidator/Makefile42
-rw-r--r--textproc/ruby-formvalidator/distinfo1
-rw-r--r--textproc/ruby-formvalidator/pkg-descr9
-rw-r--r--textproc/ruby-formvalidator/pkg-plist93
4 files changed, 145 insertions, 0 deletions
diff --git a/textproc/ruby-formvalidator/Makefile b/textproc/ruby-formvalidator/Makefile
new file mode 100644
index 000000000000..85b3395364b3
--- /dev/null
+++ b/textproc/ruby-formvalidator/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: FormValidator for Ruby
+# Date created: 21 February 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= formvalidator
+PORTVERSION= 0.1.0
+CATEGORIES= textproc www ruby
+MASTER_SITES= http://grub.ath.cx/formvalidator/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= A Ruby module to validate data coming in from HTML forms
+
+USE_RUBY= yes
+USE_RUBY_RDOC= yes
+
+DOCS= AUTHORS \
+ CHANGELOG \
+ README \
+ doc
+
+do-build:
+.if !defined(NOPORTDOCS)
+ cd ${BUILD_WRKSRC}; ${RUBY_RDOC} --main README.rdoc formvalidator.rb README.rdoc
+.endif
+
+do-install:
+ cd ${INSTALL_WRKSRC}; ${RUBY} install.rb
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}/
+ ${CP} -R ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-formvalidator/distinfo b/textproc/ruby-formvalidator/distinfo
new file mode 100644
index 000000000000..d256c9eaa2f4
--- /dev/null
+++ b/textproc/ruby-formvalidator/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/formvalidator-0.1.0.tar.gz) = 6917edec4f385faa1749651b4afb8ff0
diff --git a/textproc/ruby-formvalidator/pkg-descr b/textproc/ruby-formvalidator/pkg-descr
new file mode 100644
index 000000000000..abd36afe537b
--- /dev/null
+++ b/textproc/ruby-formvalidator/pkg-descr
@@ -0,0 +1,9 @@
+FormValidator is a port of Perl's Data::FormValidator library. It
+makes it easy to validate data coming in from HTML forms and provides
+a robust set of methods to handle dependent fields, filtering data,
+constraints, etc. It's modular design allows you to easily add your
+own filters and constraints and also allows you to keep validation
+profiles outside of your CGI scripts.
+
+Author: Travis Whitton <whitton@atlantic.net>
+WWW: http://grub.ath.cx/formvalidator/
diff --git a/textproc/ruby-formvalidator/pkg-plist b/textproc/ruby-formvalidator/pkg-plist
new file mode 100644
index 000000000000..10d5820213a9
--- /dev/null
+++ b/textproc/ruby-formvalidator/pkg-plist
@@ -0,0 +1,93 @@
+%%RUBY_SITELIBDIR%%/formvalidator.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/extend.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/file.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/profiles/extension.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/profiles/my_profile.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/standard.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/profiles
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGELOG
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator.src/M000001.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator.src/M000002.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator.src/M000003.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator.src/M000004.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator.src/M000005.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator.src/M000006.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/ConstraintHelpers.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/ConstraintHelpers.src/M000035.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/ConstraintHelpers.src/M000036.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/ConstraintHelpers.src/M000037.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/ConstraintHelpers.src/M000038.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/ConstraintHelpers.src/M000039.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/ConstraintHelpers.src/M000040.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/ConstraintHelpers.src/M000041.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/ConstraintHelpers.src/M000042.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000022.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000023.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000024.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000025.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000026.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000027.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000028.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000029.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000030.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000031.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000032.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000033.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src/M000034.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000043.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000044.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000045.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000046.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000047.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000048.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000049.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000050.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000051.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000052.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000053.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000054.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000055.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000056.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000057.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000058.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src/M000059.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000007.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000008.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000009.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000010.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000011.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000012.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000013.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000014.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000015.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000016.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000017.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000018.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000019.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000020.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src/M000021.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/created.rid
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/files/README_rdoc.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/files/formvalidator_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_class_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_file_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_method_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/rdoc-style.css
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/files
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/FormValidator/InputProfile.src
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Filters.src
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/FormValidator/Constraints.src
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/FormValidator/ConstraintHelpers.src
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/FormValidator.src
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/FormValidator
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%