git: e95626c18aeb - 2024Q4 - 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: Tue, 26 Nov 2024 13:34:05 UTC
The branch 2024Q4 has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e95626c18aeb144273bc8a27d218481e30e22090
commit e95626c18aeb144273bc8a27d218481e30e22090
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:18:30 +0000
Commit: Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-11-26 13:32:55 +0000
www/rubygem-net-http041: Add rubygem-net-http041 0.4.1 (copied from rubygem-net-http)
- Add PORTSCOUT
(cherry picked from commit 04381c6cd3c9c1438342c3566ab8442ffdd8f867)
---
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 8836f92600dc..cf9ef5c1113b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2170,6 +2170,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.