Ticket #6113: Portfile

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

Portfile itself

Line 
1# $Id: Portfile,v 1.2 2005/11/19 17:34:40 mww Exp $
2
3PortSystem 1.0
4name            pgAdmin3
5version         1.4.1
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 bf78696c72acd782d63feb2bd5ce6f48
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        file link ${worksrcpath}/pgsql8/bin ${prefix}/lib/pgsql8/bin
31}
32
33configure.args  --with-pgsql=${worksrcpath}/pgsql8 --with-wx=${prefix} --enable-appbundle
34
35build.target    all install
36
37destroot {
38        xinstall -d -m 0755 ${destroot}/Applications/DarwinPorts
39        file copy ${worksrcpath}/${name}.app ${destroot}/Applications/DarwinPorts/${name}.app
40}
41