git: 04381c6cd3c9 - main - www/rubygem-net-http041: Add rubygem-net-http041 0.4.1 (copied from rubygem-net-http)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Nov 2024 13:41:04 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=04381c6cd3c9c1438342c3566ab8442ffdd8f867 commit 04381c6cd3c9c1438342c3566ab8442ffdd8f867 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-11-21 13:18:30 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-11-21 13:37:54 +0000 www/rubygem-net-http041: Add rubygem-net-http041 0.4.1 (copied from rubygem-net-http) - Add PORTSCOUT --- www/Makefile | 1 + www/rubygem-net-http041/Makefile | 23 +++++++++++++++++++++++ www/rubygem-net-http041/distinfo | 3 +++ www/rubygem-net-http041/pkg-descr | 7 +++++++ 4 files changed, 34 insertions(+) diff --git a/www/Makefile b/www/Makefile index 7f7e4154a7a0..5f5079aa45ea 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2186,6 +2186,7 @@ SUBDIR += rubygem-net-http-persistent SUBDIR += rubygem-net-http-persistent2 SUBDIR += rubygem-net-http-pipeline + SUBDIR += rubygem-net-http041 SUBDIR += rubygem-nicovideo SUBDIR += rubygem-ntlm-http SUBDIR += rubygem-octopress diff --git a/www/rubygem-net-http041/Makefile b/www/rubygem-net-http041/Makefile new file mode 100644 index 000000000000..374232153c64 --- /dev/null +++ b/www/rubygem-net-http041/Makefile @@ -0,0 +1,23 @@ +PORTNAME= net-http +PORTVERSION= 0.4.1 +CATEGORIES= www rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 041 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= HTTP client api for Ruby +WWW= https://github.com/ruby/net-http + +LICENSE= BSD2CLAUSE RUBY +LICENSE_COMB= dual +LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-uri>=0:net/rubygem-uri + +USES= gem + +NO_ARCH= yes + +PORTSCOUT= ignroe:1 + +.include <bsd.port.mk> diff --git a/www/rubygem-net-http041/distinfo b/www/rubygem-net-http041/distinfo new file mode 100644 index 000000000000..c93be75f48d4 --- /dev/null +++ b/www/rubygem-net-http041/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708450636 +SHA256 (rubygem/net-http-0.4.1.gem) = a96efc5ea18bcb9715e24dda4159d10f67ff0345c8a980d04630028055b2c282 +SIZE (rubygem/net-http-0.4.1.gem) = 51712 diff --git a/www/rubygem-net-http041/pkg-descr b/www/rubygem-net-http041/pkg-descr new file mode 100644 index 000000000000..817662f0b1d6 --- /dev/null +++ b/www/rubygem-net-http041/pkg-descr @@ -0,0 +1,7 @@ +Net::HTTP provides a rich library which can be used to build HTTP user-agents. +For more details about HTTP see RFC2616. + +Net::HTTP is designed to work closely with URI. URI::HTTP#host, URI::HTTP#port +and URI::HTTP#request_uri are designed to work with Net::HTTP. + +If you are only performing a few GET requests you should try OpenURI.