- Take VIMRUNTIME value from editors/vim instead of hard coding it.

PR:		ports/116726
Submitted by:	alepulver (myself)
Approved by:	Janos Mohacsi <mohacsi@niif.hu> (maintainer)
This commit is contained in:
Alejandro Pulver 2007-10-01 16:31:17 +00:00
parent 2922768d1f
commit b0be2c4d31
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200554

View File

@ -16,10 +16,12 @@ COMMENT= Gvim extension with many features
RUN_DEPENDS= ${LOCALBASE}/bin/gvim:${PORTSDIR}/editors/vim
NO_BUILD= yes
# needs updating for each major vim update.
VIMRUNTIME= ${PREFIX}/share/vim/vim71
PLIST_SUB= VIMRUNTIME="${VIMRUNTIME:S/${PREFIX}\///}"
.include <bsd.port.pre.mk>
VIMRUNTIME!= cd ${PORTSDIR}/editors/vim && ${MAKE} -V DATADIR
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cream ${PREFIX}/bin
${MKDIR} ${VIMRUNTIME}/cream
@ -40,4 +42,4 @@ do-install:
.endfor
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>