aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2017-04-16 01:10:28 +0800
committeradamw <adamw@FreeBSD.org>2017-04-16 01:10:28 +0800
commit993203ac514d04552a3e3b3042ef7739f16982d4 (patch)
tree09c35d87a56c3b94d7ca9faa0bc8cd044c59dc61 /editors
parent2e876ada77e57e1f4b0a19a5bbb15f98968b9866 (diff)
downloadfreebsd-ports-gnome-993203ac514d04552a3e3b3042ef7739f16982d4.tar.gz
freebsd-ports-gnome-993203ac514d04552a3e3b3042ef7739f16982d4.tar.zst
freebsd-ports-gnome-993203ac514d04552a3e3b3042ef7739f16982d4.zip
Update to patchlevel 566. Work around the new unnecessarily aggressive shebang
check by simply removing the shebang from a python file if vim isn't being built with python support.
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile7
-rw-r--r--editors/vim/distinfo6
2 files changed, 8 insertions, 5 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index eea50cbf1221..e3e4d8f2bc93 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= vim
-PORTVERSION= 8.0.0550
+PORTVERSION= 8.0.0566
DISTVERSIONPREFIX= v
CATEGORIES= editors
@@ -46,7 +46,7 @@ VIM_VER= ${PORTNAME}${PORTVERSION:R:S|.||g}
SLAVEDIRS= editors/vim-lite
USE_GITHUB= yes
-SHEBANG_FILES= runtime/tools/efm_perl.pl
+SHEBANG_FILES= runtime/tools/demoserver.py runtime/tools/efm_perl.pl
CPE_VERSION= ${PORTVERSION:R}
PORTSCOUT= site:https://github.com/vim/vim/releases
@@ -153,6 +153,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB}|g' ${WRKSRC}/src/auto/configure
@${ECHO_CMD} '#define SYS_VIMRC_FILE "'${ETCDIR}'/vimrc"' >> ${WRKSRC}/src/feature.h
@${ECHO_CMD} '#define SYS_GVIMRC_FILE "'${ETCDIR}'/gvimrc"' >> ${WRKSRC}/src/feature.h
+.if empty(PORT_OPTIONS:MPYTHON)
+ @${REINPLACE_CMD} -e 1d ${WRKSRC}/runtime/tools/demoserver.py
+.endif
post-patch-EXUBERANT_CTAGS-off:
@${FIND} ${WRKSRC}/runtime/ -name 'menu*.vim' -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e 's|ctags -R \.|${FIND} . -type f \\\| ${XARGS} ctags|g'
diff --git a/editors/vim/distinfo b/editors/vim/distinfo
index 68fa7ec95cb1..7ac1b95239ee 100644
--- a/editors/vim/distinfo
+++ b/editors/vim/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1491668959
-SHA256 (vim-vim-v8.0.0550_GH0.tar.gz) = 626fa683029d09fe9269fcc16f6dc8e23172b06cac6a38170488962de9c02857
-SIZE (vim-vim-v8.0.0550_GH0.tar.gz) = 13070717
+TIMESTAMP = 1492274874
+SHA256 (vim-vim-v8.0.0566_GH0.tar.gz) = e292777fc41e1971ad59187dd8f45eb3f14213121153a8d49f51873490bc0963
+SIZE (vim-vim-v8.0.0566_GH0.tar.gz) = 13074061