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