Skip to content
Permalink
Browse files

qgis: Rename placeholder to @Prefix@

…from the more ambiguous @@@

See: https://trac.macports.org/ticket/55905
  • Loading branch information
ryandesign committed Mar 4, 2018
1 parent 368722d commit 0844d0206b5b3271e7dd3bbb48a62c23bc921bf7
Showing with 5 additions and 5 deletions.
  1. +1 −1 gis/qgis/Portfile
  2. +4 −4 gis/qgis/files/patch-app_info_plist_in.diff
@@ -58,7 +58,7 @@ post-extract {
}

post-patch {
reinplace -E "s|@@@|${prefix}|g" \
reinplace -E "s|@PREFIX@|${prefix}|g" \
${worksrcpath}/mac/app.info.plist.in
# reinplace -E "s|Clang|AppleClang|" ${worksrcpath}/CMakeLists.txt
}
@@ -7,17 +7,17 @@
+ <key>LSEnvironment</key>
+ <dict>
+ <key>PATH</key>
+ <string>/bin:/usr/bin:/usr/sbin:@@@/bin:@@@/sbin</string>
+ <string>/bin:/usr/bin:/usr/sbin:@PREFIX@/bin:@PREFIX@/sbin</string>
+ <key>GRASS_SH</key>
+ <string>/bin/sh</string>
+ <key>GRASS_PROJSHARE</key>
+ <string>@@@/lib/proj47/share/proj</string>
+ <string>@PREFIX@/lib/proj47/share/proj</string>
+ <key>GRASS_VERSION</key>
+ <string>@GRASS_VERSION@</string>
+ <key>GRASS_LD_LIBRARY_PATH</key>
+ <string>@@@/share/grass-@GRASS_VERSION@/lib</string>
+ <string>@PREFIX@/share/grass-@GRASS_VERSION@/lib</string>
+ <key>GRASS_PERL</key>
+ <string>@@@/bin/perl</string>
+ <string>@PREFIX@/bin/perl</string>
+ </dict>
<key>CFBundleDocumentTypes</key>
<array>

0 comments on commit 0844d02

Please sign in to comment.
You can’t perform that action at this time.