Ticket #15634: BiggerSQL-1.3.9-ryandesign.diff

File BiggerSQL-1.3.9-ryandesign.diff, 4.9 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)
  • files/patch-project.pbxproj.diff

     
     1--- BiggerSQL.xcodeproj/project.pbxproj.orig    2008-02-06 12:23:14.000000000 -0600
     2+++ BiggerSQL.xcodeproj/project.pbxproj 2010-01-28 08:30:42.000000000 -0600
     3@@ -28,7 +28,7 @@
     4                C44D43CC0D58B81000EC6ACD /* BiggerDoc.icns in Resources */ = {isa = PBXBuildFile; fileRef = C44D43CB0D58B81000EC6ACD /* BiggerDoc.icns */; };
     5                C44D44CB0D58BA9E00EC6ACD /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D44CA0D58BA9E00EC6ACD /* WebKit.framework */; };
     6                C44D456F0D58BABD00EC6ACD /* QuickTime.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D456E0D58BABD00EC6ACD /* QuickTime.framework */; };
     7-               C44D45920D58BAF500EC6ACD /* libjhlpq.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D45910D58BAF500EC6ACD /* libjhlpq.a */; };
     8+               C44D45920D58BAF500EC6ACD /* libpq.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D45910D58BAF500EC6ACD /* libpq.a */; };
     9                C44D45940D58BB1D00EC6ACD /* libssl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D45930D58BB1D00EC6ACD /* libssl.dylib */; };
     10                C44D45960D58BB6200EC6ACD /* libcrypto.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = C44D45950D58BB6200EC6ACD /* libcrypto.dylib */; };
     11                C44D461B0D58BE7D00EC6ACD /* pgdoc in Resources */ = {isa = PBXBuildFile; fileRef = C44D45A00D58BE7D00EC6ACD /* pgdoc */; };
     12@@ -73,7 +73,7 @@
     13                C44D43CB0D58B81000EC6ACD /* BiggerDoc.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = BiggerDoc.icns; sourceTree = "<group>"; };
     14                C44D44CA0D58BA9E00EC6ACD /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = "<absolute>"; };
     15                C44D456E0D58BABD00EC6ACD /* QuickTime.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickTime.framework; path = /System/Library/Frameworks/QuickTime.framework; sourceTree = "<absolute>"; };
     16-               C44D45910D58BAF500EC6ACD /* libjhlpq.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libjhlpq.a; path = /usr/local/pgsql/lib/libjhlpq.a; sourceTree = "<absolute>"; };
     17+               C44D45910D58BAF500EC6ACD /* libpq.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpq.a; path = /usr/local/pgsql/lib/libpq.a; sourceTree = "<absolute>"; };
     18                C44D45930D58BB1D00EC6ACD /* libssl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libssl.dylib; path = /usr/lib/libssl.dylib; sourceTree = "<absolute>"; };
     19                C44D45950D58BB6200EC6ACD /* libcrypto.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcrypto.dylib; path = /usr/lib/libcrypto.dylib; sourceTree = "<absolute>"; };
     20                C44D45A00D58BE7D00EC6ACD /* pgdoc */ = {isa = PBXFileReference; lastKnownFileType = folder; path = pgdoc; sourceTree = "<group>"; };
  • Portfile

     
     1# -*- 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
    12# $Id$
    23
    34PortSystem              1.0
    45PortGroup               xcode 1.0
     6PortGroup               archcheck 1.0
    57
    68name                    BiggerSQL
    7 version                 1.3.8
     9version                 1.3.9
    810categories              aqua databases
    911maintainers             nomaintainer
    1012description             SQL front-end to the postgresql DBMS
     
    1921
    2022homepage                http://homepage.mac.com/levanj/Cocoa/
    2123master_sites    ${homepage}programs/
    22 extract.suffix  .tgz
     24use_dmg                 yes
    2325
    24 checksums               md5 3efd182ff810d6bceae5b2486bd25c85 \
    25                                 sha1 3a8cee4e4009bff0c8c2a7a19b4815f61b780c04 \
    26                                 rmd160 9d6a68dae8ae7f5f92abb8f5cce086e35bd28b26
     26checksums               md5     9fcaec183ecf9f147c9b902ce65af793 \
     27                                sha1    e0d4c44874b46ecea48cd2559e2fd19cfb36bf3e \
     28                                rmd160  33d11bc835d2c74eddfc9fb4898c1bcb4b959d51
    2729
    28 worksrcdir              ${name}
     30worksrcdir              ${worksrcdir}/${name} Source
    2931
    3032set pgglob [glob -directory ${prefix}/lib -nocomplain -tails postgresql*]
    3133if {[llength ${pgglob}]} {
    3234        set postgresql  [lindex ${pgglob} end]
    3335} else {
    34         set postgresql  postgresql82
     36        set postgresql  postgresql84
    3537}
    3638
    3739set pglibdir ${prefix}/lib/${postgresql}
    3840depends_lib path:${pglibdir}:${postgresql}
     41archcheck.files lib/${postgresql}/libpq.a
     42
     43patchfiles              patch-project.pbxproj.diff
    3944
    4045post-patch {
    4146        foreach {subdir} {include lib} {
    4247                reinplace "s|/usr/local/pgsql/${subdir}|${prefix}/${subdir}/${postgresql}|" \
    43                         ${worksrcpath}/${name}.xcode/project.pbxproj
     48                        ${worksrcpath}/${name}.xcodeproj/project.pbxproj
    4449        }
    4550}
    4651
     52# Uses Carbon QuickTime functions?
    4753universal_variant no
     54switch ${configure.build_arch} {
     55        x86_64 {
     56                configure.build_arch i386
     57        }
     58        ppc64 {
     59                configure.build_arch ppc
     60        }
     61}
    4862
    4963livecheck.type  regex
    5064livecheck.url   ${homepage}