source: trunk/dports/databases/gauche-dbd-pg/Portfile @ 36963

Last change on this file since 36963 was 36963, checked in by jmr@…, 11 years ago

gauche-dbd-pg: dependency cleanup. Don't put the same ports in depends_build and depends_lib, and change the nonexistent 'postgresql' dependency in the postgresql7 variant to 'postgresql7'. Closes #15363.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 910 bytes
Line 
1# $Id: Portfile 36963 2008-05-21 11:12:55Z jmr@macports.org $
2
3PortSystem 1.0
4name                gauche-dbd-pg
5version             0.2.1
6categories          databases scheme
7maintainers         nomaintainer
8description         Gauche database driver for PostgreSQL
9homepage            http://www.kahua.org/cgi-bin/kahua.fcgi/kahua-web/show/dev/DBI
10master_sites        http://www.kahua.org/download/dbi/
11distname            Gauche-dbd-pg-${version}
12extract.suffix          .tgz
13checksums           md5 453dc296365dfbc47d465f29e6552627
14depends_lib         port:gauche lib:libpq:postgresql80
15configure.env-append PATH=${prefix}/lib/pgsql8/bin:\${PATH}
16test.run            yes
17test.target         check
18destroot.destdir    prefix=${destroot}${prefix}
19
20variant postgresql7 {
21    configure.env-delete PATH=${prefix}/lib/pgsql8/bin:\${PATH}
22    configure.env-append PATH=${prefix}/bin:\${PATH}
23    depends_lib-delete lib:libpq:postgresql80
24    depends_lib     port:postgresql7
25}
Note: See TracBrowser for help on using the repository browser.