summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-01-29 19:36:13 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-01-29 19:36:13 +0000
commit75ac461139b2e3f99d5cfbd6c2ac00bd7e119461 (patch)
treeff4f1380577176c026402cce5d3c0e8419b3bd3c /mail
parentMark this as broken for a couple of days; while committing it, addport (diff)
- Add html-docs when made with SENDMAIL_WITH_MILTER=yes
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail/Makefile3
-rw-r--r--mail/sendmail/files/pkg-milter37
-rw-r--r--mail/sendmail812/Makefile3
-rw-r--r--mail/sendmail812/files/pkg-milter37
4 files changed, 80 insertions, 0 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 462b7f9d4b5a..d73a371a3f7a 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -163,6 +163,9 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/smrsh/README ${DOCSDIR}/SMRSH
.if defined(SENDMAIL_WITH_MILTER)
${INSTALL_DATA} ${WRKSRC}/libmilter/README ${DOCSDIR}/MILTER
+ ${MKDIR} ${DOCSDIR}/libmilter
+ @${TAR} -C ${WRKSRC}/libmilter/docs -cf - . | \
+ ${TAR} -C ${DOCSDIR}/libmilter -xf -
.endif
.endif
.if exists(${DESTDIR}/etc/mail/mailer.conf)
diff --git a/mail/sendmail/files/pkg-milter b/mail/sendmail/files/pkg-milter
index cb16df91eb9a..f966f52e34a7 100644
--- a/mail/sendmail/files/pkg-milter
+++ b/mail/sendmail/files/pkg-milter
@@ -6,3 +6,40 @@ lib/libsmutil.a
lib/libsmdb.a
@dirrm include/libmilter
%%PORTDOCS%%share/doc/sendmail/MILTER
+%%PORTDOCS%%share/doc/sendmail/libmilter/api.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/design.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure1.fig
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure1.jpg
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure1.ps
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure2.fig
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure2.jpg
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure2.ps
+%%PORTDOCS%%share/doc/sendmail/libmilter/index.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/installation.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/other.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/overview.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/sample.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_addheader.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_addrcpt.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_chgheader.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_delrcpt.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_getpriv.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_getsymval.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_main.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_register.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_replacebody.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setconn.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setpriv.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setreply.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_settimeout.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_abort.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_body.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_close.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_connect.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_envfrom.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_envrcpt.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_eoh.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_eom.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_header.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_helo.html
+%%PORTDOCS%%@dirrm share/doc/sendmail/libmilter
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile
index 462b7f9d4b5a..d73a371a3f7a 100644
--- a/mail/sendmail812/Makefile
+++ b/mail/sendmail812/Makefile
@@ -163,6 +163,9 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/smrsh/README ${DOCSDIR}/SMRSH
.if defined(SENDMAIL_WITH_MILTER)
${INSTALL_DATA} ${WRKSRC}/libmilter/README ${DOCSDIR}/MILTER
+ ${MKDIR} ${DOCSDIR}/libmilter
+ @${TAR} -C ${WRKSRC}/libmilter/docs -cf - . | \
+ ${TAR} -C ${DOCSDIR}/libmilter -xf -
.endif
.endif
.if exists(${DESTDIR}/etc/mail/mailer.conf)
diff --git a/mail/sendmail812/files/pkg-milter b/mail/sendmail812/files/pkg-milter
index cb16df91eb9a..f966f52e34a7 100644
--- a/mail/sendmail812/files/pkg-milter
+++ b/mail/sendmail812/files/pkg-milter
@@ -6,3 +6,40 @@ lib/libsmutil.a
lib/libsmdb.a
@dirrm include/libmilter
%%PORTDOCS%%share/doc/sendmail/MILTER
+%%PORTDOCS%%share/doc/sendmail/libmilter/api.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/design.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure1.fig
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure1.jpg
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure1.ps
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure2.fig
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure2.jpg
+%%PORTDOCS%%share/doc/sendmail/libmilter/figure2.ps
+%%PORTDOCS%%share/doc/sendmail/libmilter/index.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/installation.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/other.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/overview.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/sample.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_addheader.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_addrcpt.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_chgheader.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_delrcpt.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_getpriv.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_getsymval.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_main.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_register.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_replacebody.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setconn.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setpriv.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setreply.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_settimeout.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_abort.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_body.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_close.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_connect.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_envfrom.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_envrcpt.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_eoh.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_eom.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_header.html
+%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_helo.html
+%%PORTDOCS%%@dirrm share/doc/sendmail/libmilter