1 | # $Id: Portfile 40453 2008-10-02 16:50:23Z boeyms@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name courier-authlib |
---|
6 | version 0.61.0 |
---|
7 | categories security mail |
---|
8 | platforms darwin |
---|
9 | maintainers boeyms openmaintainer |
---|
10 | description Courier Authentication Library is a generic authentication API |
---|
11 | long_description ${description} |
---|
12 | |
---|
13 | homepage http://www.courier-mta.org/authlib/ |
---|
14 | master_sites sourceforge:courier |
---|
15 | checksums md5 f3dd6469c2f0b8debafed7fea4d84699 \ |
---|
16 | sha1 0caf0f435411124b02fe2594b39feceff5b23159 \ |
---|
17 | rmd160 91fb8ac8960659b7cc4ea9574e1af11fa8f7dc86 |
---|
18 | use_bzip2 yes |
---|
19 | |
---|
20 | depends_lib port:db44 |
---|
21 | |
---|
22 | configure.args --mandir=${prefix}/share/man \ |
---|
23 | --with-db=db \ |
---|
24 | --without-authmysql \ |
---|
25 | --without-authpgsql \ |
---|
26 | --without-authldap \ |
---|
27 | --without-authpam \ |
---|
28 | -C |
---|
29 | configure.cflags-append -I${prefix}/include/db44 |
---|
30 | configure.ldflags-append -L${prefix}/lib/db44 |
---|
31 | |
---|
32 | post-destroot { |
---|
33 | system "cd ${destroot}${prefix}/lib/courier-authlib && rm -f *.a *.la" |
---|
34 | } |
---|
35 | |
---|
36 | startupitem.create yes |
---|
37 | startupitem.start "${prefix}/sbin/authdaemond start" |
---|
38 | startupitem.stop "${prefix}/sbin/authdaemond stop" |
---|
39 | startupitem.restart "${prefix}/sbin/authdaemond restart" |
---|
40 | startupitem.pidfile clean ${prefix}/var/run/${name}/pid |
---|
41 | |
---|
42 | #livecheck.check sourceforge |
---|