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