summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-01-05 07:27:36 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-01-05 07:27:36 +0000
commita727c310f09da7c6264836a09f051c8c028d6966 (patch)
treeb2feaed72538920f98db4687bd129471e42a3063 /editors
parentadd libxdiff 0.5 (diff)
Remove junk files (ie, .orig) before installing all files in support
directories. Submitted by: Mike Hunter <mhunter@ack.Berkeley.EDU>
Notes
Notes: svn path=/head/; revision=97330
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile4
1 files changed, 4 insertions, 0 deletions
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