Files

57 lines
1.7 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name BigSQL
version 1.0
categories aqua databases
license Permissive
maintainers nomaintainer
platforms darwin
description postgresql psql-like client in cocoa
long_description BigSQL is a PostgreSQL client (not unlike psql). It \
enables the user to send SQL to a server and display the \
result. Written in Cocoa, it is quite pretty.
homepage https://web.archive.org/web/20090908083906/http://www.bignerdranch.com/applications.shtml
master_sites macports_distfiles
distname ${name}src
extract.suffix .tgz
checksums md5 687748bc5bf54ea2af6b1af63ff52772
patchfiles patch-project.pbxproj.diff
depends_lib lib:pq:postgresql83
set worksrcpath ${workpath}/${name}
configure {
reinplace "s|@PREFIX@|${prefix}|g" \
${worksrcpath}/BigSQL.pbproj/project.pbxproj
}
build.dir ${worksrcpath}
build.type pbx
build.target -buildstyle Deployment
set xcodebuilddir build
platform darwin 8 {
if {$xcodeversion == "2.1"} {
set xcodebuilddir build/Deployment
}
}
destroot {
system "install -m 755 -d \
${destroot}${applications_dir} \
&& ditto -rsrcFork ${worksrcpath}/${xcodebuilddir}/BigSQL.app \
${destroot}${applications_dir}/BigSQL.app \
&& install -m 755 -d ${destroot}${prefix}/share/doc/${name} \
&& install -m 644 ${worksrcpath}/README.txt \
${destroot}${prefix}/share/doc/${name}"
}
destroot.target
livecheck.type none