1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name TrueCrypt |
---|
7 | version 7.1a |
---|
8 | categories security |
---|
9 | platforms darwin |
---|
10 | license {TrueCrypt License Version 3.0} |
---|
11 | maintainers gmx.de:christsc |
---|
12 | description Free open-source disk encryption software |
---|
13 | long_description TrueCrypt is software for establishing and maintaining an \ |
---|
14 | on-the-fly-encrypted volume (data storage device). |
---|
15 | homepage http://www.truecrypt.org |
---|
16 | master_sites ftp://ftp.archlinux.org/other/tc/:archlinux \ |
---|
17 | ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20:pkcs |
---|
18 | patch_sites http://www.nerdenmeister.org/ |
---|
19 | fetch.use_epsv no |
---|
20 | distname truecrypt-${version} |
---|
21 | distfiles ${distname}${extract.suffix}:archlinux \ |
---|
22 | pkcs11.h:pkcs \ |
---|
23 | pkcs11f.h:pkcs \ |
---|
24 | pkcs11t.h:pkcs |
---|
25 | patchfiles truecrypt-osx.patch |
---|
26 | checksums ${distname}${extract.suffix} \ |
---|
27 | rmd160 8f0ad8a47d629bac9f3b4f9b70c448497136acf7 \ |
---|
28 | sha256 e6214e911d0bbededba274a2f8f8d7b3f6f6951e20f1c3a598fc7a23af81c8dc \ |
---|
29 | truecrypt-osx.patch \ |
---|
30 | rmd160 75a0abb6a33b14a2069d99504afb6dca7ef4579c \ |
---|
31 | sha256 6d2282021d074fca82d34c72acbb74cac11f2c6fee0dc9920d4f8bd63c5c6dc3 \ |
---|
32 | pkcs11.h \ |
---|
33 | rmd160 038002de5e6ed90174051bc5f96a12c51e5f87f0 \ |
---|
34 | sha256 1563d877b6f8868b8eb8687358162bfb7f868104ed694beb35ae1c5cf1a58b9b \ |
---|
35 | pkcs11f.h \ |
---|
36 | rmd160 c47b5818f84e42aa9d11dfe250a6da2cca14cb77 \ |
---|
37 | sha256 5ae6a4f32ca737e02def3bf314c9842fb89be82bf00b6f4022a97d8d565522b8 \ |
---|
38 | pkcs11t.h \ |
---|
39 | rmd160 da30e5792b7b56b4f3651f65f548c23e1ac96eac \ |
---|
40 | sha256 8ce68616304684f92a7e267bcc8f486441e92a5cbdfcfd97e69ac9a0b436fb7b |
---|
41 | extract.only ${distname}${extract.suffix} |
---|
42 | worksrcdir truecrypt-${version}-source |
---|
43 | |
---|
44 | depends_build port:nasm \ |
---|
45 | port:pkgconfig |
---|
46 | |
---|
47 | # wxWidgets is required even if we build without gui. |
---|
48 | depends_lib port:wxWidgets-3.0 \ |
---|
49 | port:fuse4x |
---|
50 | |
---|
51 | build.env-append NOGUI=1 |
---|
52 | build.target |
---|
53 | |
---|
54 | post-extract { |
---|
55 | copy ${distpath}/pkcs11.h ${worksrcpath} |
---|
56 | copy ${distpath}/pkcs11f.h ${worksrcpath} |
---|
57 | copy ${distpath}/pkcs11t.h ${worksrcpath} |
---|
58 | } |
---|
59 | |
---|
60 | # Uses a hard-coded Makefile. |
---|
61 | configure {} |
---|
62 | |
---|
63 | variant gui description {Build with graphical user interface.} { |
---|
64 | build.env-delete \ |
---|
65 | NOGUI=1 |
---|
66 | } |
---|
67 | |
---|
68 | default_variants +gui |
---|
69 | |
---|
70 | destroot { |
---|
71 | if {[variant_isset gui]} { |
---|
72 | copy ${worksrcpath}/Main/TrueCrypt.app ${destroot}${applications_dir}/ |
---|
73 | } else { |
---|
74 | xinstall -m 755 ${worksrcpath}/Main/TrueCrypt ${destroot}${prefix}/bin/ |
---|
75 | } |
---|
76 | set docdir ${destroot}${prefix}/share/doc/${name} |
---|
77 | xinstall -d ${docdir} |
---|
78 | xinstall -m 644 ${worksrcpath}/License.txt ${docdir} |
---|
79 | } |
---|
80 | |
---|
81 | notes " |
---|
82 | ******* |
---|
83 | ******* By downloading, building and using TrueCrypt, you agree to the |
---|
84 | ******* TrueCrypt License Version 3. See |
---|
85 | ******* |
---|
86 | ******* http://www.truecrypt.org/legal/license |
---|
87 | ******* |
---|
88 | " |
---|