source: trunk/dports/security/bcrypt/Portfile

Last change on this file was 141795, checked in by ryandesign@…, 21 months ago

bcrypt cloc deco deco-archive pngcheck scrypt thttpd: nomaintainer (#49492)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
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: Portfile 141795 2015-10-28 21:10:09Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                bcrypt
7version             1.1
8categories          security
9license             BSD
10platforms           darwin
11maintainers         nomaintainer
12description         cross platform file encryption utility
13long_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.
17homepage            http://bcrypt.sourceforge.net/
18master_sites        sourceforge:project/bcrypt/bcrypt/${version}
19
20checksums           rmd160  c043a25169b09e7b07c2e00db0d4ca2c3b3d13be \
21                    sha256  b9c1a7c0996a305465135b90123b0c63adbb5fa7c47a24b3f347deb2696d417d
22
23depends_lib         port:zlib
24
25variant universal   {}
26
27use_configure       no
28
29build.target        bcrypt
30build.args-append   CC="${configure.cc} [get_canonical_archflags cc]" \
31                    LDFLAGS="${configure.ldflags} -lz"
32
33destroot {
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 -W ${worksrcpath} LICENSE README ${destroot}${docdir}
40}
Note: See TracBrowser for help on using the repository browser.