mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
7208268064
Using MAKE_ARGS allows building with clang. Submitted by: bapt
23 lines
587 B
Makefile
23 lines
587 B
Makefile
# Created by: Mark Felder <feld@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bearssl
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= https://bearssl.org/
|
|
|
|
MAINTAINER= feld@FreeBSD.org
|
|
COMMENT= Implementation of TLS/SSL in C
|
|
|
|
LICENSE= MIT
|
|
|
|
MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -fPIC" LDDLL="${CC}"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/build/brssl ${STAGEDIR}${LOCALBASE}/bin/
|
|
${INSTALL_LIB} ${WRKSRC}/build/libbearssl.so ${STAGEDIR}${LOCALBASE}/lib/
|
|
(cd ${WRKSRC}/inc && ${COPYTREE_SHARE} \* ${STAGEDIR}${LOCALBASE}/include)
|
|
|
|
.include <bsd.port.mk>
|