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

Last change on this file since 6867 was 6867, checked in by blb, 16 years ago

Port: cryptlib
Version: 3.1

Update port devel/cryptlib
Source archive was changed...

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1# $Id: Portfile,v 1.3 2004/05/01 20:58:27 blb 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
33use_configure   no
34
35build.target    default shared
36
37destroot {
38        set drprefix    ${destroot}/${prefix}
39        file mkdir "${drprefix}/lib" "${drprefix}/include" \
40                "${drprefix}/share/doc/${name}"
41        xinstall -m 644 ${worksrcpath}/libcl.a ${worksrcpath}/${cryptlibDylib} \
42                ${drprefix}/lib
43        system "ln -s ${cryptlibDylib} ${drprefix}/lib/${cryptlibDylibLink}"
44        xinstall -m 644 ${worksrcpath}/cryptlib.h ${drprefix}/include
45        xinstall -m 644 ${worksrcpath}/README ${drprefix}/share/doc/${name}/
46        system "/bin/echo ${homepage} > ${drprefix}/share/doc/${name}/website"
47}
48
49platform darwin 7 {
50        patchfiles              patch-makefile.darwin7
51}
52
53variant darwin {
54        global cryptlibDylib cryptlibDylibLink
55        set cryptlibDylib               libcl.3.1.dylib
56        set cryptlibDylibLink   libcl.dylib
57}
58
59variant sunos {
60        global cryptlibDylib cryptlibDylibLink
61        patchfiles      patch-makefile.sunos
62        set cryptlibDylib               libcl.so.3.1.0
63        set cryptlibDylibLink   libcl.so
64}
65
Note: See TracBrowser for help on using the repository browser.