aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-06-09 23:48:26 +0800
committerknu <knu@FreeBSD.org>2001-06-09 23:48:26 +0800
commitcdfddb9c82c15d93d85fffbab716b36e1c4b8c58 (patch)
treeebc371e21c06b65f801f972e767381039ce9b34a /databases
parent94c02ce4c05a9ec161f3e4a54fd06030e1093bc0 (diff)
downloadfreebsd-ports-gnome-cdfddb9c82c15d93d85fffbab716b36e1c4b8c58.tar.gz
freebsd-ports-gnome-cdfddb9c82c15d93d85fffbab716b36e1c4b8c58.tar.zst
freebsd-ports-gnome-cdfddb9c82c15d93d85fffbab716b36e1c4b8c58.zip
Add ruby-msql, Ruby API for mSQL.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/ruby-msql/Makefile49
-rw-r--r--databases/ruby-msql/distinfo1
-rw-r--r--databases/ruby-msql/pkg-comment1
-rw-r--r--databases/ruby-msql/pkg-descr4
-rw-r--r--databases/ruby-msql/pkg-plist15
6 files changed, 71 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 363e4c11139a..92b8e90ef4ad 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -79,6 +79,7 @@
SUBDIR += ruby-dbi
SUBDIR += ruby-gdbm
SUBDIR += ruby-rdbc1
+ SUBDIR += ruby-msql
SUBDIR += ruby-mysql
SUBDIR += ruby-o_dbm
SUBDIR += ruby-odbc
diff --git a/databases/ruby-msql/Makefile b/databases/ruby-msql/Makefile
new file mode 100644
index 000000000000..aac33081ea2d
--- /dev/null
+++ b/databases/ruby-msql/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: Ruby/mSQL
+# Date created: 9 June 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= msql
+PORTVERSION= 0.2.4a
+CATEGORIES= databases ruby
+MASTER_SITES= http://www.isc.meiji.ac.jp/~ce11725/ruby/archive/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= msql.1:${PORTSDIR}/databases/msql
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/a$//}
+CONFIGURE_ARGS= --with-msql-dir="${LOCALBASE}/share/msql"
+INSTALL_TARGET= site-install
+
+EXAMPLES_EN= demo/* sample/*
+DOCS_EN= readme.en.txt doc/en/*
+DOCS_JA= readme.ja.txt
+
+post-configure:
+ ${ECHO} '#define INST_DIR "${LOCALBASE}"' >> ${WRKSRC}/site.h
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+.for f in ${EXAMPLES_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/databases/ruby-msql/distinfo b/databases/ruby-msql/distinfo
new file mode 100644
index 000000000000..e691288e1d67
--- /dev/null
+++ b/databases/ruby-msql/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-msql-0.2.4a.tar.gz) = 36998b6e4045de8b380a26978006f975
diff --git a/databases/ruby-msql/pkg-comment b/databases/ruby-msql/pkg-comment
new file mode 100644
index 000000000000..dfa91301aadf
--- /dev/null
+++ b/databases/ruby-msql/pkg-comment
@@ -0,0 +1 @@
+Ruby API for mSQL
diff --git a/databases/ruby-msql/pkg-descr b/databases/ruby-msql/pkg-descr
new file mode 100644
index 000000000000..1d3ca361279a
--- /dev/null
+++ b/databases/ruby-msql/pkg-descr
@@ -0,0 +1,4 @@
+This is a Ruby API for mSQL.
+
+Author: DATE Ken <ge6537@i.bekkoame.ne.jp>
+WWW: http://www.isc.meiji.ac.jp/~ce11725/ruby/
diff --git a/databases/ruby-msql/pkg-plist b/databases/ruby-msql/pkg-plist
new file mode 100644
index 000000000000..8a290197f016
--- /dev/null
+++ b/databases/ruby-msql/pkg-plist
@@ -0,0 +1,15 @@
+%%RUBY_SITEARCHLIBDIR%%/msql.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/Shakespeare.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msql.ry
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msqladmin.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msqldump.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msqlexport.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msqlm.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msqlparse.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/msql
+%%PORTDOCS%%%%RUBY_DOCDIR%%/msql/msql.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/msql/msql.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/msql/readme.en.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/msql/ja/readme.ja.txt
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/msql/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/msql