From 7ef8dd39af29e23cbf19af30af915d140703dfe0 Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 5 Jan 2004 07:27:36 +0000 Subject: Remove junk files (ie, .orig) before installing all files in support directories. Submitted by: Mike Hunter --- editors/vim/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editors') diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 53fcfb4f434a..e247875cea26 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -141,6 +141,10 @@ pre-configure: s|\$$gtk_config_exec_prefix/bin/gtk-config|\$${GTK_CONFIG}|' \ ${WRKSRC}/auto/configure +# Clean up junk files to keep them from being installed. +pre-install: + @${RM} -f ${WRKSRC}/../runtime/macros/maze/*.orig + post-install: [ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -sf vim gvim) # below needed for `vim-lite' port -- cgit