You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
34b3070336
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
40 lines
1.5 KiB
Tcl
40 lines
1.5 KiB
Tcl
# -*- 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
|
|
|
|
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}
|
|
}
|