Ticket #6371: Portfile

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

Portfile

Line 
1# $Id: Portfile,v 1.3 2005/12/18 09:00:41 blb Exp $
2
3PortSystem 1.0
4name            pgAdmin3
5version         1.4.1
6revision        1
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 bf78696c72acd782d63feb2bd5ce6f48
23
24depends_lib     port:postgresql8\
25                port:wxWidgets\
26                port:openssl
27
28patchfiles      osx.diff
29
30post-extract {
31        file mkdir ${worksrcpath}/pgsql8
32        file link ${worksrcpath}/pgsql8/lib ${prefix}/lib/pgsql8
33        file link ${worksrcpath}/pgsql8/include ${prefix}/include/pgsql8
34        file link ${worksrcpath}/pgsql8/bin ${prefix}/lib/pgsql8/bin
35}
36
37configure.args  --with-pgsql=${worksrcpath}/pgsql8 --with-wx=${prefix} --enable-appbundle
38
39build.target    all install
40
41destroot {
42        xinstall -d -m 0755 ${destroot}/Applications/DarwinPorts
43        file copy ${worksrcpath}/${name}.app ${destroot}/Applications/DarwinPorts/${name}.app
44}
45