git: 9ee495b65478 - main - net/libngtcp2: Install crypto backend header files

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Sep 2024 13:41:31 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ee495b654786fa3d74f45f964e7882ab9d722c9

commit 9ee495b654786fa3d74f45f964e7882ab9d722c9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-30 13:01:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-30 13:36:25 +0000

    net/libngtcp2: Install crypto backend header files
    
    - Bump PORTREVISION for package change
---
 net/libngtcp2/Makefile  | 4 ++++
 net/libngtcp2/pkg-plist | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/net/libngtcp2/Makefile b/net/libngtcp2/Makefile
index e810178fe73f..a549a95dc705 100644
--- a/net/libngtcp2/Makefile
+++ b/net/libngtcp2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ngtcp2
 PORTVERSION=	1.7.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/ngtcp2/ngtcp2/releases/download/v${PORTVERSION}/
 PKGNAMEPREFIX=	lib
@@ -30,4 +31,7 @@ USE_LDCONFIG=	yes
 
 SLAVEDIRS=	net/libngtcp2-gnutls
 
+post-install:
+	cd ${WRKSRC}/crypto/includes/ngtcp2/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/ngtcp2
+
 .include <bsd.port.mk>
diff --git a/net/libngtcp2/pkg-plist b/net/libngtcp2/pkg-plist
index 9b3202c2562d..2c6d5ed35eca 100644
--- a/net/libngtcp2/pkg-plist
+++ b/net/libngtcp2/pkg-plist
@@ -1,4 +1,10 @@
 include/ngtcp2/ngtcp2.h
+include/ngtcp2/ngtcp2_crypto.h
+include/ngtcp2/ngtcp2_crypto_boringssl.h
+include/ngtcp2/ngtcp2_crypto_gnutls.h
+include/ngtcp2/ngtcp2_crypto_picotls.h
+include/ngtcp2/ngtcp2_crypto_quictls.h
+include/ngtcp2/ngtcp2_crypto_wolfssl.h
 include/ngtcp2/version.h
 lib/libngtcp2.a
 lib/libngtcp2.so