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 bcrypt |
---|
7 | version 1.1 |
---|
8 | categories security |
---|
9 | license BSD |
---|
10 | platforms darwin |
---|
11 | maintainers vt.edu:jpo openmaintainer |
---|
12 | description cross platform file encryption utility |
---|
13 | long_description Bcrypt uses the blowfish encryption algorithm published \ |
---|
14 | by Bruce Schneier in 1993. More information on the \ |
---|
15 | algorithm can be found at Counterpane. Specifically, \ |
---|
16 | bcrypt uses Paul Kocher's implementation of the algorithm. |
---|
17 | homepage http://bcrypt.sourceforge.net/ |
---|
18 | master_sites sourceforge:project/bcrypt/bcrypt/${version} |
---|
19 | |
---|
20 | checksums rmd160 c043a25169b09e7b07c2e00db0d4ca2c3b3d13be \ |
---|
21 | sha256 b9c1a7c0996a305465135b90123b0c63adbb5fa7c47a24b3f347deb2696d417d |
---|
22 | |
---|
23 | depends_lib port:zlib |
---|
24 | |
---|
25 | variant universal {} |
---|
26 | |
---|
27 | use_configure no |
---|
28 | |
---|
29 | build.target bcrypt |
---|
30 | build.args-append CC="${configure.cc} [get_canonical_archflags]" \ |
---|
31 | LDFLAGS="${configure.ldflags} -lz" |
---|
32 | |
---|
33 | destroot { |
---|
34 | xinstall -m 755 ${worksrcpath}/bcrypt ${destroot}${prefix}/bin |
---|
35 | xinstall -m 644 ${worksrcpath}/bcrypt.1 ${destroot}${prefix}/share/man/man1 |
---|
36 | |
---|
37 | set docdir ${prefix}/share/doc/${subport} |
---|
38 | xinstall -d ${destroot}${docdir} |
---|
39 | xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir} |
---|
40 | } |
---|