blob: bf8e5a6383dbc30791fc20241f97239e8a747d9c (
plain) (
blame)
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
|
# Created by: Horia Racoviceanu <horia@racoviceanu.com>
# $FreeBSD$
PORTNAME= libscrypt
PORTVERSION= 1.1
CATEGORIES= security
MAINTAINER= horia@racoviceanu.com
COMMENT= C library for the scrypt key derivation function
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= technion
GH_COMMIT= 49f9136
GH_TAGNAME= v${PORTVERSION}
PLIST_FILES+= include/libscrypt.h \
lib/libscrypt.a \
lib/libscrypt.so \
lib/libscrypt.so.0
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e '/^CC=gcc/d' -e '/CFLAGS=/s,$$, ${CFLAGS},' \
-e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile
regression-test: build
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check)
.include <bsd.port.mk>
|