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

Last change on this file since 113329 was 113329, checked in by mojca@…, 6 years ago

revbump the wxWidgets dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.2 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 113329 2013-11-13 16:53:30Z mojca@macports.org $
3
4PortSystem          1.0
5PortGroup           wxWidgets 1.0
6
7name                pgAdmin3
8version             1.18.0
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  0f3a117c4f48abc8a61f2e652bdff4ebe4eb5a59 \
31                    sha256  58f29f5a380a49065e4b97bd9c8effd12ae99f464fa8834ba403baa2a658278d
32
33wxWidgets.use       wxWidgets-3.0
34
35depends_lib         port: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}
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 postgresql83 conflicts postgresql84 postgresql90 postgresql91 postgresql92 \
63    description {support for PostgreSQL 8.3.x} {
64    depends_lib-append      port:postgresql83
65    configure.args-append   --with-pgsql=${prefix}/lib/postgresql83
66}
67
68variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 postgresql92 \
69    description {support for PostgreSQL 8.4.x} {
70    depends_lib-append      port:postgresql84
71    configure.args-append   --with-pgsql=${prefix}/lib/postgresql84
72}
73
74variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 postgresql92 \
75    description {support for PostgreSQL 9.0.x} {
76    depends_lib-append      port:postgresql90
77    configure.args-append   --with-pgsql=${prefix}/lib/postgresql90
78}
79
80variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 postgresql92 \
81    description {support for PostgreSQL 9.1.x} {
82    depends_lib-append      port:postgresql91
83    configure.args-append   --with-pgsql=${prefix}/lib/postgresql91
84}
85
86variant postgresql92 conflicts postgresql83 postgresql84 postgresql90 postgresql91 \
87    description {support for PostgreSQL 9.2.x} {
88    depends_lib-append      port:postgresql92
89    configure.args-append   --with-pgsql=${prefix}/lib/postgresql92
90}
91
92if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92]} {
93    default_variants        +postgresql92
94}
95
96variant debug description {provide a debug build in case of difficulties} {
97    configure.args-append   --enable-debug
98}
99
100variant with_postgresql83 requires postgresql83 description {Legacy compatibility variant} {}
101variant with_postgresql84 requires postgresql84 description {Legacy compatibility variant} {}
102variant with_postgresql90 requires postgresql90 description {Legacy compatibility variant} {}
103variant with_postgresql91 requires postgresql91 description {Legacy compatibility variant} {}
104variant with_postgresql92 requires postgresql92 description {Legacy compatibility variant} {}
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.