diff options
author | will <will@FreeBSD.org> | 2000-12-22 07:16:02 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-12-22 07:16:02 +0800 |
commit | fd42c1125094136157f9a96f327ab2f829e63faa (patch) | |
tree | 75310c496816e194aa4b9b5c2d666ac95e9566e6 /mail/cyrus | |
parent | 7a770c9a7928e303cec10d95a7e1a13b40406945 (diff) | |
download | freebsd-ports-graphics-fd42c1125094136157f9a96f327ab2f829e63faa.tar.gz freebsd-ports-graphics-fd42c1125094136157f9a96f327ab2f829e63faa.tar.zst freebsd-ports-graphics-fd42c1125094136157f9a96f327ab2f829e63faa.zip |
Obey portlint better, and use sensible defaults in configure args.
PR: 23680
Submitted by: David W. Chapman, Jr. <dwcjr@inethoston.net>
Diffstat (limited to 'mail/cyrus')
-rw-r--r-- | mail/cyrus/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/mail/cyrus/Makefile b/mail/cyrus/Makefile index a7db7ea5af3..42734492009 100644 --- a/mail/cyrus/Makefile +++ b/mail/cyrus/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 |