Ticket #18319: Portfile

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