# $Id: Portfile,v 1.00 2005/06/02 10:39:42 jwa Exp $ PortSystem 1.0 name pgAdmin3 version 1.4.0 categories aqua maintainers jyrki.wahlstedt@hut.fi 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 (GNU/Linux, FreeBSD\ and Windows 2000/XP). This port is for OS X.\ Variant pre is for those, who have for one reason or \ another installed the database themselves. Variant\ postgresql7 is for PostgreSQL 7." 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-${portversion} checksums ${distname}${extract.suffix} md5 a0779079bf579b0cd5e132ac5372f7f3 depends_lib port:postgresql8\ port:wxWidgets\ port:openssl configure.args --with-pgsql=${prefix}/pgsql --with-wx=${prefix} --enable-appbundle post-build { cd ${worksrcpath} system "make install" } destroot { xinstall -d -m 0755 ${destroot}/Applications/DarwinPorts file copy ${worksrcpath}/${name}.app ${destroot}/Applications/DarwinPorts/${name}.app } variant pre { # database installed already depends_lib-delete port:postgresql8 configure.args --with-wx=${prefix} --enable-appbundle } variant postgresql7 { depends_lib-delete port:postgresql8 depends_lib-append port:postgresql }