blob: 18561a3a4f612b840b97a8ff36c4fcc6974e721c (
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
32
|
PORTNAME= boringssl
PORTVERSION= 0.0.0.0.2020.04.29.01
CATEGORIES= security
MAINTAINER= ports@FreeBSD.org
COMMENT= Fork of OpenSSL
LICENSE= OpenSSL
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:insource go:no_targets localbase perl5
USE_GITHUB= yes
GH_ACCOUNT= google
GH_TAGNAME= 6a71840
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=1 \
-DCMAKE_BUILD_TYPE=Release
USE_LDCONFIG= yes
LDFLAGS+= -Wl,-rpath,${PREFIX}/lib
TEST_TARGET= run_tests
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tool/bssl ${STAGEDIR}${PREFIX}/bin/
(cd ${WRKSRC}/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include)
${INSTALL_LIB} ${WRKSRC}/crypto/libcrypto.so ${STAGEDIR}${PREFIX}/lib/libcrypto.so.1.0.0
${INSTALL_LIB} ${WRKSRC}/ssl/libssl.so ${STAGEDIR}${PREFIX}/lib/libssl.so.1.0.0
${LN} -sf libcrypto.so.1 ${STAGEDIR}${PREFIX}/lib/libcrypto.so
${LN} -sf libcrypto.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libcrypto.so.1
${LN} -sf libssl.so.1 ${STAGEDIR}${PREFIX}/lib/libssl.so
${LN} -sf libssl.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libssl.so.1
.include <bsd.port.mk>
|