Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2024 12:17:51 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 178199b2ee41 - main - security/pkcs11-helper: Actually build docs and hide it behind DOXYGEN option.
Message-ID:  <202401081217.408CHpnc082413@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=178199b2ee417ac179657b49f798aebde854885d

commit 178199b2ee417ac179657b49f798aebde854885d
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-01-08 08:19:28 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-08 12:17:38 +0000

    security/pkcs11-helper: Actually build docs and hide it behind DOXYGEN option.
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 security/pkcs11-helper/Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/security/pkcs11-helper/Makefile b/security/pkcs11-helper/Makefile
index 8b76078607e0..e189f1ad5937 100644
--- a/security/pkcs11-helper/Makefile
+++ b/security/pkcs11-helper/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pkcs11-helper
 PORTVERSION=	1.29.0
+PORTREVISION=	1
 CATEGORIES=	security devel
 MASTER_SITES=	https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-${PORTVERSION}/
 
@@ -14,7 +15,7 @@ LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/COPYING.BSD
 LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING.GPL
 
 GNU_CONFIGURE=	yes
-USES=		libtool:keepla pathfix pkgconfig tar:bzip2 ssl
+USES=		gmake libtool:keepla pathfix pkgconfig tar:bzip2 ssl
 USE_LDCONFIG=	yes
 
 CONFIGURE_ENV=	OPENSSL_CFLAGS="-I${OPENSSLINC}" \
@@ -28,14 +29,16 @@ CONFIGURE_ARGS=	--disable-crypto-engine-gnutls \
 
 INSTALL_TARGET=	install-strip
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS DOXYGEN
+
+DOXYGEN_CONFIGURE_ENABLE=	doc
+DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
+DOXYGEN_IMPLIES=	DOCS
 
 PORTDOCS=	*
 
 post-patch:
 	@${REINPLACE_CMD} 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
 		${WRKSRC}/configure
-	@${REINPLACE_CMD} 's|install-data-am: install-apidocDATA|install-data-am:|' \
-		${WRKSRC}/doc/api/Makefile.in
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401081217.408CHpnc082413>