# -*- 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 # $Id: Portfile 141795 2015-10-28 21:10:09Z ryandesign@macports.org $ PortSystem 1.0 name bcrypt version 1.1 categories security license BSD platforms darwin maintainers nomaintainer description cross platform file encryption utility long_description Bcrypt uses the blowfish encryption algorithm published \ by Bruce Schneier in 1993. More information on the \ algorithm can be found at Counterpane. Specifically, \ bcrypt uses Paul Kocher's implementation of the algorithm. homepage http://bcrypt.sourceforge.net/ master_sites sourceforge:project/bcrypt/bcrypt/${version} checksums rmd160 c043a25169b09e7b07c2e00db0d4ca2c3b3d13be \ sha256 b9c1a7c0996a305465135b90123b0c63adbb5fa7c47a24b3f347deb2696d417d depends_lib port:zlib variant universal {} use_configure no build.target bcrypt build.args-append CC="${configure.cc} [get_canonical_archflags cc]" \ LDFLAGS="${configure.ldflags} -lz" destroot { xinstall -m 755 ${worksrcpath}/bcrypt ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/bcrypt.1 ${destroot}${prefix}/share/man/man1 set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${docdir} }