diff options
Diffstat (limited to 'editors/cream/Makefile')
-rw-r--r-- | editors/cream/Makefile | 8 |
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> |