Ticket #5775: Portfile

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

The portfile itself

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