summaryrefslogtreecommitdiff
path: root/databases/ruby-postgresql
diff options
context:
space:
mode:
authormjl <mjl>2001-07-08 15:24:05 +0000
committermjl <mjl>2001-07-08 15:24:05 +0000
commit07b610f09b32a2cfaef6f28a5f1b6eaaf3c5f914 (patch)
tree22a1712a8b1803cbd71f3e2cc40965daad5de9a9 /databases/ruby-postgresql
parent4c32dd0268491a766908dfa4cd6d9228eaa369d5 (diff)
downloadpkgsrc-07b610f09b32a2cfaef6f28a5f1b6eaaf3c5f914.tar.gz
Initial import of ruby-postgresql, a ruby module to access postgres
databases.
Diffstat (limited to 'databases/ruby-postgresql')
-rw-r--r--databases/ruby-postgresql/Makefile22
-rw-r--r--databases/ruby-postgresql/distinfo4
-rw-r--r--databases/ruby-postgresql/pkg/DESCR1
-rw-r--r--databases/ruby-postgresql/pkg/PLIST2
4 files changed, 29 insertions, 0 deletions
diff --git a/databases/ruby-postgresql/Makefile b/databases/ruby-postgresql/Makefile
new file mode 100644
index 00000000000..2bb2de9d5da
--- /dev/null
+++ b/databases/ruby-postgresql/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/08 15:24:05 mjl Exp $
+
+DISTNAME= ruby-postgres-0.6.4
+PKGNAME= ${RUBY_PKGNAMEPREFIX}postgresql-0.6.4
+CATEGORIES= databases
+MASTER_SITES= http://www.jp.postgresql.org/interfaces/ruby/archive/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.jp.postgresql.org/interfaces/ruby/
+COMMENT= Ruby extension for postgresql
+
+DEPENDS+= postgresql-lib>=7.1:../../databases/postgresql-lib
+
+USE_RUBY_EXTCONF= yes
+CONFIGURE_ARGS+=--with-pgsql-include-dir=${PREFIX}/include/pgsql \
+ --with-pgsql-lib-dir=${PREFIX}/lib
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/postgres.so ${RUBY_SITELIBDIR}/postgres.so
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-postgresql/distinfo b/databases/ruby-postgresql/distinfo
new file mode 100644
index 00000000000..05561af0c52
--- /dev/null
+++ b/databases/ruby-postgresql/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/08 15:24:05 mjl Exp $
+
+SHA1 (ruby-postgres-0.6.4.tar.gz) = 2f96d9f3acf29e3f9b15a6a79f1eba85906a1e51
+Size (ruby-postgres-0.6.4.tar.gz) = 27380 bytes
diff --git a/databases/ruby-postgresql/pkg/DESCR b/databases/ruby-postgresql/pkg/DESCR
new file mode 100644
index 00000000000..f89a1ee9ead
--- /dev/null
+++ b/databases/ruby-postgresql/pkg/DESCR
@@ -0,0 +1 @@
+This is the extension library to access a PostgreSQL database from Ruby.
diff --git a/databases/ruby-postgresql/pkg/PLIST b/databases/ruby-postgresql/pkg/PLIST
new file mode 100644
index 00000000000..5ea1a6f5ea3
--- /dev/null
+++ b/databases/ruby-postgresql/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/08 15:24:05 mjl Exp $
+${RUBY_SITELIBDIR}/postgres.so