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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name dovecot-sieve |
---|
7 | epoch 20091222 |
---|
8 | version 0.1.14 |
---|
9 | set dovecot_major_version 1.2 |
---|
10 | set dovecot_minor_version ${dovecot_major_version}.9 |
---|
11 | |
---|
12 | categories mail |
---|
13 | maintainers nomaintainer |
---|
14 | platforms darwin |
---|
15 | |
---|
16 | description The Dovecot Sieve plugin provides mail filtering facilities \ |
---|
17 | at time of final message delivery |
---|
18 | long_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 | |
---|
31 | homepage http://pigeonhole.dovecot.org/ |
---|
32 | |
---|
33 | master_sites http://www.rename-it.nl/dovecot/${dovecot_major_version} \ |
---|
34 | http://dovecot.org/releases/${dovecot_major_version} |
---|
35 | |
---|
36 | distname dovecot-${dovecot_major_version}-sieve-${version} |
---|
37 | |
---|
38 | extract.suffix tar.gz |
---|
39 | |
---|
40 | distfiles dovecot-${dovecot_major_version}-sieve-${version}.${extract.suffix} \ |
---|
41 | dovecot-${dovecot_minor_version}.${extract.suffix} |
---|
42 | |
---|
43 | checksums 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 | |
---|
52 | extract.only dovecot-${dovecot_major_version}-sieve-${version}.${extract.suffix} |
---|
53 | |
---|
54 | post-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 | |
---|
59 | depends_lib port:dovecot |
---|
60 | |
---|
61 | configure.args --prefix=${prefix} \ |
---|
62 | --mandir=${prefix}/share/man \ |
---|
63 | --with-dovecot=../dovecot-${dovecot_minor_version}/ |
---|
64 | |
---|
65 | livecheck.type regex |
---|
66 | livecheck.url ${master_sites} |
---|
67 | livecheck.regex "dovecot-${dovecot_major_version}-sieve-(\\d+\\.\\d+(\\.\\d+)?).${extract.suffix}" |
---|