Skip to content

Commit

Permalink
Use zipballs from github.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raimondi committed May 17, 2015
1 parent d57abe2 commit fc74ef0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
1 change: 0 additions & 1 deletion editors/MacVim/Portfile
Expand Up @@ -18,7 +18,6 @@ long_description \
better and integrate more seamlessly with the Mac than vim-app.
homepage http://code.google.com/p/macvim

#master_sites http://github.com/b4winckler/macvim/zipball/${gitcommit}
master_sites http://github.com/macvim-dev/macvim/zipball/${gitcommit}
checksums rmd160 7837828c4ca5ee4bbbd36be724fc3029de989885 \
sha256 f8e317393a2cb78e459f8a430d392bcba85b89e19afc5e9692b1b239aee8b8fe
Expand Down
19 changes: 11 additions & 8 deletions editors/vim/Portfile
Expand Up @@ -4,8 +4,7 @@ PortSystem 1.0

name vim-dev
set vim_version 7.3
#set gitcommit master
#set gitcommit 17cf3bd97847dd0f7ac69ed901ef51eca788f28c
set gitcommit master
version 7.4.729
revision 0
categories editors
Expand All @@ -19,15 +18,11 @@ long_description \

homepage http://www.vim.org/

#master_sites http://github.com/b4winckler/vim/zipball/${gitcommit}
master_sites http://github.com/vim/vim/zipball/${gitcommit}
distname vim-${vim_version}
#use_zip yes
use_zip yes
dist_subdir ${name}/${vim_version}_2
worksrcdir ${name}
fetch.type git
git.url https://github.com/vim/vim.git
#git.branch 17cf3bd97847dd0f7ac69ed901ef51eca788f28c
git.branch master

# Use MacPorts' default compilers
# http://trac.macports.org/wiki/UsingTheRightCompiler
Expand All @@ -41,6 +36,14 @@ post-patch {

checksum {}

post-extract {
# github zipball has root folder including commitish, renaming for ease of use
file rename [glob ${workpath}/vim-*] ${worksrcpath}

# create cache directory
file mkdir ${workpath}/caches
}

depends_build bin:grep:grep
depends_lib port:ncurses \
port:gettext \
Expand Down
2 changes: 2 additions & 0 deletions myports
Expand Up @@ -4,3 +4,5 @@ pass
sc
stockfish
fortune-mod
cowsay
lastpass-cli

0 comments on commit fc74ef0

Please sign in to comment.