git: 912cb4e78b04 - main - www/cpr: Update to 1.7.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 23 Jan 2022 19:26:41 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=912cb4e78b043b2481430088043d125e928fc29a

commit 912cb4e78b043b2481430088043d125e928fc29a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-23 18:18:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-23 18:18:04 +0000

    www/cpr: Update to 1.7.2
    
    - Update pkg-descr
    - Update WWW
    - Take maintainership
    
    Changes:        https://github.com/libcpr/cpr/releases
---
 www/cpr/Makefile  | 14 ++++++++------
 www/cpr/distinfo  |  6 +++---
 www/cpr/pkg-descr | 12 +++++++-----
 www/cpr/pkg-plist |  2 +-
 4 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/www/cpr/Makefile b/www/cpr/Makefile
index 450cb2b5817b..2abcd16d2353 100644
--- a/www/cpr/Makefile
+++ b/www/cpr/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	cpr
-PORTVERSION=	1.7.0
+PORTVERSION=	1.7.2
 CATEGORIES=	www
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Curl for people, a simple wrapper around libcurl
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	C++ Requests: Curl for People
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -12,10 +12,12 @@ LIB_DEPENDS=	libcurl.so:ftp/curl
 
 USES=		cmake compiler:c++11-lang ssl
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	whoshuu
-
 CMAKE_OFF=	CPR_BUILD_TESTS CPR_BUILD_TESTS_SSL CPR_CURL_NOSIGNAL CPR_FORCE_DARWINSSL_BACKEND CPR_FORCE_WINSSL_BACKEND CPR_GENERATE_COVERAGE CPR_USE_SYSTEM_GTEST
 CMAKE_ON=	BUILD_SHARED_LIBS CPR_ENABLE_SSL CPR_FORCE_OPENSSL_BACKEND CPR_FORCE_USE_SYSTEM_CURL
 
+PLIST_SUB=	PORTVERSION=${PORTVERSION}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libcpr
+
 .include <bsd.port.mk>
diff --git a/www/cpr/distinfo b/www/cpr/distinfo
index b4a869dcbf39..dccad8a77138 100644
--- a/www/cpr/distinfo
+++ b/www/cpr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637816591
-SHA256 (whoshuu-cpr-1.7.0_GH0.tar.gz) = 5c10d38b8cb60fc0d8d829559c2bf5351ce9a3c50c519682980f5ebfbe2836e5
-SIZE (whoshuu-cpr-1.7.0_GH0.tar.gz) = 91198
+TIMESTAMP = 1642102155
+SHA256 (libcpr-cpr-1.7.2_GH0.tar.gz) = aa38a414fe2ffc49af13a08b6ab34df825fdd2e7a1213d032d835a779e14176f
+SIZE (libcpr-cpr-1.7.2_GH0.tar.gz) = 91575
diff --git a/www/cpr/pkg-descr b/www/cpr/pkg-descr
index 46dd16ad6cc6..ef2b18460594 100644
--- a/www/cpr/pkg-descr
+++ b/www/cpr/pkg-descr
@@ -1,7 +1,9 @@
-C++ Requests is a simple wrapper around libcurl inspired by the excellent
-Python Requests project.
+C++ Requests is a simple wrapper around libcurl inspired by the excellent Python
+Requests project.
 
-Using the more expressive language facilities of C++11, this library captures
-the essence of making network calls into a few concise idioms.
+Despite its name, libcurl's easy interface is anything but, and making mistakes
+misusing it is a common source of error and frustration. Using the more
+expressive language facilities of C++11, this library captures the essence of
+making network calls into a few concise idioms.
 
-WWW: https://github.com/whoshuu/cpr
+WWW: https://github.com/libcpr/cpr
diff --git a/www/cpr/pkg-plist b/www/cpr/pkg-plist
index 99a83aa1bb0b..8cc71bb823be 100644
--- a/www/cpr/pkg-plist
+++ b/www/cpr/pkg-plist
@@ -38,4 +38,4 @@ lib/cmake/cpr/cprTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/cpr/cprTargets.cmake
 lib/libcpr.so
 lib/libcpr.so.1
-lib/libcpr.so.1.7.0
+lib/libcpr.so.%%PORTVERSION%%