aboutsummaryrefslogtreecommitdiff
path: root/www/cpr
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-23 18:18:04 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-23 18:18:04 +0000
commit912cb4e78b043b2481430088043d125e928fc29a (patch)
treed4d322bd890e04bc08fa76bdb4d28ad63971f793 /www/cpr
parent68583cfe4ca1caa8d9243164afecf4aad097d085 (diff)
downloadports-912cb4e78b043b2481430088043d125e928fc29a.tar.gz
ports-912cb4e78b043b2481430088043d125e928fc29a.zip
www/cpr: Update to 1.7.2
- Update pkg-descr - Update WWW - Take maintainership Changes: https://github.com/libcpr/cpr/releases
Diffstat (limited to 'www/cpr')
-rw-r--r--www/cpr/Makefile14
-rw-r--r--www/cpr/distinfo6
-rw-r--r--www/cpr/pkg-descr12
-rw-r--r--www/cpr/pkg-plist2
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%%