Skip to content
Permalink
Browse files

new port, BigSQL

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3914 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Nov 9, 2003
1 parent ac4d489 commit 39d3b786ea263f1585a0fb553b1bbd3dd6a314dd
Showing with 64 additions and 0 deletions.
  1. +41 −0 aqua/BigSQL/Portfile
  2. +23 −0 aqua/BigSQL/files/patch-project.pbxproj.diff
@@ -0,0 +1,41 @@
# $Id: Portfile,v 1.1 2003/11/09 23:14:08 mww Exp $

PortSystem 1.0

name BigSQL
version 1.0
categories aqua databases
maintainers mww@opendarwin.org
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 http://www.bignerdranch.com/Resources/
master_sites ${homepage}
distname ${name}src
extract.sufx .tgz
checksums md5 687748bc5bf54ea2af6b1af63ff52772
patchfiles patch-project.pbxproj.diff

depends_lib lib:pq:postgresql

set worksrcpath ${workpath}/${name}

configure { reinplace "s|DPORTSPREFIX|${prefix}|g" \
${worksrcpath}/BigSQL.pbproj/project.pbxproj }

build.dir ${worksrcpath}
build.type pbx
build.target

destroot { system "install -m 755 -d \
${destroot}/Applications/DarwinPorts \
&& ditto -rsrcFork ${worksrcpath}/build/BigSQL.app \
${destroot}/Applications/DarwinPorts/BigSQL.app \
&& install -m 755 -d ${destroot}${prefix}/share/doc/${name} \
&& install -m 644 ${worksrcpath}/README.txt \
${destroot}${prefix}/share/doc/${name}" }
destroot.target

@@ -0,0 +1,23 @@
--- BigSQL.pbproj/project.pbxproj Thu Jan 23 22:33:06 2003
+++ BigSQL.pbproj/project.pbxproj.new Sun Nov 9 23:52:18 2003
@@ -224,9 +224,9 @@
);
buildSettings = {
FRAMEWORK_SEARCH_PATHS = "";
- HEADER_SEARCH_PATHS = /usr/local/pgsql/include;
+ HEADER_SEARCH_PATHS = DPORTSPREFIX/include;
INSTALL_PATH = "$(HOME)/Applications";
- LIBRARY_SEARCH_PATHS = /usr/local/pgsql/lib;
+ LIBRARY_SEARCH_PATHS = DPORTSPREFIX/lib;
OTHER_CFLAGS = "";
PRODUCT_NAME = BigSQL;
SECTORDER_FLAGS = "";
@@ -379,7 +379,7 @@
F55B7E7603DD9980014C5678 = {
isa = PBXFileReference;
name = libpq.a;
- path = /usr/local/pgsql/lib/libpq.a;
+ path = DPORTSPREFIX/lib/libpq.a;
refType = 0;
};
F55B7E7703DD9980014C5678 = {

0 comments on commit 39d3b78

Please sign in to comment.
You can’t perform that action at this time.