Skip to content

Commit

Permalink
www/cpr: Update to 1.7.2
Browse files Browse the repository at this point in the history
- Update pkg-descr
- Update WWW
- Take maintainership

Changes:	https://github.com/libcpr/cpr/releases
  • Loading branch information
sunpoet committed Jan 23, 2022
1 parent 68583cf commit 912cb4e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
14 changes: 8 additions & 6 deletions www/cpr/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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>
6 changes: 3 additions & 3 deletions www/cpr/distinfo
Original file line number Diff line number Diff line change
@@ -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
12 changes: 7 additions & 5 deletions www/cpr/pkg-descr
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion www/cpr/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -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%%

0 comments on commit 912cb4e

Please sign in to comment.