Skip to content

Commit

Permalink
MacVim: disable sparkle auto update
Browse files Browse the repository at this point in the history
  • Loading branch information
i0ntempest authored and raimue committed Sep 11, 2023
1 parent 0df5d30 commit 33e3aaf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion editors/MacVim/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PortGroup compiler_blacklist_versions 1.0
set vim_version 9.0
set release 177
github.setup macvim-dev macvim ${release} release-
revision 0
revision 1
name MacVim
version ${vim_version}.release${release}
categories editors
Expand Down Expand Up @@ -55,6 +55,13 @@ post-extract {
file mkdir ${workpath}/caches
}

post-patch {
# Disable Sparkle auto update
system -W ${worksrcpath}/src/MacVim/ "/usr/libexec/PlistBuddy -c \"Delete :SUFeedURL\" Info.plist"
system -W ${worksrcpath}/src/MacVim/ "/usr/libexec/PlistBuddy -c \"Delete :SUPublicEDKey\" Info.plist"
system -W ${worksrcpath}/src/MacVim/ "/usr/libexec/PlistBuddy -c \"Add :SUEnableAutomaticChecks bool false\" Info.plist"
}

use_xcode yes

autoconf.cmd make autoconf
Expand Down

0 comments on commit 33e3aaf

Please sign in to comment.