summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-04-07 11:51:41 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-04-07 11:51:41 +0000
commitb1c59538fc35d442e62c7023a52a63ab7e13bc53 (patch)
treeab7ba35742cf3f0d8b730601f35f0e900affab25 /databases
parentUpdate to 2.22.1 (diff)
- ressurect
- new MASTER_SITE - update to 0.7.9.2008.01.28 PR: 118290
Notes
Notes: svn path=/head/; revision=210729
Diffstat (limited to 'databases')
-rw-r--r--databases/ruby-postgres/Makefile43
-rw-r--r--databases/ruby-postgres/distinfo3
-rw-r--r--databases/ruby-postgres/pkg-descr7
-rw-r--r--databases/ruby-postgres/pkg-plist15
4 files changed, 68 insertions, 0 deletions
diff --git a/databases/ruby-postgres/Makefile b/databases/ruby-postgres/Makefile
new file mode 100644
index 000000000000..55f49862c3ba
--- /dev/null
+++ b/databases/ruby-postgres/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: ruby-postgres
+# Date created: 19 April 1999
+# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= postgres
+PORTVERSION= 0.7.9.2008.01.28
+CATEGORIES= databases ruby
+MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
+MASTER_SITE_SUBDIR= ruby-pg
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= dinoex@FreeBSD.org
+COMMENT= Ruby interface to PostgreSQL library
+
+USE_PGSQL= yes
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+CONFIGURE_ARGS= --with-pgsql-include-dir="${LOCALBASE}/include"
+INSTALL_TARGET= site-install
+WRKSRC= ${WRKDIR}/${PORTNAME}/ext
+
+DOCS_EN= ChangeLog README doc/postgres.html
+DOCS_JA= README.ja doc/postgres.jp.html
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/../sample/*.rb ${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${RUBY_MODDOCDIR}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/../${f} ${RUBY_MODDOCDIR}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/../${f} ${RUBY_MODDOCDIR}/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/databases/ruby-postgres/distinfo b/databases/ruby-postgres/distinfo
new file mode 100644
index 000000000000..d891f957c14f
--- /dev/null
+++ b/databases/ruby-postgres/distinfo
@@ -0,0 +1,3 @@
+MD5 (ruby/postgres-0.7.9.2008.01.28.tar.gz) = 194ee344500d2a258faee1435be01877
+SHA256 (ruby/postgres-0.7.9.2008.01.28.tar.gz) = a3cf49c073c7879dda19eb690a5cefcb7b36e456c3c4ee7abe830b4b78f519fd
+SIZE (ruby/postgres-0.7.9.2008.01.28.tar.gz) = 61786
diff --git a/databases/ruby-postgres/pkg-descr b/databases/ruby-postgres/pkg-descr
new file mode 100644
index 000000000000..074748923a80
--- /dev/null
+++ b/databases/ruby-postgres/pkg-descr
@@ -0,0 +1,7 @@
+This is an extention module to access PostgreSQL database from Ruby.
+This library works with PostgreSQL 6.4/6.5 and 7.0/7.1.
+
+Authors: Yukihiro Matsumoto <matz@ruby-lang.org>
+ Eiji Matsumoto <usagi@ruby.club.or.jp>
+ Noboru Saitou <noborus@zetabits.com> (current maintainer)
+WWW: http://www.postgresql.jp/interfaces/ruby/archive/
diff --git a/databases/ruby-postgres/pkg-plist b/databases/ruby-postgres/pkg-plist
new file mode 100644
index 000000000000..1535649e3bc3
--- /dev/null
+++ b/databases/ruby-postgres/pkg-plist
@@ -0,0 +1,15 @@
+%%RUBY_SITEARCHLIBDIR%%/postgres.so
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/losample.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/psql.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/psqlHelp.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test1.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test4.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/postgres.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/postgres.jp.html
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%