mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
5fa214fd32
The static library libsexp.a conflicts with the library of the same name installed by the devel/sfsexp port. It is only used to build the rnp and rnpkeys binaries, but not needed for any other port.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
PORTNAME= rnp
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.17.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= se@FreeBSD.org
|
|
COMMENT= RNP is a set of OpenPGP (RFC4880) tools
|
|
WWW= https://www.rnpgp.com/
|
|
|
|
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
|
|
GH_TUPLE= rnpgp:sexp:b6bf033:sexp/src/libsexp
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DBUILD_SHARED_LIBS=on \
|
|
-DBUILD_TESTING=off
|
|
|
|
PLIST_SUB= VERS=${DISTVERSION}
|
|
|
|
pre-configure:
|
|
${CP} ${FILESDIR}/version.cmake ${WRKSRC}/cmake/
|
|
${REINPLACE_CMD} 's/%%DISTVERSION%%/${DISTVERSION}/' \
|
|
${WRKSRC}/cmake/version.cmake
|
|
|
|
post-install:
|
|
${RM} ${STAGEDIR}${PREFIX}/lib/libsexp.a
|
|
|
|
.include <bsd.port.mk>
|