blob: 72fe4c98ae2e125d8b32e952f8b075ba9b08d801 (
plain)
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
|
PORTNAME= picosha2
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0-23
DISTVERSIONSUFFIX= -gb699e6c
CATEGORIES= security
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ header-only SHA256 hash generator
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= okdshin
GH_PROJECT= PicoSHA2
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= include/picosha2.h
do-install:
${INSTALL_DATA} ${WRKSRC}/picosha2.h ${STAGEDIR}${PREFIX}/include
do-test:
@cd ${WRKSRC}/test && \
${CXX} -o test test.cpp -I.. && \
./test && \
${ECHO} "Tests succeeded"
.include <bsd.port.mk>
|