# $Id$ PortSystem 1.0 name pgAdmin3 version 1.10.1 categories aqua maintainers jwa description An administration program to PostgreSQL long_description pgAdmin III is a powerful administration and development \ platform for the PostgreSQL database, free for any use. The \ application works on several platforms, e.g. GNU/Linux, FreeBSD, \ OS X and Windows 2000/XP. This port is for OS X. platforms macosx homepage http://www.pgadmin.org/ master_sites http://developer.pgadmin.org/ftp/release/v${version}/src/ \ http://www.postgresql.org/ftp/pgadmin3/release/v${version}/src/ distname pgadmin3-${version} checksums md5 baeec7dfcff6ec1447f6097f11c443e0 \ sha1 bb6706e539c623a824668de8ce135273ba8e7482 \ rmd160 20c585cbcf26939d2772291fcc6ef20a55d3e611 depends_lib port:postgresql84 \ port:wxWidgets \ port:openssl \ port:libxml2 \ port:libxslt configure.args --with-pgsql=${prefix}/lib/postgresql84 \ --with-wx=${prefix} \ --with-wx-version=2.8 \ --with-libxml2=${prefix} \ --with-libxslt=${prefix} \ --enable-appbundle build.target all install if {$build_arch == "x86_64"} { configure.build_arch i386 } elseif {$build_arch == "ppc64"} { configure.build_arch ppc } if {![info exists configure.ld_archflags]} { eval configure.ldflags-append ${configure.cc_archflags} } # wxWidgets is not universal universal_variant no #destroot.violate_mtree yes destroot { xinstall -d -m 0755 ${destroot}${applications_dir} file copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}/${name}.app } variant with_postgresql82 conflicts with_postgresql83 \ description {support for PostgreSQL 8.2.x} { depends_lib-delete port:postgresql84 depends_lib-delete --with-pgsql=${prefix}/lib/postgresql84 depends_lib-append port:postgresql82 configure.args-append --with-pgsql=${prefix}/lib/postgresql82 } variant with_postgresql83 conflicts with_postgresql82 \ description {support for PostgreSQL 8.3.x} { depends_lib-delete port:postgresql84 depends_lib-delete --with-pgsql=${prefix}/lib/postgresql84 depends_lib-append port:postgresql83 configure.args-append --with-pgsql=${prefix}/lib/postgresql83 } variant debug description {provide a debug build in case of difficulties} { configure.args-append --enable-debug } livecheck.type regex livecheck.url ${homepage} livecheck.regex pgAdmin v(1\\.\[0-9\]+\\.\[0-9\]+)