summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/ruby-mysql/Makefile18
-rw-r--r--databases/ruby-mysql/pkg-descr1
-rw-r--r--databases/ruby-mysql/pkg-plist2
-rw-r--r--databases/ruby-postgres/Makefile14
-rw-r--r--databases/ruby-postgres/pkg-descr1
-rw-r--r--databases/rubygem-postgres/Makefile14
-rw-r--r--databases/rubygem-postgres/pkg-descr1
7 files changed, 27 insertions, 24 deletions
diff --git a/databases/ruby-mysql/Makefile b/databases/ruby-mysql/Makefile
index 5dcff66b2e3d..2c3a6a1bb405 100644
--- a/databases/ruby-mysql/Makefile
+++ b/databases/ruby-mysql/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: Ruby-MySQL
-# Date created: 7 Aug 2000
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+# New ports collection makefile for: Ruby-MySQL
+# Date created: 7 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
@@ -19,19 +19,19 @@ BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+INSTALL_TARGET= site-install
+
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
-RUBY= ${LOCALBASE}/bin/ruby
-RUBY_VER= 1.4
-RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+RUBY?= ${LOCALBASE}/bin/ruby
+RUBY_VER?= 1.4
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
do-configure:
@cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
-do-install:
- @cd ${WRKSRC}; \
- ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}
+post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/mysql/ja
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/mysql/
diff --git a/databases/ruby-mysql/pkg-descr b/databases/ruby-mysql/pkg-descr
index 189a24aa6b3a..37fa1e8b8363 100644
--- a/databases/ruby-mysql/pkg-descr
+++ b/databases/ruby-mysql/pkg-descr
@@ -1,4 +1,5 @@
This is a Ruby module for accessing MySQL databases, which has the
same functions as C API.
+Author: TOMITA Masahiro <tommy@tmtm.org>
WWW: http://www.tmtm.org/mysql/ruby/README
diff --git a/databases/ruby-mysql/pkg-plist b/databases/ruby-mysql/pkg-plist
index 63cb1ac4de43..b62f12b041a3 100644
--- a/databases/ruby-mysql/pkg-plist
+++ b/databases/ruby-mysql/pkg-plist
@@ -1,4 +1,4 @@
-lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/mysql.so
+lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/mysql.so
share/doc/ruby/mysql/ja/README.jp
share/doc/ruby/mysql/README
@dirrm share/doc/ruby/mysql/ja
diff --git a/databases/ruby-postgres/Makefile b/databases/ruby-postgres/Makefile
index 1901405a3808..5c9548e373fb 100644
--- a/databases/ruby-postgres/Makefile
+++ b/databases/ruby-postgres/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: ruby-postgres
-# Date created: 19 April 1999
-# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
+# New ports collection makefile for: ruby-postgres
+# Date created: 19 April 1999
+# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@@ -23,9 +23,9 @@ CONFIGURE_ARGS+= --with-pgsql-include-dir="${PGDIR}/include" \
--with-pgsql-lib-dir="${PGDIR}/lib"
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
-RUBY= ${PREFIX}/bin/ruby
-RUBY_VER= 1.4
-RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+RUBY?= ${PREFIX}/bin/ruby
+RUBY_VER?= 1.4
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
PGDIR?= ${PREFIX}/pgsql
@@ -36,9 +36,9 @@ do-configure:
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
post-install:
+.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/postgres
${INSTALL_DATA} ${WRKSRC}/sample/* ${PREFIX}/share/examples/ruby/postgres/
-.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/postgres/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/postgres/
diff --git a/databases/ruby-postgres/pkg-descr b/databases/ruby-postgres/pkg-descr
index b16cc402eb53..d9bdd0f48c5e 100644
--- a/databases/ruby-postgres/pkg-descr
+++ b/databases/ruby-postgres/pkg-descr
@@ -1,4 +1,5 @@
This is an extention module to access PostgreSQL database from Ruby.
This library works with PostgreSQL 6.4/6.5 and 7.0.
+Author: Noboru Saitou <noborus@mb.kcom.ne.jp>
WWW: http://webclub.kcom.ne.jp/mb/noborus/postgres/index.html
diff --git a/databases/rubygem-postgres/Makefile b/databases/rubygem-postgres/Makefile
index 1901405a3808..5c9548e373fb 100644
--- a/databases/rubygem-postgres/Makefile
+++ b/databases/rubygem-postgres/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: ruby-postgres
-# Date created: 19 April 1999
-# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
+# New ports collection makefile for: ruby-postgres
+# Date created: 19 April 1999
+# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@@ -23,9 +23,9 @@ CONFIGURE_ARGS+= --with-pgsql-include-dir="${PGDIR}/include" \
--with-pgsql-lib-dir="${PGDIR}/lib"
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
-RUBY= ${PREFIX}/bin/ruby
-RUBY_VER= 1.4
-RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+RUBY?= ${PREFIX}/bin/ruby
+RUBY_VER?= 1.4
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
PGDIR?= ${PREFIX}/pgsql
@@ -36,9 +36,9 @@ do-configure:
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
post-install:
+.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/postgres
${INSTALL_DATA} ${WRKSRC}/sample/* ${PREFIX}/share/examples/ruby/postgres/
-.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/postgres/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/postgres/
diff --git a/databases/rubygem-postgres/pkg-descr b/databases/rubygem-postgres/pkg-descr
index b16cc402eb53..d9bdd0f48c5e 100644
--- a/databases/rubygem-postgres/pkg-descr
+++ b/databases/rubygem-postgres/pkg-descr
@@ -1,4 +1,5 @@
This is an extention module to access PostgreSQL database from Ruby.
This library works with PostgreSQL 6.4/6.5 and 7.0.
+Author: Noboru Saitou <noborus@mb.kcom.ne.jp>
WWW: http://webclub.kcom.ne.jp/mb/noborus/postgres/index.html