aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rubygem-rbase/Makefile26
-rw-r--r--databases/rubygem-rbase/distinfo3
-rw-r--r--databases/rubygem-rbase/pkg-descr3
4 files changed, 33 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 8c4312018fdb..ae12425f7662 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -567,6 +567,7 @@
SUBDIR += rubygem-jdbc-mysql
SUBDIR += rubygem-memcache-client
SUBDIR += rubygem-postgres
+ SUBDIR += rubygem-rbase
SUBDIR += rubygem-rrdtool
SUBDIR += rubygem-sqlite3
SUBDIR += sharedance
diff --git a/databases/rubygem-rbase/Makefile b/databases/rubygem-rbase/Makefile
new file mode 100644
index 000000000000..899fc1feb19d
--- /dev/null
+++ b/databases/rubygem-rbase/Makefile
@@ -0,0 +1,26 @@
+# Ports collection makefile for: rubygem-rbase
+# Date created: 15 September 2008
+# Whom: Alexander Logvinov <ports@logvinov.com>
+#
+# $FreeBSD$
+
+PORTNAME= rbase
+PORTVERSION= 0.1.2
+CATEGORIES= databases rubygems
+MASTER_SITES= RF
+
+MAINTAINER= ports@logvinov.com
+COMMENT= Library to create/read/write to XBase databases (*.DBF files)
+
+USE_RUBY= yes
+USE_RUBYGEMS= 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/databases/rubygem-rbase/distinfo b/databases/rubygem-rbase/distinfo
new file mode 100644
index 000000000000..29203ce11551
--- /dev/null
+++ b/databases/rubygem-rbase/distinfo
@@ -0,0 +1,3 @@
+MD5 (rubygem/rbase-0.1.2.gem) = 2fe393010dcc34949858e9579c5f2150
+SHA256 (rubygem/rbase-0.1.2.gem) = a30da9101750dd6519eddd767da6642fec16fe41a5f494261f7476849909ba47
+SIZE (rubygem/rbase-0.1.2.gem) = 9216
diff --git a/databases/rubygem-rbase/pkg-descr b/databases/rubygem-rbase/pkg-descr
new file mode 100644
index 000000000000..bb96fd6cb744
--- /dev/null
+++ b/databases/rubygem-rbase/pkg-descr
@@ -0,0 +1,3 @@
+RBase is a library to manipulate XBase database using Ruby.
+
+WWW: http://rubyforge.org/projects/rbase/