Annotation of pkgsrc/databases/ruby-postgresql/Makefile, revision 1.32

1.32    ! wiz         1: # $NetBSD: Makefile,v 1.31 2007/02/22 19:26:19 wiz Exp $
1.1       mjl         2: 
1.5       taca        3: DISTNAME=              ruby-postgres-${VERSION}
1.17      taca        4: PKGNAME=               ${RUBY_PKGPREFIX}-postgresql-${VERSION}
1.30      joerg       5: PKGREVISION=           8
1.12      taca        6: CATEGORIES=            databases ruby
1.24      taca        7: MASTER_SITES=          http://raa.ruby-lang.org/cache/postgres/ \
1.32    ! wiz         8:                        http://ruby.scripting.ca/postgres/archive/
1.5       taca        9: 
1.29      jlam       10: MAINTAINER=            pkgsrc-users@NetBSD.org
1.24      taca       11: HOMEPAGE=              http://ruby.scripting.ca/postgres/
1.5       taca       12: COMMENT=               Ruby extension for postgresql
                     13: 
1.18      taca       14: RUBY_HAS_ARCHLIB=      yes
1.31      wiz        15: USE_RUBY_EXTCONF=      yes
1.9       taca       16: VERSION=               0.7.1
1.5       taca       17: INSTALL_TARGET=                site-install
1.17      taca       18: CONFIGURE_ARGS+= --with-pgsql-include-dir=${PGSQL_PREFIX}/include/postgresql \
                     19:                 --with-pgsql-lib-dir=${PGSQL_PREFIX}/lib
1.5       taca       20: 
                     21: DOC=                   README README.ja doc/postgres.html doc/postgres.ja.html
                     22: EXAMPLE_LIBS=          losample.rb psqlHelp.rb
                     23: EXAMPLE_SCRIPTS=       psql.rb test1.rb test2.rb test4.rb
                     24: REPLACE_RUBY=          sample/psql.rb sample/test1.rb sample/test2.rb \
                     25:                        sample/test4.rb
                     26: 
                     27: pre-install:
                     28:        @cd ${WRKSRC}; \
                     29:                ${CP} -p doc/postgres.jp.html doc/postgres.ja.html
1.3       taca       30: 
                     31: post-install:
1.5       taca       32:        ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/postgresql
1.3       taca       33: .for f in ${DOC}
1.20      taca       34:        ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/postgresql
1.3       taca       35: .endfor
                     36:        ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/postgresql
                     37: .for f in ${EXAMPLE_LIBS}
1.20      taca       38:        ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/postgresql
1.3       taca       39: .endfor
                     40: .for f in ${EXAMPLE_SCRIPTS}
1.20      taca       41:        ${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/postgresql
1.3       taca       42: .endfor
1.1       mjl        43: 
1.17      taca       44: .include "../../lang/ruby/modules.mk"
1.15      recht      45: .include "../../mk/pgsql.buildlink3.mk"
1.1       mjl        46: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>