1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/security/rnp/Makefile
2021-08-09 19:44:58 +02:00

35 lines
925 B
Makefile

PORTNAME= rnp
DISTVERSIONPREFIX= v
DISTVERSION= 0.15.2
CATEGORIES= security
MAINTAINER= se@FreeBSD.org
COMMENT= RNP is a set of OpenPGP (RFC4880) tools
LICENSE= APACHE20 BSD2CLAUSE BSD3CLAUSE OCB_Patent
LICENSE_COMB= multi
LICENSE_NAME_OCB_Patent= OCB Patent License for Ribose Inc.
LICENSE_FILE_OCB_Patent= ${WRKSRC}/LICENSE-OCB.md
LICENSE_FILE= ${WRKSRC}/LICENSE.md
LICENSE_PERMS_OCB_Patent= dist-mirror dist-sell pkg-mirror pkg-sell \
auto-accept
BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor
LIB_DEPENDS= libbotan-2.so:security/botan2 \
libjson-c.so:devel/json-c
USES= cmake compiler:c++11-lang pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= rnpgp
USE_LDCONFIG= yes
CMAKE_ARGS= -DBUILD_SHARED_LIBS=on \
-DBUILD_TESTING=off
pre-configure:
${CP} ${FILESDIR}/version.cmake ${WRKSRC}/cmake/
${REINPLACE_CMD} 's/%%DISTVERSION%%/${DISTVERSION}/' \
${WRKSRC}/cmake/version.cmake
.include <bsd.port.mk>