summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-01-05 07:27:36 +0000
committerobrien <obrien@FreeBSD.org>2004-01-05 07:27:36 +0000
commit7ef8dd39af29e23cbf19af30af915d140703dfe0 (patch)
treeaa8343adfba1cd198573f9d83c69e3336ebefbe8 /editors
parent25365a106e35c02b8b55609886ef48fad74581d9 (diff)
downloadFreeBSD-ports-7ef8dd39af29e23cbf19af30af915d140703dfe0.zip
FreeBSD-ports-7ef8dd39af29e23cbf19af30af915d140703dfe0.tar.gz
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 53fcfb4..e247875 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
OpenPOWER on IntegriCloud