1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

security/aws-c-cal: Port improvements

- Define LICENSE_FILE
 - Use ports framework for unit testing
 - Use CMake helpers provided by framework
 - Not bumping PORTREVISION
This commit is contained in:
Nuno Teixeira 2022-09-16 00:31:44 +01:00
parent 5196c5b2f4
commit aac7641627

View File

@ -8,16 +8,17 @@ COMMENT= Aws Crypto Abstraction Layer
WWW= https://github.com/awslabs/aws-c-cal
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libaws-c-common.so:devel/aws-c-common
USES= cmake compiler:c11 ssl
USES= cmake:testing compiler:c11 ssl
USE_GITHUB= yes
GH_ACCOUNT= awslabs
USE_LDCONFIG= yes
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_LIBDIR=${LOCALBASE}/lib
CMAKE_ARGS+= -DCMAKE_INSTALL_LIBDIR=${LOCALBASE}/lib
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= BUILD_TESTING
.include <bsd.port.mk>