aboutsummaryrefslogtreecommitdiff
path: root/editors/cream
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-10-01 16:31:17 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-10-01 16:31:17 +0000
commitb0be2c4d31ec4eb24163d1a44f79caf25ba05bb0 (patch)
treeac6f59cb9ee7f919df198ae27c89abeb6c5a59fa /editors/cream
parent2922768d1fe2e5042b83a581b4a424e28aecfd29 (diff)
downloadports-b0be2c4d31ec4eb24163d1a44f79caf25ba05bb0.tar.gz
ports-b0be2c4d31ec4eb24163d1a44f79caf25ba05bb0.zip
Notes
Diffstat (limited to 'editors/cream')
-rw-r--r--editors/cream/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/cream/Makefile b/editors/cream/Makefile
index a1e4f0a729e1..23fe8f646bac 100644
--- a/editors/cream/Makefile
+++ b/editors/cream/Makefile
@@ -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>