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

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

pgAdmin3: upgrade to 1.18.0, declare Permissive licence (#40608, #40694, #40743)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.1 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 112213 2013-10-15 09:42:53Z mojca@macports.org $
3
4PortSystem          1.0
5PortGroup           wxWidgets 1.0
6
7name                pgAdmin3
8version             1.18.0
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
20license             Permissive
21homepage            http://www.pgadmin.org/
22
23master_sites        http://developer.pgadmin.org/ftp/release/v${version}/src/ \
24                    http://www.postgresql.org/ftp/pgadmin3/release/v${version}/src/ \
25                    postgresql:pgadmin3/release/v${version}/src/
26
27distname            pgadmin3-${version}
28
29checksums           rmd160  0f3a117c4f48abc8a61f2e652bdff4ebe4eb5a59 \
30                    sha256  58f29f5a380a49065e4b97bd9c8effd12ae99f464fa8834ba403baa2a658278d
31
32wxWidgets.use       wxWidgets-3.0
33
34depends_lib         port:openssl \
35                    port:libxml2 \
36                    port:libxslt \
37                    port:${wxWidgets.port}
38
39configure.args      --with-wx=${wxWidgets.prefix} \
40                    --with-wx-version=${wxWidgets.version} \
41                    --with-libxml2=${prefix} \
42                    --with-libxslt=${prefix} \
43                    --with-arch-x86_64 \
44                    --enable-appbundle
45
46use_parallel_build  no
47build.target        all install
48
49universal_variant   no
50
51post-configure {
52    system -W ${worksrcpath} "patch -p0 <${filespath}/patch-Makefile.diff"
53}
54
55#destroot.violate_mtree yes
56destroot {
57    xinstall -d -m 0755 ${destroot}${applications_dir}
58    file copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}/${name}.app
59}
60
61variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 postgresql92 \
62    description {support for PostgreSQL 8.3.x} {
63    depends_lib-append      port:postgresql83
64    configure.args-append   --with-pgsql=${prefix}/lib/postgresql83
65}
66
67variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 postgresql92 \
68    description {support for PostgreSQL 8.4.x} {
69    depends_lib-append      port:postgresql84
70    configure.args-append   --with-pgsql=${prefix}/lib/postgresql84
71}
72
73variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 postgresql92 \
74    description {support for PostgreSQL 9.0.x} {
75    depends_lib-append      port:postgresql90
76    configure.args-append   --with-pgsql=${prefix}/lib/postgresql90
77}
78
79variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 postgresql92 \
80    description {support for PostgreSQL 9.1.x} {
81    depends_lib-append      port:postgresql91
82    configure.args-append   --with-pgsql=${prefix}/lib/postgresql91
83}
84
85variant postgresql92 conflicts postgresql83 postgresql84 postgresql90 postgresql91 \
86    description {support for PostgreSQL 9.2.x} {
87    depends_lib-append      port:postgresql92
88    configure.args-append   --with-pgsql=${prefix}/lib/postgresql92
89}
90
91if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92]} {
92    default_variants        +postgresql92
93}
94
95variant debug description {provide a debug build in case of difficulties} {
96    configure.args-append   --enable-debug
97}
98
99variant with_postgresql83 requires postgresql83 description {Legacy compatibility variant} {}
100variant with_postgresql84 requires postgresql84 description {Legacy compatibility variant} {}
101variant with_postgresql90 requires postgresql90 description {Legacy compatibility variant} {}
102variant with_postgresql91 requires postgresql91 description {Legacy compatibility variant} {}
103variant with_postgresql92 requires postgresql92 description {Legacy compatibility variant} {}
104
105livecheck.type      regex
106livecheck.url       ${homepage}
107livecheck.regex     pgAdmin v(1\\.\[0-9\]+\\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.