summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/ruby-postgresql/Makefile49
-rw-r--r--databases/ruby-postgresql/PLIST7
-rw-r--r--databases/ruby-postgresql/distinfo6
3 files changed, 32 insertions, 30 deletions
diff --git a/databases/ruby-postgresql/Makefile b/databases/ruby-postgresql/Makefile
index 3aae0813885..1a3e6aaf8a9 100644
--- a/databases/ruby-postgresql/Makefile
+++ b/databases/ruby-postgresql/Makefile
@@ -1,36 +1,39 @@
-# $NetBSD: Makefile,v 1.4 2001/07/31 00:09:44 taca Exp $
+# $NetBSD: Makefile,v 1.5 2002/01/19 11:03:20 taca 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/
+DISTNAME= ruby-postgres-${VERSION}
+PKGNAME= ${RUBY_PKGNAMEPREFIX}postgresql-${VERSION}
+CATEGORIES= databases
+MASTER_SITES= http://www.postgresql.jp/interfaces/ruby/archive/
-MAINTAINER= packages@netbsd.org
-HOMEPAGE= http://www.jp.postgresql.org/interfaces/ruby/
-COMMENT= Ruby extension for postgresql
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.postgresql.jp/interfaces/ruby/
+COMMENT= Ruby extension for postgresql
-DEPENDS+= postgresql-lib>=7.1:../../databases/postgresql-lib
+DEPENDS+= postgresql-lib>=7.1:../../databases/postgresql-lib
-DIST_SUBDIR= ruby
-USE_RUBY_EXTCONF= yes
-CONFIGURE_ARGS+=--with-pgsql-include-dir=${PREFIX}/include/pgsql \
- --with-pgsql-lib-dir=${PREFIX}/lib
-INSTALL_TARGET= site-install
+VERSION= 0.6.5
+DIST_SUBDIR= ruby
+USE_RUBY_EXTCONF= yes
+CONFIGURE_ARGS+= --with-pgsql-include-dir=${PREFIX}/include/pgsql \
+ --with-pgsql-lib-dir=${PREFIX}/lib
+INSTALL_TARGET= site-install
-DOC= README doc/postgres.html
-DOC_JA= README.jp doc/postgres.jp.html
-EXAMPLE_LIBS= losample.rb psqlHelp.rb
-EXAMPLE_SCRIPTS=psql.rb test1.rb test2.rb test4.rb
-REPLACE_RUBY= sample/psql.rb sample/test1.rb sample/test2.rb sample/test4.rb
+DOC= README README.ja doc/postgres.html doc/postgres.ja.html
+EXAMPLE_LIBS= losample.rb psqlHelp.rb
+EXAMPLE_SCRIPTS= psql.rb test1.rb test2.rb test4.rb
+REPLACE_RUBY= sample/psql.rb sample/test1.rb sample/test2.rb \
+ sample/test4.rb
+
+pre-install:
+ @cd ${WRKSRC}; \
+ ${CP} -p README.jp README.ja; \
+ ${CP} -p doc/postgres.jp.html doc/postgres.ja.html
post-install:
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/postgresql/ja
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/postgresql
.for f in ${DOC}
${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/postgresql
.endfor
-.for f in ${DOC_JA}
- ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/postgresql/ja
-.endfor
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/postgresql
.for f in ${EXAMPLE_LIBS}
${INSTALL_DATA} ${WRKSRC}/sample/$f ${RUBY_EXAMPLESDIR}/postgresql
diff --git a/databases/ruby-postgresql/PLIST b/databases/ruby-postgresql/PLIST
index 3b8f85ba598..f6913d61e39 100644
--- a/databases/ruby-postgresql/PLIST
+++ b/databases/ruby-postgresql/PLIST
@@ -1,15 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:12:50 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/01/19 11:03:20 taca Exp $
${RUBY_SITEARCHLIBDIR}/postgres.so
${RUBY_DOCDIR}/postgresql/README
+${RUBY_DOCDIR}/postgresql/README.ja
${RUBY_DOCDIR}/postgresql/postgres.html
-${RUBY_DOCDIR}/postgresql/ja/README.jp
-${RUBY_DOCDIR}/postgresql/ja/postgres.jp.html
+${RUBY_DOCDIR}/postgresql/postgres.ja.html
${RUBY_EXAMPLESDIR}/postgresql/losample.rb
${RUBY_EXAMPLESDIR}/postgresql/psql.rb
${RUBY_EXAMPLESDIR}/postgresql/psqlHelp.rb
${RUBY_EXAMPLESDIR}/postgresql/test1.rb
${RUBY_EXAMPLESDIR}/postgresql/test2.rb
${RUBY_EXAMPLESDIR}/postgresql/test4.rb
-@dirrm ${RUBY_DOCDIR}/postgresql/ja
@dirrm ${RUBY_DOCDIR}/postgresql
@dirrm ${RUBY_EXAMPLESDIR}/postgresql
diff --git a/databases/ruby-postgresql/distinfo b/databases/ruby-postgresql/distinfo
index 3798d0ad522..741511d15cd 100644
--- a/databases/ruby-postgresql/distinfo
+++ b/databases/ruby-postgresql/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/07/31 00:09:44 taca Exp $
+$NetBSD: distinfo,v 1.3 2002/01/19 11:03:20 taca Exp $
-SHA1 (ruby/ruby-postgres-0.6.4.tar.gz) = 2f96d9f3acf29e3f9b15a6a79f1eba85906a1e51
-Size (ruby/ruby-postgres-0.6.4.tar.gz) = 27380 bytes
+SHA1 (ruby/ruby-postgres-0.6.5.tar.gz) = bef9a8201143eb1f9bf73c84791a2ef4b0f24cb6
+Size (ruby/ruby-postgres-0.6.5.tar.gz) = 27451 bytes