summaryrefslogtreecommitdiff
path: root/mail/imap-uw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/imap-uw/Makefile')
-rw-r--r--mail/imap-uw/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index d4380e1bb154..8135a1dc42eb 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -20,6 +20,9 @@ DISTFILES= ${DISTNAME}.tar.Z \
MAINTAINER= petef@databits.net
LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
+.if defined(WITH_DRAC)
+BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
+.endif
MAN8= ipopd.8 imapd.8
ALL_TARGET= bsf
@@ -46,6 +49,16 @@ do-install:
${INSTALL_MAN} \
${WRKSRC}/src/ipopd/ipopd.8c ${PREFIX}/man/man8/ipopd.8
+.if defined(WITH_DRAC)
+post-install:
+ @${ECHO} "================================================================================"
+ @${ECHO} "To have DRAC working, you must create ${PREFIX}/etc/dracd.host, containing"
+ @${ECHO} "the hostname of the DRAC server:"
+ @${ECHO}
+ @${ECHO} "localhost"
+ @${ECHO} "================================================================================"
+.endif
+
post-install:
@${CAT} ${PKGMESSAGE}