Skip to content

Commit

Permalink
security/aws-c-auth: Port improvements
Browse files Browse the repository at this point in the history
 - Define LICENSE_FILE
 - Use ports framework for unit testing
 - Use CMake helpers provided by framework
 - Not bumping PORTREVISION
  • Loading branch information
nunotexbsd committed Sep 15, 2022
1 parent 56fea30 commit 5196c5b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions security/aws-c-auth/Makefile
Expand Up @@ -9,6 +9,7 @@ COMMENT= C99 library implementation of AWS client-side authentication
WWW= https://github.com/awslabs/aws-c-auth

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

LIB_DEPENDS= libaws-c-cal.so:security/aws-c-cal \
libaws-c-common.so:devel/aws-c-common \
Expand All @@ -18,14 +19,14 @@ LIB_DEPENDS= libaws-c-cal.so:security/aws-c-cal \
libaws-c-sdkutils.so:devel/aws-c-sdkutils \
libs2n.so:security/s2n-tls

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_PREFIX_PATH=${LOCALBASE}
CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${LOCALBASE}
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= BUILD_TESTING

.include <bsd.port.mk>

0 comments on commit 5196c5b

Please sign in to comment.