Skip to content
Permalink
Browse files

BiggerSQL: update to 1.3.9; see https://trac.macports.org/ticket/15634

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@68758 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Jun 12, 2010
1 parent 8b53a56 commit 15a228dd2306289ad5dd1d764325573b8f964e09
Showing with 35 additions and 8 deletions.
  1. +15 −8 aqua/BiggerSQL/Portfile
  2. +20 −0 aqua/BiggerSQL/files/patch-project.pbxproj.diff
@@ -1,10 +1,12 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id$

PortSystem 1.0
PortGroup xcode 1.0
PortGroup archcheck 1.0

name BiggerSQL
version 1.3.8
version 1.3.9
categories aqua databases
maintainers nomaintainer
description SQL front-end to the postgresql DBMS
@@ -19,32 +21,37 @@ long_description BiggerSQL is a tool that (like psql) allows you to \

homepage http://homepage.mac.com/levanj/Cocoa/
master_sites ${homepage}programs/
extract.suffix .tgz
use_dmg yes

checksums md5 3efd182ff810d6bceae5b2486bd25c85 \
sha1 3a8cee4e4009bff0c8c2a7a19b4815f61b780c04 \
rmd160 9d6a68dae8ae7f5f92abb8f5cce086e35bd28b26
checksums md5 9fcaec183ecf9f147c9b902ce65af793 \
sha1 e0d4c44874b46ecea48cd2559e2fd19cfb36bf3e \
rmd160 33d11bc835d2c74eddfc9fb4898c1bcb4b959d51

worksrcdir ${name}
worksrcdir ${worksrcdir}/${name} Source

set pgglob [glob -directory ${prefix}/lib -nocomplain -tails postgresql*]
if {[llength ${pgglob}]} {
set postgresql [lindex ${pgglob} end]
} else {
set postgresql postgresql82
set postgresql postgresql84
}

set pglibdir ${prefix}/lib/${postgresql}
depends_lib path:${pglibdir}:${postgresql}
archcheck.files lib/${postgresql}/libpq.a

patchfiles patch-project.pbxproj.diff

post-patch {
foreach {subdir} {include lib} {
reinplace "s|/usr/local/pgsql/${subdir}|${prefix}/${subdir}/${postgresql}|" \
${worksrcpath}/${name}.xcode/project.pbxproj
${worksrcpath}/${name}.xcodeproj/project.pbxproj
}
}

# Uses Carbon QuickTime functions?
universal_variant no
supported_archs ppc i386

livecheck.type regex
livecheck.url ${homepage}
@@ -0,0 +1,20 @@
--- BiggerSQL.xcodeproj/project.pbxproj.orig 2008-02-06 12:23:14.000000000 -0600
+++ BiggerSQL.xcodeproj/project.pbxproj 2010-01-28 08:30:42.000000000 -0600
@@ -28,7 +28,7 @@
C44D43CC0D58B81000EC6ACD /* BiggerDoc.icns in Resources */ = {isa = PBXBuildFile; fileRef = C44D43CB0D58B81000EC6ACD /* BiggerDoc.icns */; };
C44D44CB0D58BA9E00EC6ACD /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D44CA0D58BA9E00EC6ACD /* WebKit.framework */; };
C44D456F0D58BABD00EC6ACD /* QuickTime.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D456E0D58BABD00EC6ACD /* QuickTime.framework */; };
- C44D45920D58BAF500EC6ACD /* libjhlpq.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D45910D58BAF500EC6ACD /* libjhlpq.a */; };
+ C44D45920D58BAF500EC6ACD /* libpq.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D45910D58BAF500EC6ACD /* libpq.a */; };
C44D45940D58BB1D00EC6ACD /* libssl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D45930D58BB1D00EC6ACD /* libssl.dylib */; };
C44D45960D58BB6200EC6ACD /* libcrypto.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D45950D58BB6200EC6ACD /* libcrypto.dylib */; };
C44D461B0D58BE7D00EC6ACD /* pgdoc in Resources */ = {isa = PBXBuildFile; fileRef = C44D45A00D58BE7D00EC6ACD /* pgdoc */; };
@@ -73,7 +73,7 @@
C44D43CB0D58B81000EC6ACD /* BiggerDoc.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = BiggerDoc.icns; sourceTree = "<group>"; };
C44D44CA0D58BA9E00EC6ACD /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = "<absolute>"; };
C44D456E0D58BABD00EC6ACD /* QuickTime.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickTime.framework; path = /System/Library/Frameworks/QuickTime.framework; sourceTree = "<absolute>"; };
- C44D45910D58BAF500EC6ACD /* libjhlpq.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libjhlpq.a; path = /usr/local/pgsql/lib/libjhlpq.a; sourceTree = "<absolute>"; };
+ C44D45910D58BAF500EC6ACD /* libpq.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpq.a; path = /usr/local/pgsql/lib/libpq.a; sourceTree = "<absolute>"; };
C44D45930D58BB1D00EC6ACD /* libssl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libssl.dylib; path = /usr/lib/libssl.dylib; sourceTree = "<absolute>"; };
C44D45950D58BB6200EC6ACD /* libcrypto.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcrypto.dylib; path = /usr/lib/libcrypto.dylib; sourceTree = "<absolute>"; };
C44D45A00D58BE7D00EC6ACD /* pgdoc */ = {isa = PBXFileReference; lastKnownFileType = folder; path = pgdoc; sourceTree = "<group>"; };

0 comments on commit 15a228d

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