[129757] trunk/dports/mail/cyrus-imapd/Portfile
devans at macports.org
devans at macports.org
Fri Dec 19 15:27:52 PST 2014
Revision: 129757
https://trac.macports.org/changeset/129757
Author: devans at macports.org
Date: 2014-12-19 15:27:52 -0800 (Fri, 19 Dec 2014)
Log Message:
-----------
cyrus-imapd: reformat, white space only.
Modified Paths:
--------------
trunk/dports/mail/cyrus-imapd/Portfile
Modified: trunk/dports/mail/cyrus-imapd/Portfile
===================================================================
--- trunk/dports/mail/cyrus-imapd/Portfile 2014-12-19 23:19:29 UTC (rev 129756)
+++ trunk/dports/mail/cyrus-imapd/Portfile 2014-12-19 23:27:52 UTC (rev 129757)
@@ -1,111 +1,111 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name cyrus-imapd
-version 2.3.18
-revision 3
+name cyrus-imapd
+version 2.3.18
+revision 3
set perl_version 5.12
-categories mail
-platforms darwin
-license BSD-old
-maintainers nomaintainer
+categories mail
+platforms darwin
+license BSD-old
+maintainers nomaintainer
-description The Cyrus IMAP Server
-long_description Popular, scalable, open standars based IMAP & POP3 mail server \
- developed by The Carnegie Mellon University.
+description The Cyrus IMAP Server
+long_description Popular, scalable, open standars based IMAP & POP3 mail server \
+ developed by The Carnegie Mellon University.
-homepage http://cyrusimap.org/
-master_sites ftp://ftp.cyrusimap.org/cyrus-imapd/
+homepage http://cyrusimap.org/
+master_sites ftp://ftp.cyrusimap.org/cyrus-imapd/
-checksums rmd160 b9d351b5c73c4e87019fb8aa0efd0a8a29ac6a40 \
- sha256 7724959d49191b993ef387c31a0ea7d30f1df7d255e73dff0b7887eff679ce5a
+checksums rmd160 b9d351b5c73c4e87019fb8aa0efd0a8a29ac6a40 \
+ sha256 7724959d49191b993ef387c31a0ea7d30f1df7d255e73dff0b7887eff679ce5a
-depends_build port:makedepend
-depends_lib port:perl${perl_version} \
- port:cyrus-sasl2 \
- port:db44 \
- port:openssl
+depends_build port:makedepend
+depends_lib port:perl${perl_version} \
+ port:cyrus-sasl2 \
+ port:db44 \
+ port:openssl
-patchfiles patch-depot-Makefile.in.diff \
- patch-lib-charset.c.diff
+patchfiles patch-depot-Makefile.in.diff \
+ patch-lib-charset.c.diff
# wrong number of arguments at (eval 1) line 41, <DATA> line 256.
-configure.ccache no
+configure.ccache no
-configure.args --mandir=${prefix}/share/man \
- --sysconfdir=${prefix}/etc/cyrus \
- --with-cyrus-prefix=${prefix} \
- --with-pidfile=${prefix}/var/run/cyrus-master.pid \
- --with-bdb-incdir=${prefix}/include/db44 \
- --with-bdb-libdir=${prefix}/lib/db44 \
- --with-perl=${prefix}/bin/perl${perl_version} \
- --with-sasl=${prefix} \
- --with-openssl=${prefix} \
- --with-cyrus-user=cyrus \
- --with-cyrus-group=mail \
- --with-auth=unix \
- --enable-listext \
- --enable-cmulocal \
- --enable-netscapehack \
- --with-snmp=no \
- --disable-sieve \
- --disable-gssapi \
- --with-com_err
+configure.args --mandir=${prefix}/share/man \
+ --sysconfdir=${prefix}/etc/cyrus \
+ --with-cyrus-prefix=${prefix} \
+ --with-pidfile=${prefix}/var/run/cyrus-master.pid \
+ --with-bdb-incdir=${prefix}/include/db44 \
+ --with-bdb-libdir=${prefix}/lib/db44 \
+ --with-perl=${prefix}/bin/perl${perl_version} \
+ --with-sasl=${prefix} \
+ --with-openssl=${prefix} \
+ --with-cyrus-user=cyrus \
+ --with-cyrus-group=mail \
+ --with-auth=unix \
+ --enable-listext \
+ --enable-cmulocal \
+ --enable-netscapehack \
+ --with-snmp=no \
+ --disable-sieve \
+ --disable-gssapi \
+ --with-com_err
-startupitem.create yes
-startupitem.name cyrus
-startupitem.requires Disks Network "System Log"
-startupitem.start "${prefix}/bin/master -d"
-startupitem.stop "pidfile=${prefix}/var/run/cyrus-master.pid
- if \[ -f \${pidfile} \]; then
- kill -TERM \$(cat \${pidfile})
- fi"
-post-destroot {
- set uid [nextuid]
- set gid [nextgid]
- adduser cyrus realname=Cyrus\ User uid=${uid} gid=${gid} home=${prefix}/var/imap \
- shell=/usr/bin/false passwd="\*"
- addgroup mail gid=${gid} users=cyrus
- xinstall -m 755 -v ${worksrcpath}/tools/mkimap ${destroot}${prefix}/bin
- reinplace "s|/etc/imapd.conf|${prefix}/etc/cyrus/imapd.conf|" ${destroot}${prefix}/bin/mkimap
- xinstall -m 755 -v ${worksrcpath}/tools/mknewsgroups ${destroot}${prefix}/bin
- xinstall -m 755 -v ${worksrcpath}/tools/dohash ${destroot}${prefix}/bin
- xinstall -m 755 -v ${worksrcpath}/tools/rehash ${destroot}${prefix}/bin
- xinstall -m 755 -v ${worksrcpath}/tools/upgradesieve ${destroot}${prefix}/bin
- xinstall -d -m 755 ${destroot}${prefix}/share/doc/
- file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
- foreach d [glob -directory ${destroot}${prefix}/share/doc/${name} -type d *] { file delete -force ${destroot}${prefix}/share/doc/${name}/html ${destroot}${prefix}/share/doc/${name}/CVS $d/CVS }
- xinstall -d -m 755 ${destroot}${prefix}/etc/cyrus/samples
- foreach f [glob -directory ${worksrcpath}/master/conf -type f *.conf] {
- xinstall -m 644 -v $f ${destroot}${prefix}/etc/cyrus/samples/[file tail $f].sample
- }
- xinstall -d -m 750 -o cyrus -g mail ${destroot}${prefix}/var/imap
- xinstall -d -m 750 -o cyrus -g mail ${destroot}${prefix}/var/spool/imap
- destroot.keepdirs ${destroot}${prefix}/var/run ${destroot}${prefix}/var/imap \
- ${destroot}${prefix}/var/spool/imap ${destroot}${prefix}/var/log
- eval delete [glob ${destroot}${prefix}/lib/perl5/*/*/perllocal.pod]
+startupitem.create yes
+startupitem.name cyrus
+startupitem.requires Disks Network "System Log"
+startupitem.start "${prefix}/bin/master -d"
+startupitem.stop "pidfile=${prefix}/var/run/cyrus-master.pid
+ if \[ -f \${pidfile} \]; then
+ kill -TERM \$(cat \${pidfile})
+ fi"
+post-destroot {
+ set uid [nextuid]
+ set gid [nextgid]
+ adduser cyrus realname=Cyrus\ User uid=${uid} gid=${gid} home=${prefix}/var/imap \
+ shell=/usr/bin/false passwd="\*"
+ addgroup mail gid=${gid} users=cyrus
+ xinstall -m 755 -v ${worksrcpath}/tools/mkimap ${destroot}${prefix}/bin
+ reinplace "s|/etc/imapd.conf|${prefix}/etc/cyrus/imapd.conf|" ${destroot}${prefix}/bin/mkimap
+ xinstall -m 755 -v ${worksrcpath}/tools/mknewsgroups ${destroot}${prefix}/bin
+ xinstall -m 755 -v ${worksrcpath}/tools/dohash ${destroot}${prefix}/bin
+ xinstall -m 755 -v ${worksrcpath}/tools/rehash ${destroot}${prefix}/bin
+ xinstall -m 755 -v ${worksrcpath}/tools/upgradesieve ${destroot}${prefix}/bin
+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/
+ file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
+ foreach d [glob -directory ${destroot}${prefix}/share/doc/${name} -type d *] { file delete -force ${destroot}${prefix}/share/doc/${name}/html ${destroot}${prefix}/share/doc/${name}/CVS $d/CVS }
+ xinstall -d -m 755 ${destroot}${prefix}/etc/cyrus/samples
+ foreach f [glob -directory ${worksrcpath}/master/conf -type f *.conf] {
+ xinstall -m 644 -v $f ${destroot}${prefix}/etc/cyrus/samples/[file tail $f].sample
+ }
+ xinstall -d -m 750 -o cyrus -g mail ${destroot}${prefix}/var/imap
+ xinstall -d -m 750 -o cyrus -g mail ${destroot}${prefix}/var/spool/imap
+ destroot.keepdirs ${destroot}${prefix}/var/run ${destroot}${prefix}/var/imap \
+ ${destroot}${prefix}/var/spool/imap ${destroot}${prefix}/var/log
+ eval delete [glob ${destroot}${prefix}/lib/perl5/*/*/perllocal.pod]
}
-platform powerpc { configure.args-append --build=powerpc }
+platform powerpc { configure.args-append --build=powerpc }
-variant murder { configure.args-append --enable-murder }
+variant murder { configure.args-append --enable-murder }
platform i386 { configure.args-append --build=i386 }
variant snmp {
# snmp support is currently broken
- depends_lib-append port:net-snmp
- configure.args-delete --with-snmp=no
- configure.args-append --with-snmp=yes
+ depends_lib-append port:net-snmp
+ configure.args-delete --with-snmp=no
+ configure.args-append --with-snmp=yes
}
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex "/${name}/${name}-(\\d+(?:\\.\\d+)*)\\${extract.suffix}"
-##
+##
# Miscellaneous notes:
# -) Port is itself bare bones, suport for many other things could be added (maybe as variants), so suggest away!
##
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141219/8267f5d5/attachment.html>
More information about the macports-changes
mailing list