Changeset 116097 for trunk/dports/gis


Ignore:
Timestamp:
Jan 18, 2014, 5:56:23 PM (6 years ago)
Author:
vince@…
Message:

Add a $PATH to the App environment so that the Sextant plugins work

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

Legend:

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

    r111992 r116097  
    3434                    patch-qgsfieldvalidator_sip.diff \
    3535                    patch-qgsattributedialog_h.diff \
    36                     patch-qgsmessagelogviewer_h.diff
     36                    patch-qgsmessagelogviewer_h.diff \
     37                    patch-mac_app_info_plist_in.diff
    3738
    3839worksrcdir          ${name}-${version}
     
    5758}
    5859
     60
     61post-patch {
     62    if {![variant_isset grass]} {
     63        reinplace -E "s|@@@|${prefix}/bin|" \
     64            ${worksrcpath}/mac/app.info.plist.in
     65    } else {
     66        reinplace -E "s|@@@|${prefix}/bin:${prefix}/share/grass-6.4.3/bin|" \
     67            ${worksrcpath}/mac/app.info.plist.in
     68    }
     69}
    5970# Overrides default
    6071
Note: See TracChangeset for help on using the changeset viewer.