summaryrefslogtreecommitdiff
path: root/security/libp11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/libp11/Makefile')
-rw-r--r--security/libp11/Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/security/libp11/Makefile b/security/libp11/Makefile
index 1ac2909bf055..4f0d14343a4b 100644
--- a/security/libp11/Makefile
+++ b/security/libp11/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libp11
-PORTVERSION= 0.4.13
-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
@@ -35,7 +32,18 @@ CONFIGURE_ENV= LTLIB_CFLAGS="-I${LOCALBASE}/include" \
OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
-CONFIGURE_ARGS= --with-enginesdir=${PREFIX}/lib/engines
+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