forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Portfile
41 lines (29 loc) · 1.58 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- 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
PortGroup github 1.0
github.setup P-H-C phc-winner-argon2 20171227
name argon2
categories devel
platforms darwin
maintainers {khindenburg @kurthindenburg} openmaintainer
license Apache-2
description Password-hashing implmention that won the P-H-C
long_description \
Argon2 is a password-hashing function that summarizes the state of the \
art in the design of memory-hard functions and can be used to hash \
passwords for credential storage, key derivation, or other applications.
checksums rmd160 0c92cfd56d82acf295465aeab29917bb8b92ab12 \
sha256 a1a655c5f56688906269b3d476e99f8add90c184cd7674a82c81deaba51ba515
use_configure no
variant universal {}
build.env-append CC=${configure.cc} \
CFLAGS='${configure.cflags} [get_canonical_archflags cc]' \
LDFLAGS='${configure.ldflags} [get_canonical_archflags ld]'
destroot.destdir PREFIX=${destroot}${prefix}
destroot.env-append CC=${configure.cc} \
CFLAGS='${configure.cflags} [get_canonical_archflags cc]' \
LDFLAGS='${configure.ldflags} [get_canonical_archflags ld]'
test.run yes
test.env-append CC=${configure.cc} \
CFLAGS='${configure.cflags} [get_canonical_archflags cc]' \
LDFLAGS='${configure.ldflags} [get_canonical_archflags ld]'