summaryrefslogtreecommitdiff
path: root/security/libp11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/libp11/Makefile')
-rw-r--r--security/libp11/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/security/libp11/Makefile b/security/libp11/Makefile
index 7575e9c2ed49..4f0d14343a4b 100644
--- a/security/libp11/Makefile
+++ b/security/libp11/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libp11
-PORTVERSION= 0.4.14
-DISTVERSIONPREFIX= ${PORTNAME}-
+DISTVERSION= 0.4.16
CATEGORIES= security devel
+MASTER_SITES= https://github.com/OpenSC/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
MAINTAINER= ale@FreeBSD.org
COMMENT= Small layer on top of PKCS\#11 API
@@ -11,7 +11,7 @@ LICENSE= LGPL21
LIB_DEPENDS= libltdl.so:devel/libltdl
-USES= autoreconf cpe libtool pkgconfig ssl
+USES= cpe libtool pathfix pkgconfig ssl
CPE_VENDOR= opensc_project
CPE_PRODUCT= opensc
@@ -22,9 +22,6 @@ DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_USES= gmake
DOXYGEN_IMPLIES= DOCS
-USE_GITHUB= yes
-GH_ACCOUNT= OpenSC
-
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -39,6 +36,15 @@ CONFIGURE_ARGS= --with-enginesdir=${PREFIX}/lib/engines \
--with-modulesdir=${PREFIX}/lib/ossl-modules \
--enable-static-engine
+.include <bsd.port.options.mk>
+
+.if ${SSL_DEFAULT} == "base" && ${OPSYS} == FreeBSD && ${OSREL:R} < 14
+PLIST_SUB+= PROVIDERS="@comment "
+.else
+PLIST_SUB+= PROVIDERS=""
+.endif
+
+
INSTALL_TARGET= install-strip
PORTDOCS= *