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