Changeset 62374


Ignore:
Timestamp:
Jan 5, 2010, 4:59:40 PM (10 years ago)
Author:
nox@…
Message:

Make whitespace changes to cclient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/cclient/Portfile

    r59973 r62374  
    11# $Id$
    22
    3 PortSystem 1.0
     3PortSystem      1.0
    44
    5 name                    cclient
    6 version                 2007d
    7 categories              mail
    8 maintainers             nomaintainer
    9 description             UW IMAP c-client library
    10 long_description        \
    11                                 C-client is a common API for accessing mailboxes. It is \
    12                                 used internally by the popular PINE mail reader as well as the \
    13                                 University of Washington's IMAP server.
    14 homepage                http://www.washington.edu/imap/
    15 platforms               darwin
    16 master_sites    ftp://ftp.cac.washington.edu/imap/ \
    17                                 ftp://ftp.cac.washington.edu/imap/old/ \
    18                                 macports:pguyot
    19 distname                imap-${version}
    20 dist_subdir             imap-uw
    21 worksrcdir              imap-${version}
    22 checksums           md5     ec27cd4c5972b981bb96e9da0430af53 \
    23                     sha1    c77a3feaa68fa8a73eea85718e66eba9ae3e222c \
    24                     rmd160  d403678f83e761237cbdf62b4bcde466cdf85123
     5name            cclient
     6version         2007d
     7platforms       darwin
     8categories      mail
     9maintainers     nomaintainer
     10description     UW IMAP c-client library
    2511
    26 depends_lib             port:openssl \
    27                                 lib:libz:zlib \
    28                                 lib:libgssapi_krb5:kerberos5
     12long_description \
     13    C-client is a common API for accessing mailboxes. It is used internally by \
     14    the popular PINE mail reader as well as the University of Washington's \
     15    IMAP server.
    2916
    30 use_configure   no
     17homepage        http://www.washington.edu/imap/
     18master_sites    ftp://ftp.cac.washington.edu/imap/ \
     19                ftp://ftp.cac.washington.edu/imap/old/ \
     20                macports:pguyot
     21distname        imap-${version}
     22dist_subdir     imap-uw
     23
     24checksums       md5     ec27cd4c5972b981bb96e9da0430af53 \
     25                sha1    c77a3feaa68fa8a73eea85718e66eba9ae3e222c \
     26                rmd160  d403678f83e761237cbdf62b4bcde466cdf85123
     27
     28depends_lib     port:openssl \
     29                lib:libz:zlib \
     30                lib:libgssapi_krb5:kerberos5
     31
     32worksrcdir      imap-${version}
    3133
    3234post-patch {
    33         reinplace "s|/System/Library/OpenSSL SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib|${prefix}/etc/openssl SSLINCLUDE=${prefix}/include SSLLIB=${prefix}/lib|g" ${worksrcpath}/Makefile
    34         reinplace "s| -Wno-pointer-sign||g" ${worksrcpath}/src/osdep/unix/Makefile
     35    reinplace "s|/System/Library/OpenSSL SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib|${prefix}/etc/openssl SSLINCLUDE=${prefix}/include SSLLIB=${prefix}/lib|g" ${worksrcpath}/Makefile
     36    reinplace "s| -Wno-pointer-sign||g" ${worksrcpath}/src/osdep/unix/Makefile
    3537}
    3638
    37 build.target    oxp
    38 build.args              EXTRACFLAGS=-fno-common CC=${configure.cc}
     39use_configure   no
     40
     41build.target    oxp
     42build.args      EXTRACFLAGS=-fno-common CC=${configure.cc}
     43
     44use_parallel_build no
     45
     46destroot {
     47    xinstall -m 755 -d ${destroot}${prefix}/include/c-client
     48    xinstall -m 644 -W ${worksrcpath}/c-client \
     49        c-client.h dummy.h env.h env_unix.h fdstring.h flockcyg.h flocksim.h \
     50        flstring.h fs.h ftl.h imap4r1.h linkage.c linkage.h mail.h \
     51        misc.h netmsg.h newsrc.h nl.h nntp.h osdep.h \
     52        pseudo.h rfc822.h smtp.h sslio.h tcp.h tcp_unix.h unix.h \
     53        utf8.h utf8aux.h \
     54        ${destroot}${prefix}/include/c-client
     55    xinstall -m 644 ${worksrcpath}/c-client/c-client.a \
     56        ${destroot}${prefix}/lib/libc-client4.a
     57    system "cd ${destroot}${prefix}/lib/ && ranlib libc-client4.a"
     58}
     59
     60platform darwin 10 {
     61    patchfiles-append patch-Makefile-fixpam
     62}
    3963
    4064variant ssl_plaintext description {Allow plaintext passwords over SSL} {
    41         patchfiles patch-Makefile
    42         build.args-append SSLTYPE=unix
     65    patchfiles patch-Makefile
     66    build.args-append SSLTYPE=unix
    4367}
    4468
    4569variant universal {
    46         build.args-delete EXTRACFLAGS="-fno-common"
    47         build.args-append EXTRACFLAGS="${configure.universal_cflags}" EXTRALDFLAGS="${configure.universal_ldflags}"
    48 }
    49 
    50 destroot {
    51         xinstall -m 755 -d ${destroot}${prefix}/include/c-client
    52         xinstall -m 644 -W ${worksrcpath}/c-client \
    53                 c-client.h dummy.h env.h env_unix.h fdstring.h flockcyg.h flocksim.h \
    54                 flstring.h fs.h ftl.h imap4r1.h linkage.c linkage.h mail.h \
    55                 misc.h netmsg.h newsrc.h nl.h nntp.h osdep.h \
    56                 pseudo.h rfc822.h smtp.h sslio.h tcp.h tcp_unix.h unix.h \
    57                 utf8.h utf8aux.h \
    58                 ${destroot}${prefix}/include/c-client
    59         xinstall -m 644 ${worksrcpath}/c-client/c-client.a \
    60                 ${destroot}${prefix}/lib/libc-client4.a
    61         system "cd ${destroot}${prefix}/lib/ && ranlib libc-client4.a"
     70    build.args-delete EXTRACFLAGS="-fno-common"
     71    build.args-append EXTRACFLAGS="${configure.universal_cflags}" EXTRALDFLAGS="${configure.universal_ldflags}"
    6272}
    6373
     
    6575livecheck.url   http://ftp.ntua.gr/pub/net/mail/imap/?C=M&O=D
    6676livecheck.regex {imap-(\d+(?:[a-z]\d*)?)\.tar}
    67 
    68 use_parallel_build  no
    69 
    70 platform darwin 10 {
    71     patchfiles-append patch-Makefile-fixpam
    72 }
Note: See TracChangeset for help on using the changeset viewer.