Ticket #7625: Portfile

File Portfile, 1.3 KB (added by jyrki.wahlstedt@…, 19 years ago)

Portfile itself

Line 
1# $Id: Portfile,v 1.4 2006/01/24 09:19:12 blb Exp $
2
3PortSystem 1.0
4name            pgAdmin3
5version         1.4.2
6revision        0
7categories      aqua
8maintainers     jyrki.wahlstedt@hut.fi
9description     "An administration program to PostgreSQL"
10long_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."
14platforms       macosx
15homepage        http://www.pgadmin.org/
16
17master_sites    http://developer.pgadmin.org/ftp/release/v${version}/src/ \
18                http://www.postgresql.org/ftp/pgadmin3/release/v${version}/src/
19
20distname        pgadmin3-${portversion}
21
22checksums       ${distname}${extract.suffix} md5 59f80424e392cf6043eda5b3f7712724
23
24depends_lib     port:postgresql8\
25                port:wxWidgets\
26                port:openssl
27
28post-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
35configure.args  --with-pgsql=${worksrcpath}/pgsql8 --with-wx=${prefix} --enable-appbundle
36
37build.target    all install
38
39destroot {
40        xinstall -d -m 0755 ${destroot}/Applications/DarwinPorts
41        file copy ${worksrcpath}/${name}.app ${destroot}/Applications/DarwinPorts/${name}.app
42}
43