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

Last change on this file since 34180 was 34180, checked in by css@…, 13 years ago

Update cryptlib to 3.3.1, although note that the installed lib is version 3.3 due to perhaps an upstream Makefile omission. (#13346)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 34180 2008-02-16 17:12:05Z css@macports.org $
2
3PortSystem              1.0
4
5name                    cryptlib
6version                 3.3.1
7categories              devel security crypto
8maintainers             nomaintainer
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                cl331
24use_zip                 yes
25checksums               md5 3e93e5aa0b33fb1d5b05b099f01e0afe \
26                                sha1 892a891a52b946e86664909157a290e30e1b1fe3
27
28worksrcdir              cryptlib
29pre-extract {
30        extract.pre_args-append         "-a"
31        extract.post_args                       "-d ${worksrcpath}"
32}
33
34use_configure   no
35
36build.target    default shared
37build.args              LIBDIR=${prefix}/lib
38
39destroot {
40        set drprefix    ${destroot}${prefix}
41        file mkdir "${drprefix}/lib" "${drprefix}/include" \
42                "${drprefix}/share/doc/${name}"
43        xinstall -m 644 ${worksrcpath}/libcl.a ${worksrcpath}/${cryptlibDylib} \
44                ${drprefix}/lib
45        system "ln -s ${cryptlibDylib} ${drprefix}/lib/${cryptlibDylibLink}"
46        xinstall -m 644 ${worksrcpath}/cryptlib.h ${drprefix}/include
47        xinstall -m 644 ${worksrcpath}/README ${drprefix}/share/doc/${name}/
48        system "/bin/echo ${homepage} > ${drprefix}/share/doc/${name}/website"
49}
50
51platform darwin 7 {
52        patchfiles-append               patch-makefile.darwin7
53}
54
55platform darwin {
56        global cryptlibDylib cryptlibDylibLink
57        set cryptlibDylib               libcl.3.3.dylib
58        set cryptlibDylibLink   libcl.dylib
59}
60
61platform sunos {
62        global cryptlibDylib cryptlibDylibLink
63        patchfiles-append       patch-makefile.sunos
64        set cryptlibDylib               libcl.so.3.3
65        set cryptlibDylibLink   libcl.so
66}
67
Note: See TracBrowser for help on using the repository browser.