git: 14fcdc6d5bde - main - www/libnghttp3: Update to 0.1.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 28 Jan 2022 23:28:08 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=14fcdc6d5bde86a08282f2b00484db32a3dcba5c

commit 14fcdc6d5bde86a08282f2b00484db32a3dcba5c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-28 23:18:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-28 23:26:40 +0000

    www/libnghttp3: Update to 0.1.1
    
    Changes:        https://github.com/ngtcp2/nghttp3/releases
---
 www/libnghttp3/Makefile                 | 12 +++---------
 www/libnghttp3/distinfo                 |  6 +++---
 www/libnghttp3/files/patch-Makefile.in  | 14 ++++++++++++++
 www/libnghttp3/files/patch-configure.ac | 11 -----------
 www/libnghttp3/pkg-plist                |  2 +-
 5 files changed, 21 insertions(+), 24 deletions(-)

diff --git a/www/libnghttp3/Makefile b/www/libnghttp3/Makefile
index 1710a2843313..7978eb2a2534 100644
--- a/www/libnghttp3/Makefile
+++ b/www/libnghttp3/Makefile
@@ -1,8 +1,9 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	nghttp3
-PORTVERSION=	0.1.0.g20211222
+PORTVERSION=	0.1.1
 CATEGORIES=	www net
+MASTER_SITES=	https://github.com/ngtcp2/nghttp3/releases/download/v${PORTVERSION}/
 PKGNAMEPREFIX=	lib
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -11,7 +12,7 @@ COMMENT=	HTTP/3 C Library
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		autoreconf compiler:c++17-lang libtool pathfix pkgconfig
+USES=		compiler:c++17-lang libtool pathfix pkgconfig tar:xz
 
 CONFIGURE_ARGS=	--enable-lib-only
 GNU_CONFIGURE=	yes
@@ -19,11 +20,4 @@ INSTALL_TARGET=	install-strip
 USE_CXXSTD=	c++17
 USE_LDCONFIG=	yes
 
-GH_ACCOUNT=	ngtcp2
-GH_TAGNAME=	8d8184a
-USE_GITHUB=	yes
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/configure.ac
-
 .include <bsd.port.mk>
diff --git a/www/libnghttp3/distinfo b/www/libnghttp3/distinfo
index f3e0fe603526..247337fac861 100644
--- a/www/libnghttp3/distinfo
+++ b/www/libnghttp3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641045826
-SHA256 (ngtcp2-nghttp3-0.1.0.g20211222-8d8184a_GH0.tar.gz) = 8208121a2ebb4178bab9ba79f4f64de9295fd4b3b944a30a69880eea796816b8
-SIZE (ngtcp2-nghttp3-0.1.0.g20211222-8d8184a_GH0.tar.gz) = 177857
+TIMESTAMP = 1643382514
+SHA256 (nghttp3-0.1.1.tar.xz) = afe64349ee55e0ab9a3c2468caf2c9910036e7a15e58000ff2ad19cc65efa0f6
+SIZE (nghttp3-0.1.1.tar.xz) = 355724
diff --git a/www/libnghttp3/files/patch-Makefile.in b/www/libnghttp3/files/patch-Makefile.in
new file mode 100644
index 000000000000..130c25e3faba
--- /dev/null
+++ b/www/libnghttp3/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+--- Makefile.in.orig	2022-01-22 09:12:33 UTC
++++ Makefile.in
+@@ -404,9 +404,9 @@ top_srcdir = @top_srcdir@
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+-SUBDIRS = lib tests doc examples
++SUBDIRS = lib
+ ACLOCAL_AMFLAGS = -I m4
+-dist_doc_DATA = README.rst
++dist_doc_DATA =
+ EXTRA_DIST = \
+ 	cmakeconfig.h.in \
+ 	CMakeLists.txt \
diff --git a/www/libnghttp3/files/patch-configure.ac b/www/libnghttp3/files/patch-configure.ac
deleted file mode 100644
index fecaabd02a52..000000000000
--- a/www/libnghttp3/files/patch-configure.ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac.orig	2021-07-31 08:26:06 UTC
-+++ configure.ac
-@@ -23,7 +23,7 @@
- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- AC_PREREQ(2.61)
--AC_INIT([nghttp3], [0.1.0-DEV], [t-tujikawa@users.sourceforge.net])
-+AC_INIT([nghttp3], [%%PORTVERSION%%], [t-tujikawa@users.sourceforge.net])
- AC_CONFIG_AUX_DIR([.])
- AC_CONFIG_MACRO_DIR([m4])
- AC_CONFIG_HEADERS([config.h])
diff --git a/www/libnghttp3/pkg-plist b/www/libnghttp3/pkg-plist
index 9db854e48460..c17c5b7d97b9 100644
--- a/www/libnghttp3/pkg-plist
+++ b/www/libnghttp3/pkg-plist
@@ -3,5 +3,5 @@ include/nghttp3/version.h
 lib/libnghttp3.a
 lib/libnghttp3.so
 lib/libnghttp3.so.0
-lib/libnghttp3.so.0.0.0
+lib/libnghttp3.so.0.0.1
 libdata/pkgconfig/libnghttp3.pc