aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd25/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-09-11 17:58:44 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-09-11 17:58:44 +0000
commit5227e46eda5662df5242884d2c032bcdc1248c7f (patch)
treefaf35555755a0b717a00a056b28d2c7295ca6582 /mail/cyrus-imapd25/Makefile
parent29d5fde25b766cfbecad5ba158d8b67448ae1111 (diff)
downloadports-5227e46eda5662df5242884d2c032bcdc1248c7f.tar.gz
ports-5227e46eda5662df5242884d2c032bcdc1248c7f.zip
Notes
Diffstat (limited to 'mail/cyrus-imapd25/Makefile')
-rw-r--r--mail/cyrus-imapd25/Makefile42
1 files changed, 40 insertions, 2 deletions
diff --git a/mail/cyrus-imapd25/Makefile b/mail/cyrus-imapd25/Makefile
index 176ca7137d7f..b46c9a7d3a29 100644
--- a/mail/cyrus-imapd25/Makefile
+++ b/mail/cyrus-imapd25/Makefile
@@ -125,6 +125,23 @@ SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP}
CYRUS_USER?= cyrus
CYRUS_GROUP?= cyrus
+MAN_MAN1= imtest installsieve lmtptest mupdatetest nntptest pop3test \
+ sieveshell sivtest smtptest
+MAN_MAN3= imclient
+MAN_MAN5= cyrus.conf imapd.conf krb.equiv
+
+CYRUS_MAN8= arbitron chk_cyrus ctl_cyrusdb ctl_deliver ctl_mboxlist \
+ cvt_cyrusdb cyr_dbtool cyr_deny cyr_df cyr_expire cyr_info \
+ cyr_synclog deliver fud idled imapd ipurge lmtpd master \
+ mbexamine mbpath notifyd pop3d quota reconstruct rmnews \
+ smmapd squatter sync_client sync_reset sync_server timsieved \
+ tls_prune unexpunge
+
+CYRUS_PERL_MAN1=cyradm
+CYRUS_PERL_MAN3=Cyrus::Annotator::Daemon Cyrus::Annotator::Message \
+ Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::IMSP \
+ Cyrus::IMAP::Shell Cyrus::SIEVE::managesieve
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBDB}
@@ -153,6 +170,13 @@ USE_SQLITE=yes
CONFIGURE_ARGS+=--disable-gssapi
.endif
+.if ${PORT_OPTIONS:MHTTP}
+CYRUS_MAN8+= ctl_zoneinfo httpd
+.endif
+.if ${PORT_OPTIONS:MNNTP}
+CYRUS_MAN8+= fetchnews nntpd
+.endif
+
.if ${PORT_OPTIONS:MDRAC}
pre-patch:
${PATCH} -d ${PATCH_WRKSRC} --forward --quiet -E -p1 \
@@ -180,11 +204,25 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/imapd.conf \
${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap \
- ${STAGEDIR}${PREFIX}/cyrus/bin/mkimap
+ ${STAGEDIR}${CYRUS_PREFIX}/bin/mkimap
${INSTALL_SCRIPT} ${WRKSRC}/tools/masssievec \
- ${STAGEDIR}${PREFIX}/cyrus/bin/masssievec
+ ${STAGEDIR}${CYRUS_PREFIX}/bin/masssievec
${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \
${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf
+.for s in 1 3 5
+. for m in ${MAN_MAN${s}}
+ @${ECHO_CMD} man/man${s}/${m}.${s}.gz >> ${TMPPLIST}
+. endfor
+.endfor
+.for m in ${CYRUS_PERL_MAN1}
+ @${ECHO_CMD} man/man1/${m}.1.gz >> ${TMPPLIST}
+.endfor
+.for m in ${CYRUS_PERL_MAN3}
+ @${ECHO_CMD} ${SITE_MAN3}/${m}.3.gz >> ${TMPPLIST}
+.endfor
+.for m in ${CYRUS_MAN8}
+ @${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST}
+.endfor
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}