source: trunk/dports/aqua/pgAdmin3/Portfile @ 23053

Last change on this file since 23053 was 23053, checked in by pipping@…, 10 years ago

clean up portfiles:

  • replace "portversion" with "version"
  • replace "portname" with "name"
  • replace "configure {}" with "use_configure no"
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $
2
3PortSystem 1.0
4name            pgAdmin3
5version         1.6.2
6
7categories      aqua
8maintainers     jwa@macports.org
9#maintainers    jyrki.wahlstedt@wahlstedt.fi
10
11description     "An administration program to PostgreSQL"
12long_description "pgAdmin III is a powerful administration and development\
13                platform for the PostgreSQL database, free for any use. The\
14                application works on several platforms (GNU/Linux, FreeBSD,\
15                OS X and Windows 2000/XP). This port is for OS X."
16platforms       macosx
17homepage        http://www.pgadmin.org/
18
19master_sites    http://developer.pgadmin.org/ftp/release/v${version}/src/ \
20                http://www.postgresql.org/ftp/pgadmin3/release/v${version}/src/
21
22distname        pgadmin3-${version}
23
24checksums       ${distname}${extract.suffix} sha1 e39ef29c18aad01fd68847a1d9e6b03c882d9fa9
25
26depends_lib     port:postgresql82 \
27                port:wxWidgets \
28                port:openssl \
29                port:libxml2 \
30                port:libxslt
31
32post-extract {
33        file mkdir ${worksrcpath}/postgresql82
34        file link ${worksrcpath}/postgresql82/lib ${prefix}/lib/postgresql82
35        file link ${worksrcpath}/postgresql82/include ${prefix}/include/postgresql82
36        file link ${worksrcpath}/postgresql82/bin ${prefix}/lib/postgresql82/bin
37}
38
39configure.args  --with-pgsql=${worksrcpath}/postgresql82 \
40                --with-wx=${prefix} \
41                --with-wx-version=2.8 \
42                --with-libxml2=${prefix} \
43                --with-libxslt=${prefix} \
44                --enable-appbundle
45
46build.target    all install
47
48destroot {
49        xinstall -d -m 0755 ${destroot}/Applications/MacPorts
50        file copy ${worksrcpath}/${name}.app ${destroot}/Applications/MacPorts/${name}.app
51}
52
Note: See TracBrowser for help on using the repository browser.