pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/ruby-postgresql Migrate ruby-postgresql to u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3436cc788b24
branches:  trunk
changeset: 484462:3436cc788b24
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 15:47:02 2004 +0000

description:
Migrate ruby-postgresql to use new framework for Ruby packages.

diffstat:

 databases/ruby-postgresql/Makefile |  18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)

diffs (42 lines):

diff -r 81b9d1ad7984 -r 3436cc788b24 databases/ruby-postgresql/Makefile
--- a/databases/ruby-postgresql/Makefile        Sat Nov 27 15:45:57 2004 +0000
+++ b/databases/ruby-postgresql/Makefile        Sat Nov 27 15:47:02 2004 +0000
@@ -1,23 +1,20 @@
-# $NetBSD: Makefile,v 1.16 2004/07/27 19:46:54 recht Exp $
+# $NetBSD: Makefile,v 1.17 2004/11/27 15:47:02 taca Exp $
 
 DISTNAME=              ruby-postgres-${VERSION}
-PKGNAME=               ${RUBY_PKGNAMEPREFIX}postgresql-${VERSION}
-PKGREVISION=           1
+PKGNAME=               ${RUBY_PKGPREFIX}-postgresql-${VERSION}
 CATEGORIES=            databases ruby
 MASTER_SITES=          http://www.postgresql.jp/interfaces/ruby/archive/
 
 MAINTAINER=            tech-pkg%NetBSD.org@localhost
-HOMEPAGE=              http://www.postgresql.jp/interfaces/ruby/
+HOMEPAGE=              http://www.postgresql.jp/interfaces/ruby/a
 COMMENT=               Ruby extension for postgresql
 
 USE_BUILDLINK3=                yes
-
+USE_RUBY_EXTCONF=      yes
 VERSION=               0.7.1
-DIST_SUBDIR=           ruby
-USE_RUBY_EXTCONF=      yes
-CONFIGURE_ARGS+=       --with-pgsql-include-dir=${PGSQL_PREFIX}/include/postgresql \
-                       --with-pgsql-lib-dir=${PGSQL_PREFIX}/lib
 INSTALL_TARGET=                site-install
+CONFIGURE_ARGS+= --with-pgsql-include-dir=${PGSQL_PREFIX}/include/postgresql \
+                --with-pgsql-lib-dir=${PGSQL_PREFIX}/lib
 
 DOC=                   README README.ja doc/postgres.html doc/postgres.ja.html
 EXAMPLE_LIBS=          losample.rb psqlHelp.rb
@@ -44,7 +41,6 @@
        ${INSTALL_SCRIPT} ${WRKSRC}/sample/$f ${RUBY_EXAMPLESDIR}/postgresql
 .endfor
 
-.include "../../lang/ruby-base/Makefile.common"
-.include "../../lang/ruby-base/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
 .include "../../mk/pgsql.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index