summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2007-01-02 22:41:37 +0000
committerStanislav Sedov <stas@FreeBSD.org>2007-01-02 22:41:37 +0000
commit272eaf68edfcb886d2c9061a4c4e0496e064821f (patch)
treee2e0ec9f3e354453b00e6de3ae112c0c3753e347 /editors
parentUpdate to 2.3.1. (diff)
- FreeBSD's ctags has no -R option.
Approved by: maintainer timeout (4 months)
Notes
Notes: svn path=/head/; revision=181304
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 1d0707792ce5..7bc0d0eaaf67 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -10,7 +10,7 @@ PORTNAME?= vim
PATCHLEVEL= 178
PORTVERSION= 7.0.${PATCHLEVEL}
RELEASE= vim-${PORTVERSION:C/\.[0-9a-z]*$//}
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= editors
MASTER_SITES= ${MASTER_SITE_VIM}
DISTFILES= ${RELEASE}${EXTRACT_SUFX}
@@ -46,6 +46,7 @@ WRKSRC= ${WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src
PATCH_DIST_ARGS= -d ${WRKSRC:S/src$//} --batch --forward --quiet -E ${PATCH_DIST_STRIP}
# consider
#PATCH_DIST_ARGS= -t
+REINPLACE_ARGS= -i ""
MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}"
ALL_TARGET= #
_DATADIR= ${RELEASE:S/-//g:S/.//g}
@@ -156,6 +157,11 @@ post-extract:
@${TAR} -C ${WRKDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${LANG_FILE}
.endif
+post-patch:
+ @(${FIND} ${WRKSRC}/../runtime/ -name menu\*.vim -print0 | ${XARGS} -0\
+ ${REINPLACE_CMD} \
+ -e 's,ctags -R \.,${FIND} . -type f|${XARGS} ctags,g')
+
pre-configure:
@(cd ${WRKSRC} ; ${MAKE} distclean)
@${REINPLACE_CMD} -e ' \