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

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

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

add extraflags to compile better with php4

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