Changeset 97074 for trunk/dports/aqua


Ignore:
Timestamp:
Aug 26, 2012, 6:47:49 PM (7 years ago)
Author:
g5pw@…
Message:

aqua/aquaterm:

  • bump to 1.1.1
  • removed unused patchfile
  • closes #34346
Location:
trunk/dports/aqua/aquaterm
Files:
1 deleted
1 edited

Legend:

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

    r97071 r97074  
    44PortSystem              1.0
    55PortGroup               xcode 1.0
     6PortGroup               github 1.0
    67
     8github.setup            AquaTerm AquaTerm 1.1.1 v
    79name                    aquaterm
    8 version                 1.0.1
    9 revision                5
    1010categories              aqua math science
    1111maintainers             g5pw gmail.com:mojca.miklavec.lists
     
    1919platforms               darwin
    2020homepage                http://aquaterm.sourceforge.net/
    21 master_sites            sourceforge
    22 distname                ${name}_src.${version}
    2321
    24 checksums               md5 e9d3ecdfe770d6f09a748add9886d1a9 \
    25                         sha1 d5770bb3a95cfae21c5c39c96171a52d9af8ae24 \
    26                         rmd160 24410589dd8c3071b6e0d5e652b7d92933d86b5f
     22checksums               rmd160  007db0806a2b1b1263043647035fa428b15560e3 \
     23                        sha256  8e35cb81f5f024382ba4b2c96569631b34cf798966aa2870258f272e551c0e34
    2724
    28 worksrcdir              ${name}
    29 
    30 # Allow xcode PortGroup to set ARCHS (for universal builds), MACOSX_DEPLOYMENT_TARGET, and SDKROOT.
    31 # Modify INSTALL_PATH to ensure aquaterm is installed into FRAMEWORKS_DIR.
    32 patchfiles              patch-project.pbxproj.diff
     25build.dir               ${worksrcpath}/aquaterm
    3326
    3427xcode.target            AquaTerm
     28xcode.configuration     Default
    3529
    36 xcode.build.settings    USER_APPS_DIR=${applications_dir} \
    37                         FRAMEWORKS_DIR=${frameworks_dir}
    38 
     30xcode.build.settings    LOCAL_APPS_DIR=${applications_dir} \
     31                        LOCAL_FRAMEWORKS_DIR=${frameworks_dir}
     32xcode.destroot.settings LOCAL_APPS_DIR=${applications_dir} \
     33                        LOCAL_FRAMEWORKS_DIR=${frameworks_dir}
    3934xcode.destroot.type     mixed
    40 xcode.destroot.settings USER_APPS_DIR=${applications_dir} \
    41                         FRAMEWORKS_DIR=${frameworks_dir}
    4235
    4336post-patch {
     37    # Try to open the right version of AquaTerm.app.
     38    # (If incompatible version is installed in /Applications,
     39    #  we need to make sure that the one from MacPorts is found first.)
     40    reinplace "s|/Applications/AquaTerm.app|${applications_dir}/AquaTerm.app|" \
     41        ${worksrcpath}/aquaterm/AQTClientManager.m
     42
     43    reinplace "s|# FRAMEWORKS_DIR.*|FRAMEWORKS_DIR = ${frameworks_dir}|" \
     44        ${worksrcpath}/adapters/c/Makefile \
     45        ${worksrcpath}/adapters/fortran/Makefile
     46
    4447    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
     48        ${worksrcpath}/adapters/pgplot/ChangeLog \
     49        ${worksrcpath}/adapters/pgplot/g77_gcc_AQT.conf \
     50        ${worksrcpath}/adapters/pgplot/xlf_gcc_AQT.conf
     51
     52    # those are not really needed, it's just cosmetics
    5153    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
     54        ${worksrcpath}/adapters/pgplot/g77_cc_AQT.conf \
     55        ${worksrcpath}/adapters/pgplot/g77_gcc_AQT.conf \
     56        ${worksrcpath}/adapters/pgplot/xlf_gcc_AQT.conf
    5557    reinplace "s|/sw|${prefix}|g" \
    56         ${workpath}/adapters/pgplot/ReadMe
     58        ${worksrcpath}/adapters/pgplot/ReadMe
    5759}
    5860
    5961post-destroot {
    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
    67 
    68     xinstall -d -m 0755 ${destroot}${prefix}/share/${name}
    69     copy ${workpath}/adapters ${destroot}${prefix}/share/${name}
     62    xinstall -d -m 0755 ${destroot}${prefix}/share/AquaTerm
     63    copy ${worksrcpath}/adapters ${destroot}${prefix}/share/AquaTerm
    7064}
    71 
    72 livecheck.regex "<title>AquaTerm v(\\d+(?:\\.\\d+)*) released.*</title>"
Note: See TracChangeset for help on using the changeset viewer.