aboutsummaryrefslogtreecommitdiffstats
path: root/mail/py-spambayes
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-06-24 22:47:11 +0800
committerlioux <lioux@FreeBSD.org>2004-06-24 22:47:11 +0800
commit779b30fca1dcb7ab60cac2d6f470d046c4cb0ff4 (patch)
tree71965a42af19044a3b6ed12436c3879bf566b19b /mail/py-spambayes
parent355d9f81901a0e924963a994500a66fc59f7dcd8 (diff)
downloadfreebsd-ports-gnome-779b30fca1dcb7ab60cac2d6f470d046c4cb0ff4.tar.gz
freebsd-ports-gnome-779b30fca1dcb7ab60cac2d6f470d046c4cb0ff4.tar.zst
freebsd-ports-gnome-779b30fca1dcb7ab60cac2d6f470d046c4cb0ff4.zip
Fix installation typo
PR: 68181 Submitted by: Danny Pansters <danny@ricin.com>
Diffstat (limited to 'mail/py-spambayes')
-rw-r--r--mail/py-spambayes/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/py-spambayes/Makefile b/mail/py-spambayes/Makefile
index 315eea86b26f..9c9601f1cc83 100644
--- a/mail/py-spambayes/Makefile
+++ b/mail/py-spambayes/Makefile
@@ -36,7 +36,9 @@ post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+ @if [ -f ${WRKSRC}/${file} ]; then \
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} ; \
+ fi
.endfor
@${MKDIR} ${DOCSDIR}/contrib
@${INSTALL_DATA} ${WRKSRC}/contrib/* ${DOCSDIR}/contrib