a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name BiggerSQL
version 1.3.8
categories aqua databases
platforms darwin
maintainers nomaintainer@macports.org
description SQL front-end to the postgresql DBMS
long_description BiggerSQL is a tool that (like psql) allows you to \
execute SQL on a PostgreSQL server. Type text into the \
top pane, see if it is successful in the middle pane, \
and see the results of a query in the table at the \
bottom. Using tool tips, you can see the type of the \
result -- just let your cursor linger over the column. \
BiggerSQL builds on BigSQL.
homepage http://homepage.mac.com/levanj/Cocoa/
master_sites ${homepage}/programs/
extract.suffix .tgz
checksums md5 3efd182ff810d6bceae5b2486bd25c85
depends_lib path:${prefix}/lib/libpq.a:postgresql
worksrcdir ${name}
configure {
cd ${worksrcpath}/BiggerSQL.xcode/
reinplace "s|/usr/local/pgsql/include|${prefix}/include|g" project.pbxproj
reinplace "s|/usr/local/pgsql/lib|${prefix}/lib|g" project.pbxproj
}
build.type pbx
build.target -buildstyle Deployment
set xcodebuilddir build
platform darwin 8 {
if {$xcodeversion == "2.1"} {
set xcodebuilddir build/Deployment
}
}
destroot {
xinstall -d -m 755 ${destroot}/Applications/MacPorts
file copy ${worksrcpath}/${xcodebuilddir}/BiggerSQL.app \
${destroot}/Applications/MacPorts/BiggerSQL.app
}