git: 178199b2ee41 - main - security/pkcs11-helper: Actually build docs and hide it behind DOXYGEN option.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jan 2024 12:17:51 UTC
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>