Changeset 118750 for trunk/dports/gis


Ignore:
Timestamp:
Apr 10, 2014, 2:19:39 PM (5 years ago)
Author:
vince@…
Message:

Add some environment variables for the processing plug-in to work better when launched from the Finder

Location:
trunk/dports/gis/qgis
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/qgis/Portfile

    r118614 r118750  
    3030                    rmd160  389e53e52b0dc47c17a8d7891114bfd037dcd5f3
    3131
     32patchfiles          patch-app_info_plist_in.diff
     33
    3234worksrcdir          ${name}-${version}
    3335
     
    5355
    5456post-patch {
    55     if {![variant_isset grass]} {
    56         reinplace -E "s|@@@|${prefix}/bin|" \
    57             ${worksrcpath}/mac/app.info.plist.in
    58     } else {
    59         reinplace -E "s|@@@|${prefix}/bin:${prefix}/share/grass-6.4.3/bin|" \
    60             ${worksrcpath}/mac/app.info.plist.in
    61     }
     57    reinplace -E "s|@@@|${prefix}|g" \
     58        ${worksrcpath}/mac/app.info.plist.in
    6259}
    6360# Overrides default
     
    167164variant grass               description "Build Grass (6.43) plugin" {
    168165
    169     depends_lib-append      port:grass
     166    #depends_lib-append      port:grass
    170167    configure.args-append   \
    171168                "-DGRASS_PREFIX=${prefix}/share/grass-6.4.3"
Note: See TracChangeset for help on using the changeset viewer.