source: trunk/dports/mail/alpine/Portfile @ 129887

Last change on this file since 129887 was 129887, checked in by cal@…, 5 years ago

alpine: Add new maintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
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: Portfile 129887 2014-12-22 14:12:07Z cal@macports.org $
3
4PortSystem          1.0
5
6name                alpine
7version             2.00
8revision            5
9categories          mail
10license             Apache-2
11maintainers         netpurgatory.com:john openmaintainer
12platforms           darwin
13
14homepage            http://www.washington.edu/alpine/
15description         alpine - a Program for Internet News and Email
16long_description    Alpine is a tool for reading, sending, and \
17                    managing electronic messages that was designed \
18                    with novice users in mind.
19
20master_sites        ftp://ftp.cac.washington.edu/alpine/ \
21                    ftp://ftp.cac.washington.edu/alpine/old/
22use_bzip2           yes
23checksums           md5 84e44cbf71ed674800a5d57eed9c1c52
24
25patchfiles          patch-Makefile.in.diff \
26                    patch-configure.diff \
27                    patch-imap_Makefile.diff \
28                    alpine-2.00_panic_rename.patch
29patch.pre_args      -p1
30if {${os.platform} eq "darwin" && ${os.major} >= 10} {
31    patchfiles-append   alpine-osx-10.6.patch
32}
33post-patch {
34    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/imap/Makefile
35}
36
37default_variants    +without_tcl
38
39depends_lib         port:openssl \
40                    port:libiconv \
41                    port:gettext \
42                    port:openldap \
43                    port:ncurses \
44                    port:cyrus-sasl2
45
46configure.env       SSLDIR=${prefix}
47configure.args      -with-lib-dir=${prefix}/lib \
48                    -with-include-dir=${prefix}/include \
49                    -with-krb5-include-dir=${prefix}/include \
50                    -with-krb5-lib-dir=${prefix}/lib \
51                    -with-ldap-include-dir=${prefix}/include \
52                    -with-ldap-lib-dir=${prefix}/lib \
53                    --with-ssl-include-dir=${prefix}/include/openssl \
54                    --with-ssl-lib-dir=${prefix}/lib \
55                    --with-local-password-cache-method \
56                    --with-debug-level=0
57
58variant universal {}
59
60use_parallel_build  no
61build.args          CC=${configure.cc} \
62                    EXTRACFLAGS="[get_canonical_archflags cc]" \
63                    EXTRALDFLAGS="[get_canonical_archflags ld]" \
64                    SPECIALS="GSSDIR=${prefix} SSLDIR=${prefix}"
65
66variant without_krb5 description {Disable Kerberos5 support} {
67    depends_lib-delete      port:cyrus-sasl2
68    configure.args-append   --without-krb5
69}
70
71variant without_ldap description {Disable LDAP support} {
72    depends_lib-delete      port:openldap
73    configure.args-append   --without-ldap
74}
75
76variant without_ssl description {Disable SSL support} {
77    depends_lib-delete      port:openssl
78    configure.args-append   --without-ssl
79    build.env-append        SSLTYPE=none
80}
81
82variant without_tcl description {Disable TCL support (disables Alpine Web)} {
83    configure.args-append   --without-tcl
84}
85
86variant passfile description {Enable password files support} {
87    configure.args-delete   --with-local-password-cache-method
88    configure.args-append   --with-passfile=".pine.pwd"
89}
Note: See TracBrowser for help on using the repository browser.