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