diff options
author | knu <knu@FreeBSD.org> | 2003-02-20 23:51:00 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-02-20 23:51:00 +0800 |
commit | c00ed3872a345e9b1931b09f9a14148049fbe677 (patch) | |
tree | 25bd795becc4d666914e0aafe90a7b32ed8734e7 | |
parent | 82123218d3741c0d581826e44b1758a59ccac121 (diff) | |
download | freebsd-ports-graphics-c00ed3872a345e9b1931b09f9a14148049fbe677.tar.gz freebsd-ports-graphics-c00ed3872a345e9b1931b09f9a14148049fbe677.tar.zst freebsd-ports-graphics-c00ed3872a345e9b1931b09f9a14148049fbe677.zip |
Add ruby-formvalidator, a Ruby module to validate data coming in from
HTML forms.
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/ruby-formvalidator/Makefile | 42 | ||||
-rw-r--r-- | textproc/ruby-formvalidator/distinfo | 1 | ||||
-rw-r--r-- | textproc/ruby-formvalidator/pkg-descr | 9 | ||||
-rw-r--r-- | textproc/ruby-formvalidator/pkg-plist | 93 |
5 files changed, 146 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index b1a1d5d4e59..4f2fe17a26a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -324,6 +324,7 @@ SUBDIR += ruby-amrita SUBDIR += ruby-csv SUBDIR += ruby-format + SUBDIR += ruby-formvalidator SUBDIR += ruby-gdome SUBDIR += ruby-html-parser SUBDIR += ruby-htmlcompact diff --git a/textproc/ruby-formvalidator/Makefile b/textproc/ruby-formvalidator/Makefile new file mode 100644 index 00000000000..85b3395364b --- /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 00000000000..d256c9eaa2f --- /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 00000000000..abd36afe537 --- /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 00000000000..10d5820213a --- /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%% |