summaryrefslogtreecommitdiffstats
path: root/mail/cyrus/Makefile
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-02-15 12:14:15 +0000
committerjkh <jkh@FreeBSD.org>1998-02-15 12:14:15 +0000
commit46400a613588bbd2d1c49f2afe3d2b135b9df03b (patch)
tree999c13c643d49cb2b23146e6fb52854fdae2cc0c /mail/cyrus/Makefile
parent7161e709bdcf72dcefe35941712da01b69e5d92c (diff)
downloadFreeBSD-ports-46400a613588bbd2d1c49f2afe3d2b135b9df03b.zip
FreeBSD-ports-46400a613588bbd2d1c49f2afe3d2b135b9df03b.tar.gz
Unbreak cyrus port.
Submitted by: Ian Vaudrey <i.vaudrey@bigfoot.com> PR: 4729
Diffstat (limited to 'mail/cyrus/Makefile')
-rw-r--r--mail/cyrus/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/mail/cyrus/Makefile b/mail/cyrus/Makefile
index 44f9422..979f245 100644
--- a/mail/cyrus/Makefile
+++ b/mail/cyrus/Makefile
@@ -3,7 +3,7 @@
# Date created: May 4th 1997
# Whom: jfitz@FreeBSD.ORG
#
-# $Id: Makefile,v 1.2 1997/09/02 09:46:50 max Exp $
+# $Id: Makefile,v 1.3 1997/11/22 01:11:27 asami Exp $
#
DISTNAME= cyrus-imapd-v1.5.2
@@ -13,13 +13,15 @@ MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
MAINTAINER= jfitz@FreeBSD.ORG
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
-BROKEN= tcl
-
HAS_CONFIGURE= YES
CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \
- --with-cyrus-group=cyrus
+ --with-cyrus-group=cyrus \
+ --with-tcl=${PREFIX} \
+ --with-login=unix_pwcheck \
+ --with-auth=unix
MAN1= cyradm.1
MAN3= imclient.3
@@ -35,12 +37,14 @@ pre-install:
@ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8
post-install:
- ${MKDIR} ${PREFIX}/share/doc/cyrus/html
@ ${MV} ${PREFIX}/cyrus/bin/quota ${PREFIX}/cyrus/bin/cyrquota
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/cyrus/html
.for file in acl-extension bugs changes copyrights install overview quota-extension server-design
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/cyrus
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/html/* ${PREFIX}/share/doc/cyrus/html
+.endif
${INSTALL_DATA} ${FILESDIR}/imapd.conf ${PREFIX}/etc
${MKDIR} -p -m 750 /var/spool/imap
/usr/sbin/chown cyrus.cyrus /var/spool/imap
@@ -58,13 +62,9 @@ post-install:
${PREFIX}/etc/imap/msg
/usr/sbin/chown cyrus.cyrus ${PREFIX}/etc/imap/*
echo "Installing ${PREFIX}/etc/rc.d/cyrus.sh startup file."; \
- echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/cyrus.sh
- echo "#" >> ${PREFIX}/etc/rc.d/cyrus.sh
- echo "" >> ${PREFIX}/etc/rc.d/cyrus.sh
- echo "if [ -x ${PREFIX}/cyrus/bin/pwcheck ]" >> ${PREFIX}/etc/rc.d/cyrus.sh
- echo "then" >> ${PREFIX}/etc/rc.d/cyrus.sh
- echo " ${PREFIX}/cyrus/bin/pwcheck & && echo -n ' pwcheck'" >> ${PREFIX}/etc/rc.d/cyrus.sh
- echo "fi" >> ${PREFIX}/etc/rc.d/cyrus.sh
+ cat ${FILESDIR}/cyrus.sh.pt1 > ${PREFIX}/etc/rc.d/cyrus.sh
+ echo PREFIX=${PREFIX} >> ${PREFIX}/etc/rc.d/cyrus.sh
+ cat ${FILESDIR}/cyrus.sh.pt2 >> ${PREFIX}/etc/rc.d/cyrus.sh
/bin/chmod 751 ${PREFIX}/etc/rc.d/cyrus.sh
.include <bsd.port.mk>
OpenPOWER on IntegriCloud