1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | # $Id$ |
---|
4 | |
---|
5 | PortSystem 1.0 |
---|
6 | |
---|
7 | name libpqxx |
---|
8 | version 2.6.9 |
---|
9 | |
---|
10 | categories databases devel |
---|
11 | |
---|
12 | maintainers gmail.com:darren.weber.lists |
---|
13 | |
---|
14 | description Official C++ client API for PostgreSQL |
---|
15 | |
---|
16 | long_description \ |
---|
17 | libpqxx is the official C++ client API for PostgreSQL,\ |
---|
18 | \nthe enterprise-strength open-source database software.\ |
---|
19 | \n(If \"PostgreSQL\" is too verbose, call it \"postgres\"). |
---|
20 | |
---|
21 | homepage http://pqxx.org/development/libpqxx/ |
---|
22 | master_sites http://pqxx.org/download/software/libpqxx/ |
---|
23 | |
---|
24 | #distname ${name}-${version} |
---|
25 | distfiles ${distname}.tar.gz |
---|
26 | |
---|
27 | checksums \ |
---|
28 | ${distname}.tar.gz \ |
---|
29 | md5 0b0c64af41dfdeea8556dc359994e1cb \ |
---|
30 | sha1 8be9dcd0375337b170d5c94370fa896911d361f1 \ |
---|
31 | rmd160 c456b5a3ed3c96963aad334d3504ed0443a8f63e |
---|
32 | |
---|
33 | platforms darwin |
---|
34 | depends_lib port:postgresql83 |
---|
35 | |
---|
36 | # The pg_config script must be available on the path, so |
---|
37 | # export PATH=/usr/local/pgsql/bin:${PATH}. |
---|
38 | # If using the macports install of postgresql83, then use |
---|
39 | # export PATH=/opt/local/lib/postgresql83/bin:${PATH}. |
---|
40 | # Then configure and build using shared libraries: |
---|
41 | # ./configure --enable-shared; make; sudo make install |
---|
42 | # will put the library into /usr/local/... |
---|
43 | |
---|
44 | #configure { |
---|
45 | # system "cd ${worksrcpath} && ${configure.env} && ./configure ${configure.args}" |
---|
46 | #} |
---|
47 | |
---|
48 | configure.args-append \ |
---|
49 | --enable-shared |
---|
50 | |
---|
51 | configure.env-append \ |
---|
52 | PG_CONFIG=/opt/local/lib/postgresql83/bin/pg_config |
---|
53 | |
---|
54 | |
---|
55 | # The $binpath is READ-ONLY, so how to add the pg_config to the path? |
---|
56 | #configure.env \ |
---|
57 | # PATH={$prefix}/lib/postgresql83/bin:${binpath} |
---|
58 | |
---|