source: trunk/dports/devel/cryptlib/Portfile @ 11595

Last change on this file since 11595 was 11595, checked in by toby, 15 years ago

Tiger build fixes.
Lots of warning fixes; there are many more.

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1# $Id: Portfile,v 1.4 2005/04/04 10:43:39 toby Exp $
2
3PortSystem              1.0
4name                    cryptlib
5version                 3.1
6revision                1
7categories              devel security crypto
8maintainers             blb@pobox.com
9description             cryptlib is a powerful security toolkit (library)
10
11long_description \
12        cryptlib is a powerful security toolkit that allows even inexperienced \
13        crypto programmers to easily add encryption and authentication services \
14        to their software. The high-level interface provides anyone with the \
15        ability to add strong security capabilities to an application in as \
16        little as half an hour, without needing to know any of the low-level \
17        details that make the encryption or authentication work.
18
19platforms               darwin sunos
20
21homepage                http://www.cs.auckland.ac.nz/~pgut001/cryptlib/
22master_sites    ftp://ftp.franken.de/pub/crypt/cryptlib/
23distname                cl31
24use_zip                 yes
25checksums               md5 d732c7d527debbd01848c303e62efa13
26
27worksrcdir              cryptlib
28pre-extract {
29        extract.pre_args-append         "-a"
30        extract.post_args                       "-d ${worksrcpath}"
31}
32
33patchfiles              patch-cert__certechk.c patch-cert__certedef.c \
34                patch-device__dev_sys.c \
35                patch-keyset__dbxdbms.c patch-keyset__dbxdca.c \
36                patch-keyset__dbxpgp.c patch-keyset__dbxp15w.c \
37                patch-cryptcfg.c patch-cryptkrn.c patch-cryptusr.c \
38                patch-misc__net_http.c patch-misc__net_tcp.c \
39                patch-misc__stream.c \
40                patch-session__cmp_rd.c patch-session__scep.c \
41                patch-session__ssh.c
42
43use_configure   no
44
45build.target    default shared
46
47destroot {
48        set drprefix    ${destroot}/${prefix}
49        file mkdir "${drprefix}/lib" "${drprefix}/include" \
50                "${drprefix}/share/doc/${name}"
51        xinstall -m 644 ${worksrcpath}/libcl.a ${worksrcpath}/${cryptlibDylib} \
52                ${drprefix}/lib
53        system "ln -s ${cryptlibDylib} ${drprefix}/lib/${cryptlibDylibLink}"
54        xinstall -m 644 ${worksrcpath}/cryptlib.h ${drprefix}/include
55        xinstall -m 644 ${worksrcpath}/README ${drprefix}/share/doc/${name}/
56        system "/bin/echo ${homepage} > ${drprefix}/share/doc/${name}/website"
57}
58
59platform darwin 7 {
60        patchfiles-append               patch-makefile.darwin7
61}
62
63variant darwin {
64        global cryptlibDylib cryptlibDylibLink
65        set cryptlibDylib               libcl.3.1.dylib
66        set cryptlibDylibLink   libcl.dylib
67}
68
69variant sunos {
70        global cryptlibDylib cryptlibDylibLink
71        patchfiles-append       patch-makefile.sunos
72        set cryptlibDylib               libcl.so.3.1.0
73        set cryptlibDylibLink   libcl.so
74}
75
Note: See TracBrowser for help on using the repository browser.