1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Add option knob to suggest to rcorder that it start dovecot first

PR:		ports/163200
Submitted by:	Spil <spil.oss@gmail.com>
Approved by:	gabor (mentor)
This commit is contained in:
Michael Scheidell 2012-01-06 00:56:42 +00:00
parent af42c5091d
commit 5bf24e10aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288579
2 changed files with 13 additions and 2 deletions

View File

@ -27,6 +27,17 @@ SUB_FILES= pkg-message
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
OPTIONS= DOVECOT "Use with dovecot2" off
.include <bsd.port.pre.mk>
.if defined(WITH_DOVECOT)
SUB_LIST+= DOVECOT="dovecot"
RUN_DEPENDS+= dovecot>=1.0:${PORTSDIR}/mail/dovecot2
.else
SUB_LIST+= DOVECOT=""
.endif
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@ -36,4 +47,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf.sample
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -3,7 +3,7 @@
# $FreeBSD$
#
# PROVIDE: imapproxyd
# REQUIRE: DAEMON courier_imap_imapd courier_imap_imapd_ssl cyrus_imapd inetd
# REQUIRE: DAEMON courier_imap_imapd courier_imap_imapd_ssl cyrus_imapd inetd %%DOVECOT%%
# KEYWORD: shutdown
#