Changeset 97071 for trunk/dports/aqua


Ignore:
Timestamp:
Aug 26, 2012, 4:46:21 PM (7 years ago)
Author:
g5pw@…
Message:

aqua/aquaterm:

  • whitespace fix
  • add modeline
File:
1 edited

Legend:

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

    r97070 r97071  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    3 PortSystem              1.0
    4 PortGroup               xcode 1.0
     4PortSystem              1.0
     5PortGroup               xcode 1.0
    56
    6 name                    aquaterm
    7 version                 1.0.1
    8 revision                5
    9 categories              aqua math science
    10 maintainers             g5pw gmail.com:mojca.miklavec.lists
    11 license                 BSD
    12 description             AquaTerm is a viewer that displays vector graphics on Mac OS X
    13 long_description        AquaTerm is a viewer app that displays vector \
    14                                         graphics.  Other apps connect to AquaTerm using a \
    15                                         simple remote object messaging protocol.  By adding \
    16                                         \"adapters\" to legacy code very little coding is \
    17                                         needed to bring it to OS X.
    18 platforms               darwin
    19 homepage                http://aquaterm.sourceforge.net/
    20 master_sites    sourceforge
    21 distname                ${name}_src.${version}
     7name                    aquaterm
     8version                 1.0.1
     9revision                5
     10categories              aqua math science
     11maintainers             g5pw gmail.com:mojca.miklavec.lists
     12license                 BSD
     13description             AquaTerm is a viewer that displays vector graphics on Mac OS X
     14long_description        AquaTerm is a viewer app that displays vector \
     15                        graphics.  Other apps connect to AquaTerm using a \
     16                        simple remote object messaging protocol.  By adding \
     17                        \"adapters\" to legacy code very little coding is \
     18                        needed to bring it to OS X.
     19platforms               darwin
     20homepage                http://aquaterm.sourceforge.net/
     21master_sites            sourceforge
     22distname                ${name}_src.${version}
    2223
    23 checksums               md5 e9d3ecdfe770d6f09a748add9886d1a9 \
    24                                 sha1 d5770bb3a95cfae21c5c39c96171a52d9af8ae24 \
    25                                 rmd160 24410589dd8c3071b6e0d5e652b7d92933d86b5f
     24checksums               md5 e9d3ecdfe770d6f09a748add9886d1a9 \
     25                        sha1 d5770bb3a95cfae21c5c39c96171a52d9af8ae24 \
     26                        rmd160 24410589dd8c3071b6e0d5e652b7d92933d86b5f
    2627
    27 worksrcdir              ${name}
     28worksrcdir              ${name}
    2829
    2930# Allow xcode PortGroup to set ARCHS (for universal builds), MACOSX_DEPLOYMENT_TARGET, and SDKROOT.
    3031# Modify INSTALL_PATH to ensure aquaterm is installed into FRAMEWORKS_DIR.
    31 patchfiles      patch-project.pbxproj.diff
     32patchfiles              patch-project.pbxproj.diff
    3233
    33 xcode.target    AquaTerm
     34xcode.target            AquaTerm
    3435
    35 xcode.build.settings    USER_APPS_DIR=${applications_dir} \
    36                                                 FRAMEWORKS_DIR=${frameworks_dir}
     36xcode.build.settings    USER_APPS_DIR=${applications_dir} \
     37                        FRAMEWORKS_DIR=${frameworks_dir}
    3738
    38 xcode.destroot.type             mixed
     39xcode.destroot.type     mixed
    3940xcode.destroot.settings USER_APPS_DIR=${applications_dir} \
    40                                                 FRAMEWORKS_DIR=${frameworks_dir}
     41                        FRAMEWORKS_DIR=${frameworks_dir}
    4142
    4243post-patch {
    43         reinplace "s|/usr/local|${prefix}|g" \
    44                 ${workpath}/adapters/pgplot/ChangeLog \
    45                 ${workpath}/adapters/pgplot/g77_gcc_AQT.conf \
    46                 ${workpath}/adapters/pgplot/xlf_gcc_AQT.conf
    47         reinplace "s|\$(HOME)|${prefix}|g" \
    48                 ${workpath}/adapters/c/Makefile \
    49                 ${workpath}/adapters/fortran/Makefile
    50         reinplace "s|/*<PREFIX>|${prefix}|g" \
    51                 ${workpath}/adapters/pgplot/g77_cc_AQT.conf \
    52                 ${workpath}/adapters/pgplot/g77_gcc_AQT.conf \
    53                 ${workpath}/adapters/pgplot/xlf_gcc_AQT.conf
    54         reinplace "s|/sw|${prefix}|g" \
    55                 ${workpath}/adapters/pgplot/ReadMe
     44    reinplace "s|/usr/local|${prefix}|g" \
     45        ${workpath}/adapters/pgplot/ChangeLog \
     46        ${workpath}/adapters/pgplot/g77_gcc_AQT.conf \
     47        ${workpath}/adapters/pgplot/xlf_gcc_AQT.conf
     48    reinplace "s|\$(HOME)|${prefix}|g" \
     49        ${workpath}/adapters/c/Makefile \
     50        ${workpath}/adapters/fortran/Makefile
     51    reinplace "s|/*<PREFIX>|${prefix}|g" \
     52        ${workpath}/adapters/pgplot/g77_cc_AQT.conf \
     53        ${workpath}/adapters/pgplot/g77_gcc_AQT.conf \
     54        ${workpath}/adapters/pgplot/xlf_gcc_AQT.conf
     55    reinplace "s|/sw|${prefix}|g" \
     56        ${workpath}/adapters/pgplot/ReadMe
    5657}
    5758
    5859post-destroot {
    59         set fdir ${frameworks_dir}/AquaTerm.framework/Versions/A
    60         xinstall -d -m 755 ${destroot}${prefix}/include/aquaterm
    61         foreach header [glob -tails -directory ${destroot}${fdir}/Headers/ *] {
    62                 ln -s ${fdir}/Headers/${header} ${destroot}${prefix}/include/aquaterm
    63         }
    64         ln -s ${fdir}/AquaTerm ${destroot}${prefix}/lib/libaquaterm.dylib
    65         ln -s ${fdir}/AquaTerm ${destroot}${prefix}/lib/libaquaterm.${version}.dylib
     60    set fdir ${frameworks_dir}/AquaTerm.framework/Versions/A
     61    xinstall -d -m 755 ${destroot}${prefix}/include/aquaterm
     62    foreach header [glob -tails -directory ${destroot}${fdir}/Headers/ *] {
     63        ln -s ${fdir}/Headers/${header} ${destroot}${prefix}/include/aquaterm
     64    }
     65    ln -s ${fdir}/AquaTerm ${destroot}${prefix}/lib/libaquaterm.dylib
     66    ln -s ${fdir}/AquaTerm ${destroot}${prefix}/lib/libaquaterm.${version}.dylib
    6667
    67         xinstall -d -m 0755 ${destroot}${prefix}/share/${name}
    68         copy ${workpath}/adapters ${destroot}${prefix}/share/${name}
     68    xinstall -d -m 0755 ${destroot}${prefix}/share/${name}
     69    copy ${workpath}/adapters ${destroot}${prefix}/share/${name}
    6970}
    7071
Note: See TracChangeset for help on using the changeset viewer.