source: trunk/dports/aqua/pgAdmin3/Portfile @ 94094

Last change on this file since 94094 was 94094, checked in by jwa@…, 8 years ago

version bump to 1.14.3

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.7 KB
Line 
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# $Id: Portfile 94094 2012-06-09 09:18:13Z jwa@macports.org $
3
4PortSystem 1.0
5PortGroup               archcheck 1.0
6
7name            pgAdmin3
8version         1.14.3
9
10categories      aqua
11maintainers     jwa
12
13description     An administration program to PostgreSQL
14long_description pgAdmin III is a powerful administration and development \
15    platform for the PostgreSQL database, free for any use. The \
16    application works on several platforms, e.g. GNU/Linux, FreeBSD, \
17    OS X and Windows 2000/XP. This port is for OS X.
18
19platforms       macosx
20homepage        http://www.pgadmin.org/
21
22master_sites    http://developer.pgadmin.org/ftp/release/v${version}/src/ \
23    http://www.postgresql.org/ftp/pgadmin3/release/v${version}/src/ \
24                        postgresql:pgadmin3/release/v${version}/src/
25
26distname        pgadmin3-${version}
27
28checksums           rmd160  e7846f76c54a935ba1395265f0c2de265c199c45 \
29                    sha256  00724a88b9f9f6ded24c98052053aef9b09a6a51816fbe9809f398307de12dd7
30
31depends_lib     port:postgresql91 \
32    port:wxWidgets \
33    port:openssl \
34    port:libxml2 \
35    port:libxslt
36
37archcheck.files lib/postgresql91/libpq.dylib \
38    lib/libwx_macu_gl-2.8.dylib
39#    lib/libwx_osx_cocoau_gl-2.9.dylib
40
41configure.args  --with-pgsql=${prefix}/lib/postgresql91 \
42    --with-wx=${prefix} \
43    --with-wx-version=2.8 \
44    --with-libxml2=${prefix} \
45    --with-libxslt=${prefix} \
46    --enable-appbundle
47
48use_parallel_build      no
49build.target    all install
50
51supported_archs i386 ppc
52
53# wxWidgets is not universal
54universal_variant no
55
56#destroot.violate_mtree yes
57destroot {
58    xinstall -d -m 0755 ${destroot}${applications_dir}
59    file copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}/${name}.app
60}
61
62variant with_postgresql82 conflicts with_postgresql83 with_postgresql84 with_postgresql90 \
63    description {support for PostgreSQL 8.2.x} {
64        archcheck.files-delete lib/postgresql91/libpq.dylib
65        archcheck.files-append lib/postgresql82/libpq.dylib
66        depends_lib-delete      port:postgresql91
67        depends_lib-delete      --with-pgsql=${prefix}/lib/postgresql91
68        depends_lib-append      port:postgresql82
69        configure.args-append   --with-pgsql=${prefix}/lib/postgresql82
70}
71
72variant with_postgresql83 conflicts with_postgresql82 with_postgresql84 with_postgresql90 \
73    description {support for PostgreSQL 8.3.x} {
74        archcheck.files-delete lib/postgresql91/libpq.dylib
75        archcheck.files-append lib/postgresql83/libpq.dylib
76        depends_lib-delete      port:postgresql91
77        depends_lib-delete      --with-pgsql=${prefix}/lib/postgresql91
78        depends_lib-append      port:postgresql83
79        configure.args-append   --with-pgsql=${prefix}/lib/postgresql83
80}
81
82variant with_postgresql84 conflicts with_postgresql82 with_postgresql83 with_postgresql90 \
83    description {support for PostgreSQL 8.4.x} {
84        archcheck.files-delete lib/postgresql91/libpq.dylib
85        archcheck.files-append lib/postgresql84/libpq.dylib
86        depends_lib-delete      port:postgresql91
87        depends_lib-delete      --with-pgsql=${prefix}/lib/postgresql91
88        depends_lib-append      port:postgresql84
89        configure.args-append   --with-pgsql=${prefix}/lib/postgresql84
90}
91
92variant with_postgresql90 conflicts with_postgresql82 with_postgresql83 with_postgresql84 \
93    description {support for PostgreSQL 9.0.x} {
94        archcheck.files-delete lib/postgresql91/libpq.dylib
95        archcheck.files-append lib/postgresql90/libpq.dylib
96        depends_lib-delete      port:postgresql91
97        depends_lib-delete      --with-pgsql=${prefix}/lib/postgresql91
98        depends_lib-append      port:postgresql90
99        configure.args-append   --with-pgsql=${prefix}/lib/postgresql90
100}
101
102variant debug description {provide a debug build in case of difficulties} {
103    configure.args-append       --enable-debug
104}
105
106livecheck.type  regex
107livecheck.url   ${homepage}
108livecheck.regex pgAdmin v(1\\.\[0-9\]+\\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.