diff options
author | Nuno Teixeira <eduardo@FreeBSD.org> | 2022-09-15 23:31:44 +0000 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2022-09-15 23:59:02 +0000 |
commit | aac7641627c9af2ade6c3a4858a5efdfe287d9df (patch) | |
tree | 3212c45a5f57946430819fdbaeb34b430503f41a | |
parent | 5196c5b2f4a5517e3a202504fa356e008b92fdff (diff) | |
download | ports-aac7641627c9af2ade6c3a4858a5efdfe287d9df.tar.gz ports-aac7641627c9af2ade6c3a4858a5efdfe287d9df.zip |
security/aws-c-cal: Port improvements
- Define LICENSE_FILE
- Use ports framework for unit testing
- Use CMake helpers provided by framework
- Not bumping PORTREVISION
-rw-r--r-- | security/aws-c-cal/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/security/aws-c-cal/Makefile b/security/aws-c-cal/Makefile index da33c369f36d..9d479bd83e1d 100644 --- a/security/aws-c-cal/Makefile +++ b/security/aws-c-cal/Makefile @@ -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> |