- FreeBSD's ctags has no -R option.

Approved by:	maintainer timeout (4 months)
This commit is contained in:
Stanislav Sedov 2007-01-02 22:41:37 +00:00
parent 0ada2aeeb5
commit 272eaf68ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181304

View file

@ -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 ' \