summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-12-28 16:03:11 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-12-28 16:03:11 +0000
commit8dfd861090301da812faf81a196d1f6a403ac773 (patch)
tree84abfbcd20ccae02c5d422992bea8acd876ae774 /devel
parent- Update to 20081227 (diff)
The validatable library can be included with any Ruby class and provide
validations similar to ActiveRecord's. The library follows ActiveRecord's lead for features that are similar and introduces new features. WWW: http://validatable.rubyforge.org/
Notes
Notes: svn path=/head/; revision=224900
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-validatable/Makefile28
-rw-r--r--devel/rubygem-validatable/distinfo3
-rw-r--r--devel/rubygem-validatable/pkg-descr5
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 659cdcc3c4f0..a7f2e43e7bec 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2493,6 +2493,7 @@
SUBDIR += rubygem-transactionsimple
SUBDIR += rubygem-tzinfo
SUBDIR += rubygem-uuid
+ SUBDIR += rubygem-validatable
SUBDIR += rubygem-warbler
SUBDIR += rubygem-zentest
SUBDIR += rudeconfig
diff --git a/devel/rubygem-validatable/Makefile b/devel/rubygem-validatable/Makefile
new file mode 100644
index 000000000000..a8fd6fe0b27a
--- /dev/null
+++ b/devel/rubygem-validatable/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: rubygem-validatable
+# Date created: 28, Dec 2008
+# Whom: Martin Wilke <miwi@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= validatable
+PORTVERSION= 1.6.7
+CATEGORIES= devel rubygems
+MASTER_SITES= RF
+
+MAINTAINER= miwi@FreeBSD.org
+COMMENT= Library for adding database/object validations
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+USE_RAKE= yes
+
+post-install:
+ @${ECHO} ${GEM_CACHE} > ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
+ @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-validatable/distinfo b/devel/rubygem-validatable/distinfo
new file mode 100644
index 000000000000..7904f75ee2ef
--- /dev/null
+++ b/devel/rubygem-validatable/distinfo
@@ -0,0 +1,3 @@
+MD5 (rubygem/validatable-1.6.7.gem) = a98cd75c75898d7af8d1c50a5cdd24b1
+SHA256 (rubygem/validatable-1.6.7.gem) = a45a25a7ed6e6d93c7e59224d66a3104fdb555743f41aa7c032375277e974a0e
+SIZE (rubygem/validatable-1.6.7.gem) = 15872
diff --git a/devel/rubygem-validatable/pkg-descr b/devel/rubygem-validatable/pkg-descr
new file mode 100644
index 000000000000..cd8e4920c7de
--- /dev/null
+++ b/devel/rubygem-validatable/pkg-descr
@@ -0,0 +1,5 @@
+The validatable library can be included with any Ruby class and provide
+validations similar to ActiveRecord's. The library follows ActiveRecord's
+lead for features that are similar and introduces new features.
+
+WWW: http://validatable.rubyforge.org/