source: trunk/dports/aqua/pgAdmin3/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.0 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 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           wxWidgets 1.0
6
7name                pgAdmin3
8version             1.22.1
9revision            1
10
11categories          aqua
12maintainers         jwa
13
14description         An administration program to PostgreSQL
15long_description    pgAdmin III is a powerful administration and development \
16                    platform for the PostgreSQL database, free for any use. The \
17                    application works on several platforms, e.g. GNU/Linux, FreeBSD, \
18                    OS X and Windows 2000/XP. This port is for OS X.
19
20platforms           macosx
21license             Permissive
22homepage            http://www.pgadmin.org/
23
24master_sites        http://developer.pgadmin.org/ftp/release/v${version}/src/ \
25                    http://www.postgresql.org/ftp/pgadmin3/release/v${version}/src/ \
26                    postgresql:pgadmin3/release/v${version}/src/
27
28distname            pgadmin3-${version}
29
30checksums           rmd160  bff5e07715dbe753b251afec3633f387a1a1878f \
31                    sha256  719ea7c0e65d99e8f365bf2d395d7a199804170b3266ada1374d9ac790bc783e
32
33wxWidgets.use       wxWidgets-3.0
34
35depends_lib         path:lib/libssl.dylib:openssl \
36                    port:libxml2 \
37                    port:libxslt \
38                    port:${wxWidgets.port}
39
40configure.args      --with-wx=${wxWidgets.prefix} \
41                    --with-wx-version=${wxWidgets.version} \
42                    --with-libxml2=${prefix} \
43                    --with-libxslt=${prefix} \
44                    --with-arch-x86_64 \
45                    --enable-appbundle
46
47use_parallel_build  no
48build.target        all install
49
50universal_variant   no
51
52post-configure {
53    system -W ${worksrcpath} "patch -p0 <${filespath}/patch-Makefile.diff"
54    reinplace "s;wxrc;${wxWidgets.wxrc};" ${worksrcpath}/pgadmin/ui/embed-xrc
55}
56
57destroot.violate_mtree yes
58destroot {
59    xinstall -d -m 0755 ${destroot}${applications_dir}
60    file copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}/${name}.app
61}
62
63variant postgresql91 conflicts postgresql92 postgresql93 postgresql94 postgresql95 \
64    description {support for PostgreSQL 9.1.x} {
65    depends_lib-append      port:postgresql91
66    configure.args-append   --with-pgsql=${prefix}/lib/postgresql91
67}
68
69variant postgresql92 conflicts postgresql91 postgresql93 postgresql94 postgresql95 \
70    description {support for PostgreSQL 9.2.x} {
71    depends_lib-append      port:postgresql92
72    configure.args-append   --with-pgsql=${prefix}/lib/postgresql92
73}
74
75variant postgresql93 conflicts postgresql91 postgresql92 postgresql94 postgresql95 \
76    description {support for PostgreSQL 9.3.x} {
77    depends_lib-append      port:postgresql93
78    configure.args-append   --with-pgsql=${prefix}/lib/postgresql93
79}
80
81variant postgresql94 conflicts postgresql91 postgresql92 postgresql93 postgresql95 \
82    description {support for PostgreSQL 9.4.x} {
83    depends_lib-append      port:postgresql94
84    configure.args-append   --with-pgsql=${prefix}/lib/postgresql94
85}
86
87variant postgresql95 conflicts postgresql91 postgresql92 postgresql93 postgresql94 \
88    description {support for PostgreSQL 9.5.x} {
89    depends_lib-append      port:postgresql95
90    configure.args-append   --with-pgsql=${prefix}/lib/postgresql95
91}
92
93if {![variant_isset postgresql91] && ![variant_isset postgresql92]  && ![variant_isset postgresql93] && ![variant_isset postgresql94] && ![variant_isset postgresql95]} {
94    default_variants        +postgresql95
95}
96
97variant debug description {provide a debug build in case of difficulties} {
98    configure.args-append   --enable-debug
99}
100
101variant with_postgresql91 requires postgresql91 description {Legacy compatibility variant} {}
102variant with_postgresql92 requires postgresql92 description {Legacy compatibility variant} {}
103
104livecheck.type      regex
105livecheck.url       ${homepage}
106livecheck.regex     pgAdmin v(1\\.\[0-9\]+\\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.