source: trunk/dports/mail/cclient/Portfile @ 3942

Last change on this file since 3942 was 3942, checked in by fkr, 17 years ago

Bug: #1131
Submitted by: bchesneau@… (Benoit Chesneau) (maintainer)
Reviewed by:
Approved by:
Obtained from:

new upstream version
long_description added

  • Property svn:eol-style set to native
File size: 4.8 KB
Line 
1# $Id: Portfile,v 1.3 2003/11/13 22:46:49 fkr Exp $
2
3PortSystem 1.0
4name            cclient
5version         2002e
6categories      mail
7maintainers     bchesneau@mac.com
8description     UW IMAP c-client library
9long_description        C-client is a common API for accessing mailboxes. It is used \
10                        internally by the popular PINE mail reader as well as the \
11                        University of Washington's IMAP server.
12homepage        http://www.washington.edu/imap/
13platforms       darwin
14master_sites    ftp://ftp.cac.washington.edu/imap/\
15                http://distfiles.opendarwin.org/
16extract.sufx    .tar.Z
17distname        imap-${version}
18worksrcdir      imap-${version}
19checksums       md5 0d246d868f20d8c441d235b77c940676
20
21use_configure   no
22build.target    osx EXTRACFLAGS=-fno-common
23
24variant ssl_plaintext {
25                patchfiles patch-Makefile
26                build.args SSLTYPE=unix
27}
28
29destroot {
30        #headers
31        file mkdir ${destroot}${prefix}/include/c-client
32        system "install -m 755 ${worksrcpath}/c-client/c-client.h ${destroot}${prefix}/include/c-client/c-client.h"
33        system "install -m 755 ${worksrcpath}/c-client/dummy.h ${destroot}${prefix}/include/c-client/dummy.h"
34        system "install -m 755 ${worksrcpath}/c-client/env.h ${destroot}${prefix}/include/c-client/env.h"
35        system "install -m 755 ${worksrcpath}/c-client/fdstring.h  ${destroot}${prefix}/include/c-client/fdstring.h"
36        system "install -m 755 ${worksrcpath}/c-client/flocksim.h ${destroot}${prefix}/include/c-client/flocksim.h"
37        system "install -m 755 ${worksrcpath}/c-client/env_unix.h ${destroot}${prefix}/include/c-client/env_unix.h"
38        system "install -m 755 ${worksrcpath}/c-client/flstring.h ${destroot}${prefix}/include/c-client/flstring.h"
39        system "install -m 755 ${worksrcpath}/c-client/fs.h ${destroot}${prefix}/include/c-client/fs.h"
40        system "install -m 755 ${worksrcpath}/c-client/ftl.h ${destroot}${prefix}/include/c-client/ftl.h"
41        system "install -m 755 ${worksrcpath}/c-client/imap4r1.h ${destroot}${prefix}/include/c-client/imap4r1.h"
42        system "install -m 755 ${worksrcpath}/c-client/linkage.c ${destroot}${prefix}/include/c-client/linkage.c"
43        system "install -m 755 ${worksrcpath}/c-client/linkage.h ${destroot}${prefix}/include/c-client/linkage.h"
44        system "install -m 755 ${worksrcpath}/c-client/mail.h ${destroot}${prefix}/include/c-client/mail.h"
45        system "install -m 755 ${worksrcpath}/c-client/mbox.h ${destroot}${prefix}/include/c-client/mbox.h"
46        system "install -m 755 ${worksrcpath}/c-client/mbx.h ${destroot}${prefix}/include/c-client/mbx.h"
47        system "install -m 755 ${worksrcpath}/c-client/mh.h ${destroot}${prefix}/include/c-client/mh.h"
48        system "install -m 755 ${worksrcpath}/c-client/misc.h ${destroot}${prefix}/include/c-client/misc.h"
49        system "install -m 755 ${worksrcpath}/c-client/mmdf.h ${destroot}${prefix}/include/c-client/mmdf.h"
50        system "install -m 755 ${worksrcpath}/c-client/mtx.h ${destroot}${prefix}/include/c-client/mtx.h"
51        system "install -m 755 ${worksrcpath}/c-client/mx.h ${destroot}${prefix}/include/c-client/mx.h"
52        system "install -m 755 ${worksrcpath}/c-client/netmsg.h ${destroot}${prefix}/include/c-client/netmsg.h"
53        system "install -m 755 ${worksrcpath}/c-client/news.h ${destroot}${prefix}/include/c-client/news.h "
54        system "install -m 755 ${worksrcpath}/c-client/newsrc.h ${destroot}${prefix}/include/c-client/newsrc.h"
55        system "install -m 755 ${worksrcpath}/c-client/nl.h ${destroot}${prefix}/include/c-client/nl.h"
56        system "install -m 755 ${worksrcpath}/c-client/nntp.h ${destroot}${prefix}/include/c-client/nntp.h"
57        system "install -m 755 ${worksrcpath}/c-client/osdep.h ${destroot}${prefix}/include/c-client/osdep.h"
58        system "install -m 755 ${worksrcpath}/c-client/phile.h ${destroot}${prefix}/include/c-client/phile.h"
59        system "install -m 755 ${worksrcpath}/c-client/pop3.h ${destroot}${prefix}/include/c-client/pop3.h"
60        system "install -m 755 ${worksrcpath}/c-client/pseudo.h ${destroot}${prefix}/include/c-client/pseudo.h"
61        system "install -m 755 ${worksrcpath}/c-client/rfc822.h ${destroot}${prefix}/include/c-client/rfc822.h"
62        system "install -m 755 ${worksrcpath}/c-client/smtp.h ${destroot}${prefix}/include/c-client/smtp.h"
63        system "install -m 755 ${worksrcpath}/c-client/sslio.h ${destroot}${prefix}/include/c-client/sslio.h"
64        system "install -m 755 ${worksrcpath}/c-client/tcp.h ${destroot}${prefix}/include/c-client/tcp.h"
65        system "install -m 755 ${worksrcpath}/c-client/tcp_unix.h ${destroot}${prefix}/include/c-client/tcp_unix.h"
66        system "install -m 755 ${worksrcpath}/c-client/tenex.h ${destroot}${prefix}/include/c-client/tenex.h"
67        system "install -m 755 ${worksrcpath}/c-client/unix.h ${destroot}${prefix}/include/c-client/unix.h"
68        system "install -m 755 ${worksrcpath}/c-client/utf8.h ${destroot}${prefix}/include/c-client/utf8.h"
69                     
70        #library
71        file mkdir ${prefix}/lib
72
73        system "install -m 755 ${worksrcpath}/c-client/c-client.a ${destroot}${prefix}/lib/libc-client4.a"
74}
75
76post-destroot {
77        system "cd ${destroot}${prefix}/lib/ && ranlib libc-client4.a"
78}
Note: See TracBrowser for help on using the repository browser.