source: trunk/dports/aqua/BigSQL/Portfile

Last change on this file was 125187, checked in by jmr@…, 3 years ago

BigSQL: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 125187 2014-09-09 06:27:46Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            BigSQL
6version         1.0
7categories      aqua databases
8license         Permissive
9maintainers     nomaintainer
10platforms       darwin
11description     postgresql psql-like client in cocoa
12long_description        BigSQL is a PostgreSQL client (not unlike psql). It \
13                enables the user to send SQL to a server and display the \
14                result. Written in Cocoa, it is quite pretty.
15
16homepage        http://www.bignerdranch.com/applications.shtml
17master_sites    http://www.bignerdranch.com/source/
18distname        ${name}src
19extract.suffix  .tgz
20checksums       md5 687748bc5bf54ea2af6b1af63ff52772
21patchfiles      patch-project.pbxproj.diff
22
23depends_lib     lib:pq:postgresql83
24
25set worksrcpath ${workpath}/${name}
26
27configure       { reinplace "s|@PREFIX@|${prefix}|g" \
28                        ${worksrcpath}/BigSQL.pbproj/project.pbxproj }
29
30build.dir       ${worksrcpath}
31build.type      pbx
32build.target    -buildstyle Deployment
33
34set xcodebuilddir               build
35platform darwin 8 {
36        if {$xcodeversion == "2.1"} {
37                set xcodebuilddir       build/Deployment
38        }
39}
40
41destroot        { system "install -m 755 -d \
42                        ${destroot}${applications_dir} \
43                && ditto -rsrcFork ${worksrcpath}/${xcodebuilddir}/BigSQL.app \
44                        ${destroot}${applications_dir}/BigSQL.app \
45                && install -m 755 -d ${destroot}${prefix}/share/doc/${name} \
46                && install -m 644 ${worksrcpath}/README.txt \
47                        ${destroot}${prefix}/share/doc/${name}" }
48destroot.target
Note: See TracBrowser for help on using the repository browser.