| 75 | variant sieve { |
| 76 | master_sites-append ${master_sites}sieve/ |
| 77 | set sieve_version 1.0.1 |
| 78 | set sieve_distname ${name}-sieve-${sieve_version} |
| 79 | set sieve_distfile [suffix ${sieve_distname}] |
| 80 | distfiles-append ${sieve_distfile} |
| 81 | checksums-append ${sieve_distfile} rmd160 9b4a2a3be52b6dfcd3164d82a7139b8ab1a820f9 \ |
| 82 | sha1 26d0ae0550c1b2641b7cb369ade132c73fb9362e \ |
| 83 | md5 b070d2177009bb555cd7e25c710047d5 |
| 84 | post-build { |
| 85 | # port doesn't currently recognise sieve_distname set above, so have to |
| 86 | # explicitly name directory |
| 87 | system "cd ${workpath}/dovecot-sieve-1.0.1 && \ |
| 88 | CPPFLAGS=${configure.cppflags} CFLAGS=${configure.cflags} \ |
| 89 | CXXFLAGS=${configure.cxxflags} LDFLAGS=${configure.ldflags} \ |
| 90 | ${configure.cmd} ${configure.pre_args} ${configure.args} \ |
| 91 | --with-dovecot=../${distname} && \ |
| 92 | ${build.cmd}" |
| 93 | } |
| 94 | post-destroot { |
| 95 | system "cd ${workpath}/dovecot-sieve-1.0.1 && \ |
| 96 | ${destroot.cmd} ${destroot.target} ${destroot.destdir}" |
| 97 | } |
| 98 | } |
| 99 | |