Ticket #22993: Portfile

File Portfile, 3.1 KB (added by pixilla (Bradley Giesbrecht), 14 years ago)

dovecot-sieve Portfile

Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5
6name                dovecot-sieve
7epoch               20091222
8version             0.1.14
9set dovecot_major_version 1.2
10set dovecot_minor_version ${dovecot_major_version}.9
11
12categories          mail
13maintainers         nomaintainer
14platforms           darwin
15
16description         The Dovecot Sieve plugin provides mail filtering facilities \
17                    at time of final message delivery
18long_description    The Dovecot Sieve plugin provides mail filtering facilities \
19                    at time of final message delivery using the Sieve (RFC 5228) \
20                    language. By writing Sieve scripts, users can customize how \
21                    messages are delivered, e.g. whether they are forwarded or \
22                    stored in special folders. The Sieve language is meant to be \
23                    simple, extensible and system independent. And, unlike most \
24                    other mail filtering script languages, it does not allow \
25                    users to execute arbitrary programs. This is particularly \
26                    useful to prevent virtual users from having full access to \
27                    the mail store. The intention of the language is to make it \
28                    impossible for users to do anything more complex \
29                    (and dangerous) than write simple mail filters
30
31homepage            http://pigeonhole.dovecot.org/
32
33master_sites        http://www.rename-it.nl/dovecot/${dovecot_major_version} \
34                    http://dovecot.org/releases/${dovecot_major_version}
35
36distname            dovecot-${dovecot_major_version}-sieve-${version}
37
38extract.suffix      tar.gz
39
40distfiles           dovecot-${dovecot_major_version}-sieve-${version}.${extract.suffix} \
41                    dovecot-${dovecot_minor_version}.${extract.suffix}
42
43checksums           dovecot-${dovecot_major_version}-sieve-${version}.${extract.suffix} \
44                    md5 01a92883fde76a5f985b0343e81b0c3d \
45                    sha1 2ba2b4208fa9ed341c38ec8e918b4a87e46b8367 \
46                    rmd160 b61c9448c876062f2b1fd3d1cf72cbc430c5a82e \
47                    dovecot-${dovecot_minor_version}.${extract.suffix} \
48                    md5 036ff97fb248dae3bd4b796a0644634f \
49                    sha1 7c1013a1bc856a4366f76ac1f40e856185695e20 \
50                    rmd160 fa17bafabdd6fab69c22d617deff368a4bc165d1
51
52extract.only        dovecot-${dovecot_major_version}-sieve-${version}.${extract.suffix}
53
54post-extract {
55    system "cd ${workpath} && tar xzf ${distpath}/dovecot-${dovecot_minor_version}.${extract.suffix}"
56    system "cd ${workpath}/dovecot-${dovecot_minor_version} && ./configure --prefix=${prefix} && make"
57}
58
59depends_lib         port:dovecot
60
61configure.args      --prefix=${prefix} \
62                    --mandir=${prefix}/share/man \
63                    --with-dovecot=../dovecot-${dovecot_minor_version}/
64
65livecheck.type      regex
66livecheck.url       ${master_sites}
67livecheck.regex     "dovecot-${dovecot_major_version}-sieve-(\\d+\\.\\d+(\\.\\d+)?).${extract.suffix}"