aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail811/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sendmail811/Makefile')
-rw-r--r--mail/sendmail811/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile
index 915fc416838c..3d670ffbf35a 100644
--- a/mail/sendmail811/Makefile
+++ b/mail/sendmail811/Makefile
@@ -148,21 +148,16 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/*/${i} ${MANPREFIX}/man/man1
.endfor
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/sendmail ${PREFIX}/share/doc/sendmail
- @cd ${WRKSRC}; ${TAR} cf - cf |\
- (cd ${PREFIX}/share/sendmail; ${TAR} xf -)
- @cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/sendmail/
- ${INSTALL_DATA} ${WRKSRC}/devtools/README \
- ${PREFIX}/share/doc/sendmail/DEVTOOLS
- ${INSTALL_DATA} ${WRKSRC}/sendmail/README \
- ${PREFIX}/share/doc/sendmail/SENDMAIL
- ${INSTALL_DATA} ${WRKSRC}/mail.local/README \
- ${PREFIX}/share/doc/sendmail/MAIL.LOCAL
- ${INSTALL_DATA} ${WRKSRC}/smrsh/README \
- ${PREFIX}/share/doc/sendmail/SMRSH
+ ${MKDIR} ${PREFIX}/share/sendmail ${DOCSDIR}
+ @${TAR} -C ${WRKSRC} -cf - cf | \
+ ${TAR} -C ${PREFIX}/share/sendmail -xf -
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/devtools/README ${DOCSDIR}/DEVTOOLS
+ ${INSTALL_DATA} ${WRKSRC}/sendmail/README ${DOCSDIR}/SENDMAIL
+ ${INSTALL_DATA} ${WRKSRC}/mail.local/README ${DOCSDIR}/MAIL.LOCAL
+ ${INSTALL_DATA} ${WRKSRC}/smrsh/README ${DOCSDIR}/SMRSH
.if defined(SENDMAIL_WITH_MILTER)
- ${INSTALL_DATA} ${WRKSRC}/libmilter/README \
- ${PREFIX}/share/doc/sendmail/MILTER
+ ${INSTALL_DATA} ${WRKSRC}/libmilter/README ${DOCSDIR}/MILTER
.endif
.endif
.if exists(${DESTDIR}/etc/mail/mailer.conf)