aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-01-05 15:27:36 +0800
committerobrien <obrien@FreeBSD.org>2004-01-05 15:27:36 +0800
commit7ef8dd39af29e23cbf19af30af915d140703dfe0 (patch)
treeaa8343adfba1cd198573f9d83c69e3336ebefbe8 /editors
parent25365a106e35c02b8b55609886ef48fad74581d9 (diff)
downloadfreebsd-ports-gnome-7ef8dd39af29e23cbf19af30af915d140703dfe0.tar.gz
freebsd-ports-gnome-7ef8dd39af29e23cbf19af30af915d140703dfe0.tar.zst
freebsd-ports-gnome-7ef8dd39af29e23cbf19af30af915d140703dfe0.zip
Remove junk files (ie, .orig) before installing all files in support
directories. Submitted by: Mike Hunter <mhunter@ack.Berkeley.EDU>
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