Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raimondi committed Jun 23, 2015
1 parent 09ffa76 commit 0751a86
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
7 changes: 1 addition & 6 deletions editors/MacVim/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
PortSystem 1.0

name MacVim-dev
set vim_version 7.3
set snapshot 66
set gitcommit master
version 7.4.712
version 7.4.712.20150528
revision 0
categories editors
platforms darwin
Expand All @@ -24,10 +23,6 @@ checksums rmd160 7837828c4ca5ee4bbbd36be724fc3029de989885 \
use_zip yes
worksrcdir ${name}

# 7.3.snapshot66 had a stealth update
dist_subdir ${name}/${version}_1


depends_build bin:gnutar:gnutar \
bin:grep:grep \
bin:autoconf:autoconf \
Expand Down
4 changes: 2 additions & 2 deletions editors/vim/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ PortSystem 1.0

name vim-dev
set vim_version 7.4
set vim_patchlevel 738
set gitcommit 29a50115a5b84656b6190c0172d5bcee4e589a2d
set vim_patchlevel 748
set gitcommit cf3abd0e8cf94c427c54b0edf1bf78397671f12c
version ${vim_version}.${vim_patchlevel}
revision 0
categories editors
Expand Down
10 changes: 10 additions & 0 deletions update_port_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,13 @@ if [[ $VERSION =~ ^7\.[3-9a-zA-Z]+ ]]; then
else
echo "There was a problem getting the current MacVim's version: \"$VERSION\"." &>2
fi

# Update Fish's Portfile
PORTFILE=/Users/israel/ports/shells/fish-dev/Portfile
SHA=$(curl https://api.github.com/repos/fish-shell/fish-shell/commits/master 2>/dev/null | sed -n '/sha/{s/ *"sha": *"\([0-9a-f]*\)",/\1/;p;q;}')

if sed -i -e "/^github\\.setup/s/[0-9a-z]*\$/$SHA/" $PORTFILE; then
echo "git commit updated to $SHA"
else
echo "Could not update git commit." &>2
fi

0 comments on commit 0751a86

Please sign in to comment.