source: trunk/dports/mail/dovecot/Portfile @ 6010

Last change on this file since 6010 was 6010, checked in by toby, 17 years ago

Add startup script.
Bug: 1530
Submitted by: Andrea Campi

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.4 2004/03/26 05:44:03 toby Exp $
2
3PortSystem        1.0
4name              dovecot
5version                 0.99.10.4
6categories        mail
7description             (more) secure imap server
8maintainers           yeled@opendarwin.org
9long_description  Dovecot is an IMAP and POP3 server for Linux/UNIX-like \
10                  systems, written with security primarily in mind. Although \
11                  it's written in C, it uses several coding techniques to \
12                  avoid most of the common pitfalls.
13homepage          http://dovecot.org/
14platforms         darwin
15master_sites      ${homepage}
16checksums               md5 81eda7985e99d28acd6d286aa0e13e07
17configure.args    --sysconfdir=${prefix}/etc/${name}
18
19variant postgres  {     
20  depends_lib-append    lib:plpgsql:postgresql
21  configure.args-append --with-pgsql
22  }
23variant rawlog  {       configure.args-append   --with-rawlog   }
24variant ldap      {     configure.args-append   --with-ldap     }
25
26post-destroot   {
27        set rcDir ${destroot}${prefix}/etc/rc.d
28        xinstall -m 755 -d ${rcDir}
29        xinstall -m 755 -c ${filespath}/dovecot.sh ${rcDir}
30        reinplace "s|__PREFIX|${prefix}|g" \
31                ${rcDir}/dovecot.sh
32}
Note: See TracBrowser for help on using the repository browser.