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

Last change on this file since 5019 was 5019, checked in by blb, 17 years ago

Bug: 1333
Port: cryptlib
Version: 3.1

New port, devel/cryptlib
(Gutmann's) cryptlib is a powerful security toolkit

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