Annotation of pkgsrc/databases/ruby-postgresql/Makefile, revision 1.5
1.5 ! taca 1: # $NetBSD: Makefile,v 1.4 2001/07/31 00:09:44 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:
! 8: MAINTAINER= packages@netbsd.org
! 9: HOMEPAGE= http://www.postgresql.jp/interfaces/ruby/
! 10: COMMENT= Ruby extension for postgresql
! 11:
! 12: DEPENDS+= postgresql-lib>=7.1:../../databases/postgresql-lib
! 13:
! 14: VERSION= 0.6.5
! 15: DIST_SUBDIR= ruby
! 16: USE_RUBY_EXTCONF= yes
! 17: CONFIGURE_ARGS+= --with-pgsql-include-dir=${PREFIX}/include/pgsql \
! 18: --with-pgsql-lib-dir=${PREFIX}/lib
! 19: INSTALL_TARGET= site-install
! 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 README.jp README.ja; \
! 30: ${CP} -p doc/postgres.jp.html doc/postgres.ja.html
1.3 taca 31:
32: post-install:
1.5 ! taca 33: ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/postgresql
1.3 taca 34: .for f in ${DOC}
35: ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/postgresql
36: .endfor
37: ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/postgresql
38: .for f in ${EXAMPLE_LIBS}
39: ${INSTALL_DATA} ${WRKSRC}/sample/$f ${RUBY_EXAMPLESDIR}/postgresql
40: .endfor
41: .for f in ${EXAMPLE_SCRIPTS}
42: ${INSTALL_SCRIPT} ${WRKSRC}/sample/$f ${RUBY_EXAMPLESDIR}/postgresql
43: .endfor
1.1 mjl 44:
45: .include "../../lang/ruby-base/Makefile.common"
46: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>