Index: Makefile =================================================================== RCS file: /home/pcvs/ports/editors/cream/Makefile,v --- Makefile 30 Jun 2007 18:43:40 -0000 1.12 +++ Makefile 29 Sep 2007 03:41:01 -0000 @@ -16,10 +16,12 @@ 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 + +VIMRUNTIME!= cd ${PORTSDIR}/editors/vim && ${MAKE} -V DATADIR + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cream ${PREFIX}/bin ${MKDIR} ${VIMRUNTIME}/cream @@ -40,4 +42,4 @@ .endfor .endif -.include +.include