1 | # $Id: Portfile,v 1.2 2005/11/19 17:34:40 mww Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name pgAdmin3 |
---|
5 | version 1.4.1 |
---|
6 | categories aqua |
---|
7 | maintainers jyrki.wahlstedt@hut.fi |
---|
8 | description "An administration program to PostgreSQL" |
---|
9 | long_description "pgAdmin III is a powerful administration and development\ |
---|
10 | platform for the PostgreSQL database, free for any use. The\ |
---|
11 | application works on several platforms (GNU/Linux, FreeBSD,\ |
---|
12 | OS X and Windows 2000/XP). This port is for OS X." |
---|
13 | platforms macosx |
---|
14 | homepage http://www.pgadmin.org/ |
---|
15 | |
---|
16 | master_sites http://developer.pgadmin.org/ftp/release/v${version}/src/ \ |
---|
17 | http://www.postgresql.org/ftp/pgadmin3/release/v${version}/src/ |
---|
18 | |
---|
19 | distname pgadmin3-${portversion} |
---|
20 | checksums md5 bf78696c72acd782d63feb2bd5ce6f48 |
---|
21 | |
---|
22 | depends_lib port:postgresql8\ |
---|
23 | port:wxWidgets\ |
---|
24 | port:openssl |
---|
25 | |
---|
26 | post-extract { |
---|
27 | file mkdir ${worksrcpath}/pgsql8 |
---|
28 | file link ${worksrcpath}/pgsql8/lib ${prefix}/lib/pgsql8 |
---|
29 | file link ${worksrcpath}/pgsql8/include ${prefix}/include/pgsql8 |
---|
30 | file link ${worksrcpath}/pgsql8/bin ${prefix}/lib/pgsql8/bin |
---|
31 | } |
---|
32 | |
---|
33 | configure.args --with-pgsql=${worksrcpath}/pgsql8 --with-wx=${prefix} --enable-appbundle |
---|
34 | |
---|
35 | build.target all install |
---|
36 | |
---|
37 | destroot { |
---|
38 | xinstall -d -m 0755 ${destroot}/Applications/DarwinPorts |
---|
39 | file copy ${worksrcpath}/${name}.app ${destroot}/Applications/DarwinPorts/${name}.app |
---|
40 | } |
---|
41 | |
---|