Changeset 22237 for trunk/dports/aqua


Ignore:
Timestamp:
Feb 23, 2007, 6:38:46 AM (12 years ago)
Author:
pguyot@…
Message:

aqua/aquaterm
Patch submitted by David MacMahon:
Bump to 1.0.1.
Make the library to refer to /Application/MacPorts/ instead of /Application/

Give maintainership to David MacMahon
Thanks, Dave!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/aquaterm/Portfile

    r21857 r22237  
    44
    55name                    aquaterm
    6 version                 1.0.0
     6version                 1.0.1
    77revision                0
    88categories              aqua math science
    9 maintainers             nomaintainer@macports.org
     9maintainers             davidm@astro.berkeley.edu
    1010description             AquaTerm is a viewer that displays vector graphics on Mac OS X
    1111long_description        AquaTerm is a viewer app that displays vector \
     
    1818master_sites    sourceforge
    1919distname                ${name}_src.${version}
    20 checksums       md5 aquaterm_src.1.0.0.tar.gz 937461dfefb62178bee960bfe88e0991 \
    21                                 sha1 aquaterm_src.1.0.0.tar.gz b45f84265710fb39efa6ad8dd7b89bb5b00827b2 \
    22                                 rmd160 aquaterm_src.1.0.0.tar.gz e89074ad5ab7ee610b3bc620143e895a53d8392f \
     20checksums               md5 aquaterm_src.1.0.1.tar.gz e9d3ecdfe770d6f09a748add9886d1a9 \
     21                                sha1 aquaterm_src.1.0.1.tar.gz d5770bb3a95cfae21c5c39c96171a52d9af8ae24 \
     22                                rmd160 aquaterm_src.1.0.1.tar.gz 24410589dd8c3071b6e0d5e652b7d92933d86b5f
    2323worksrcdir              .
    2424
    2525patch {
    26         # gcc 4 cannot find aquaterm/AQTAdapter.h in ObjC source files.
    27         # adding a -I would be the right thing to do, but I'm not sure about
    28         # how to patch the ProjectBuilder project.
    29         reinplace "s|#import <aquaterm/AQTAdapter.h>|#import \"AQTAdapter.h\"|g" \
    30                 ${workpath}/aquaterm/Demo.m
    31         reinplace "s|#import <aquaterm/AQTAdapter.h>|#import \"AQTAdapter.h\"|g" \
    32                 ${workpath}/aquaterm/Bugs.m
    33         reinplace "s|#import <aquaterm/AQTAdapter.h>|#import \"AQTAdapter.h\"|g" \
    34                 ${workpath}/aquaterm/Timing.m
     26        # Change default location of AquaTerm.app to avoid requiring the
     27        # use of AQUATERM_PATH.
     28        reinplace "s|AquaTerm.app|MacPorts/AquaTerm.app|g" \
     29                ${workpath}/aquaterm/AQTClientManager.m
    3530}
    3631
     
    8984
    9085        cd ${workpath}/${name}/${xcodebuilddir}
    91         system "ln AquaTerm.framework/Versions/Current/AquaTerm libaquaterm.1.0.0.dylib"
    92         xinstall -m 0755 libaquaterm.1.0.0.dylib ${destroot}${prefix}/lib
    93         system "ln -s libaquaterm.1.0.0.dylib \
     86        system "ln AquaTerm.framework/Versions/Current/AquaTerm libaquaterm.${version}.dylib"
     87        xinstall -m 0755 libaquaterm.${version}.dylib ${destroot}${prefix}/lib
     88        system "ln -s libaquaterm.${version}.dylib \
    9489                ${destroot}${prefix}/lib/libaquaterm.dylib"
    95         system "ln -s libaquaterm.1.0.0.dylib \
     90        system "ln -s libaquaterm.${version}.dylib \
    9691                ${destroot}${prefix}/lib/libaquaterm.1.dylib"
    9792        xinstall -d -m 0755 ${destroot}/Applications/MacPorts
Note: See TracChangeset for help on using the changeset viewer.