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

1.8     ! grant       1: # $NetBSD: Makefile,v 1.7 2003/06/02 01:21:00 jschauma Exp $
1.1       mjl         2: 
1.5       taca        3: DISTNAME=              ruby-postgres-${VERSION}
                      4: PKGNAME=               ${RUBY_PKGNAMEPREFIX}postgresql-${VERSION}
1.6       jlam        5: PKGREVISION=           1
1.5       taca        6: CATEGORIES=            databases
                      7: MASTER_SITES=          http://www.postgresql.jp/interfaces/ruby/archive/
                      8: 
1.8     ! grant       9: MAINTAINER=            tech-pkg@NetBSD.org
1.5       taca       10: HOMEPAGE=              http://www.postgresql.jp/interfaces/ruby/
                     11: COMMENT=               Ruby extension for postgresql
                     12: 
1.6       jlam       13: DEPENDS+=              postgresql-lib>=7.3.1:../../databases/postgresql-lib
1.5       taca       14: 
                     15: VERSION=               0.6.5
                     16: DIST_SUBDIR=           ruby
                     17: USE_RUBY_EXTCONF=      yes
1.6       jlam       18: CONFIGURE_ARGS+=       --with-pgsql-include-dir=${PREFIX}/include/postgresql \
1.5       taca       19:                        --with-pgsql-lib-dir=${PREFIX}/lib
                     20: INSTALL_TARGET=                site-install
                     21: 
                     22: DOC=                   README README.ja doc/postgres.html doc/postgres.ja.html
                     23: EXAMPLE_LIBS=          losample.rb psqlHelp.rb
                     24: EXAMPLE_SCRIPTS=       psql.rb test1.rb test2.rb test4.rb
                     25: REPLACE_RUBY=          sample/psql.rb sample/test1.rb sample/test2.rb \
                     26:                        sample/test4.rb
                     27: 
                     28: pre-install:
                     29:        @cd ${WRKSRC}; \
                     30:                ${CP} -p README.jp README.ja; \
                     31:                ${CP} -p doc/postgres.jp.html doc/postgres.ja.html
1.3       taca       32: 
                     33: post-install:
1.5       taca       34:        ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/postgresql
1.3       taca       35: .for f in ${DOC}
                     36:        ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/postgresql
                     37: .endfor
                     38:        ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/postgresql
                     39: .for f in ${EXAMPLE_LIBS}
                     40:        ${INSTALL_DATA} ${WRKSRC}/sample/$f ${RUBY_EXAMPLESDIR}/postgresql
                     41: .endfor
                     42: .for f in ${EXAMPLE_SCRIPTS}
                     43:        ${INSTALL_SCRIPT} ${WRKSRC}/sample/$f ${RUBY_EXAMPLESDIR}/postgresql
                     44: .endfor
1.1       mjl        45: 
                     46: .include "../../lang/ruby-base/Makefile.common"
                     47: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>