diff options
author | Will Andrews <will@FreeBSD.org> | 2000-12-21 23:16:02 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-12-21 23:16:02 +0000 |
commit | 2eab1042421ce63e3a3dcf5b7eb54ef3b5145e60 (patch) | |
tree | 03e965475fc5d465f249dad5443a208bfcc53370 /mail/cyrus-imapd | |
parent | Fix broken MASTER_SITES. While I'm here, take pity on asp2php's Makefile (diff) |
Obey portlint better, and use sensible defaults in configure args.
PR: 23680
Submitted by: David W. Chapman, Jr. <dwcjr@inethoston.net>
Notes
Notes:
svn path=/head/; revision=36213
Diffstat (limited to 'mail/cyrus-imapd')
-rw-r--r-- | mail/cyrus-imapd/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile index a7db7ea5af3d..427344920095 100644 --- a/mail/cyrus-imapd/Makefile +++ b/mail/cyrus-imapd/Makefile @@ -14,17 +14,17 @@ DISTNAME= ${PORTNAME}-imapd-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -Y2K= http://asg.web.cmu.edu/cyrus/imapd/y2k.html - LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \ ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl +Y2K= http://asg.web.cmu.edu/cyrus/imapd/y2k.html + GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \ --with-cyrus-group=cyrus \ - --with-sasldir=/usr/local \ - --with-tclsh=${PREFIX}/bin/tclsh8.2 \ + --with-sasldir=${LOCALBASE} \ + --with-tclsh=${LOCALBASE}/bin/tclsh8.2 \ --with-auth=unix \ --with-com-err @@ -76,19 +76,19 @@ post-install: ${PREFIX}/etc/imap/msg ${TOUCH} ${PREFIX}/etc/imap/mailboxes ${CHMOD} 640 ${PREFIX}/etc/imap/mailboxes - chown cyrus:cyrus ${PREFIX}/etc/imap/mailboxes - @${ECHO} "@exec mkdir %D/etc/imap" >>${TMPPLIST} + ${CHOWN} cyrus:cyrus ${PREFIX}/etc/imap/mailboxes + @${ECHO} "@exec ${MKDIR} %D/etc/imap" >>${TMPPLIST} .for dir in user quota proc log msg - @${ECHO} "@exec mkdir %D/etc/imap/${dir}" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} %D/etc/imap/${dir}" >>${TMPPLIST} @${ECHO} "@dirrm etc/imap/${dir}" >>${TMPPLIST} .endfor - @${ECHO} "@exec cp /dev/null %D/etc/imap/mailboxes" >>${TMPPLIST} - @${ECHO} "@exec chown -R cyrus:cyrus %D/etc/imap" >>${TMPPLIST} - @${ECHO} "@exec chmod -R g-w,o= %D/etc/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CP} /dev/null %D/etc/imap/mailboxes" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus %D/etc/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} -R g-w,o= %D/etc/imap" >>${TMPPLIST} @${ECHO} "@mode u=rwx,go=" >>${TMPPLIST} - @${ECHO} "@exec mkdir /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec chown cyrus:cyrus /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec chmod g-w,o= /var/spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} /var/spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} cyrus:cyrus /var/spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} g-w,o= /var/spool/imap" >>${TMPPLIST} @${ECHO} "@cwd /var" >>${TMPPLIST} @${ECHO} "@dirrm spool/imap" >>${TMPPLIST} @PKG_PREFIX=${PREFIX} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |