aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-08-30 06:07:18 +0800
committerpav <pav@FreeBSD.org>2006-08-30 06:07:18 +0800
commit0a2ba7a46da927655d2eba2414a7549dc9f01b2d (patch)
tree3e8b77c4f7c0e416f1c77ddebe2b476dd2afa1a1 /devel
parentea9e0074be5f6b0b88eea802a600579596f9bd69 (diff)
downloadfreebsd-ports-gnome-0a2ba7a46da927655d2eba2414a7549dc9f01b2d.tar.gz
freebsd-ports-gnome-0a2ba7a46da927655d2eba2414a7549dc9f01b2d.tar.zst
freebsd-ports-gnome-0a2ba7a46da927655d2eba2414a7549dc9f01b2d.zip
- Try to be clever on removing zsh directories
Requested by: Lapo Luchini <lapo@lapo.it> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r--devel/monotone/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/monotone/Makefile b/devel/monotone/Makefile
index 43798aefe82d..d0204ca32ad8 100644
--- a/devel/monotone/Makefile
+++ b/devel/monotone/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAKEINFO="makeinfo --no-split"
PLIST_FILES= bin/mtn share/zsh/site-functions/_mtn \
- "@dirrm share/zsh/site-functions" \
+ "@unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true" \
"@dirrmtry share/zsh"
INFO= monotone
MAN1= mtn.1