git: 07ca84cfde88 - main - textproc/rubygem-nokogiri18: Remove obsoleted port

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Dec 2021 19:50:53 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=07ca84cfde883118ea9f43dbb539f6e1500e602e

commit 07ca84cfde883118ea9f43dbb539f6e1500e602e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-12-21 19:29:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-12-21 19:29:23 +0000

    textproc/rubygem-nokogiri18: Remove obsoleted port
    
    Use textproc/rubygem-nokogiri instead.
---
 textproc/rubygem-nokogiri18/Makefile               | 30 --------------
 textproc/rubygem-nokogiri18/distinfo               |  3 --
 .../files/patch-ext_nokogiri_extconf.rb            | 46 ----------------------
 textproc/rubygem-nokogiri18/files/patch-gemspec    | 10 -----
 textproc/rubygem-nokogiri18/pkg-descr              |  9 -----
 5 files changed, 98 deletions(-)

diff --git a/textproc/rubygem-nokogiri18/Makefile b/textproc/rubygem-nokogiri18/Makefile
deleted file mode 100644
index 2522f31d8638..000000000000
--- a/textproc/rubygem-nokogiri18/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-PORTNAME=	nokogiri
-PORTVERSION=	1.8.5
-CATEGORIES=	textproc rubygems
-MASTER_SITES=	RG
-PKGNAMESUFFIX=	18
-
-MAINTAINER=	ruby@FreeBSD.org
-COMMENT=	HTML, XML, SAX, and Reader parser
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE.md
-
-BUILD_DEPENDS=	${RUN_DEPENDS}
-LIB_DEPENDS=	libgcrypt.so:security/libgcrypt
-RUN_DEPENDS=	rubygem-pkg-config>=1.1.7:devel/rubygem-pkg-config
-
-USES=		cpe gem gnome pkgconfig
-USE_GNOME=	libxml2 libxslt
-USE_RUBY=	yes
-
-CONFIGURE_ARGS=	--use-system-libraries
-
-PORTSCOUT=	limit:^1\.8\.
-
-post-install:
-	${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -name '*.o' -o -name '*.so' | ${XARGS} ${STRIP_CMD}
-	${RM} ${STAGEDIR}${PREFIX}/bin/nokogiri
-	${RMDIR} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ports/
-
-.include <bsd.port.mk>
diff --git a/textproc/rubygem-nokogiri18/distinfo b/textproc/rubygem-nokogiri18/distinfo
deleted file mode 100644
index fb5a5625d4b3..000000000000
--- a/textproc/rubygem-nokogiri18/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1540022382
-SHA256 (rubygem/nokogiri-1.8.5.gem) = 1f93a829257b621d40c4cbfce3acdcd688b0b3d70497ceae4fa2baf955eede2f
-SIZE (rubygem/nokogiri-1.8.5.gem) = 9279488
diff --git a/textproc/rubygem-nokogiri18/files/patch-ext_nokogiri_extconf.rb b/textproc/rubygem-nokogiri18/files/patch-ext_nokogiri_extconf.rb
deleted file mode 100644
index c5fa64d2780a..000000000000
--- a/textproc/rubygem-nokogiri18/files/patch-ext_nokogiri_extconf.rb
+++ /dev/null
@@ -1,46 +0,0 @@
---- ext/nokogiri/extconf.rb.orig	2017-09-20 14:58:44 UTC
-+++ ext/nokogiri/extconf.rb
-@@ -658,6 +658,43 @@ have_func('xmlRelaxNGSetValidStructuredE
- have_func('xmlSchemaSetValidStructuredErrors')
- have_func('xmlSchemaSetParserStructuredErrors')
- 
-+$INSTALLFILES = [
-+  ['html_document.h', '$(archdir)'],
-+  ['html_element_description.h', '$(archdir)'],
-+  ['html_entity_lookup.h', '$(archdir)'],
-+  ['html_sax_parser_context.h', '$(archdir)'],
-+  ['html_sax_push_parser.h', '$(archdir)'],
-+  ['nokogiri.h', '$(archdir)'],
-+  ['xml_attr.h', '$(archdir)'],
-+  ['xml_attribute_decl.h', '$(archdir)'],
-+  ['xml_cdata.h', '$(archdir)'],
-+  ['xml_comment.h', '$(archdir)'],
-+  ['xml_document.h', '$(archdir)'],
-+  ['xml_document_fragment.h', '$(archdir)'],
-+  ['xml_dtd.h', '$(archdir)'],
-+  ['xml_element_content.h', '$(archdir)'],
-+  ['xml_element_decl.h', '$(archdir)'],
-+  ['xml_encoding_handler.h', '$(archdir)'],
-+  ['xml_entity_decl.h', '$(archdir)'],
-+  ['xml_entity_reference.h', '$(archdir)'],
-+  ['xml_io.h', '$(archdir)'],
-+  ['xml_libxml2_hacks.h', '$(archdir)'],
-+  ['xml_namespace.h', '$(archdir)'],
-+  ['xml_node.h', '$(archdir)'],
-+  ['xml_node_set.h', '$(archdir)'],
-+  ['xml_processing_instruction.h', '$(archdir)'],
-+  ['xml_reader.h', '$(archdir)'],
-+  ['xml_relax_ng.h', '$(archdir)'],
-+  ['xml_sax_parser.h', '$(archdir)'],
-+  ['xml_sax_parser_context.h', '$(archdir)'],
-+  ['xml_sax_push_parser.h', '$(archdir)'],
-+  ['xml_schema.h', '$(archdir)'],
-+  ['xml_syntax_error.h', '$(archdir)'],
-+  ['xml_text.h', '$(archdir)'],
-+  ['xml_xpath_context.h', '$(archdir)'],
-+  ['xslt_stylesheet.h', '$(archdir)'],
-+]
-+
- create_makefile('nokogiri/nokogiri')
- 
- if enable_config('clean', true)
diff --git a/textproc/rubygem-nokogiri18/files/patch-gemspec b/textproc/rubygem-nokogiri18/files/patch-gemspec
deleted file mode 100644
index 1339c204fbd0..000000000000
--- a/textproc/rubygem-nokogiri18/files/patch-gemspec
+++ /dev/null
@@ -1,10 +0,0 @@
---- nokogiri.gemspec.orig	2017-09-20 14:58:45 UTC
-+++ nokogiri.gemspec
-@@ -27,7 +27,6 @@ Gem::Specification.new do |s|
-     s.specification_version = 4
- 
-     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
--      s.add_runtime_dependency(%q<mini_portile2>.freeze, ["~> 2.3.0"])
-       s.add_development_dependency(%q<hoe-bundler>.freeze, ["~> 1.2"])
-       s.add_development_dependency(%q<hoe-debugging>.freeze, ["~> 1.4"])
-       s.add_development_dependency(%q<hoe-gemspec>.freeze, ["~> 1.0"])
diff --git a/textproc/rubygem-nokogiri18/pkg-descr b/textproc/rubygem-nokogiri18/pkg-descr
deleted file mode 100644
index 98806cf7d856..000000000000
--- a/textproc/rubygem-nokogiri18/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-* XPath support for document searching
-* CSS3 selector support for document searching
-* XML/HTML builder
-* Drop in replacement for Hpricot (though not bug for bug)
-
-Nokogiri parses and searches XML/HTML very quickly, and also has
-correctly implemented CSS3 selector support as well as XPath support.
-
-WWW: https://www.nokogiri.org/