Index: head/textproc/rubygem-nokogiri/Makefile =================================================================== --- head/textproc/rubygem-nokogiri/Makefile (revision 563062) +++ head/textproc/rubygem-nokogiri/Makefile (revision 563063) @@ -1,33 +1,34 @@ # $FreeBSD$ PORTNAME= nokogiri -PORTVERSION= 1.10.10 +PORTVERSION= 1.11.1 CATEGORIES= textproc rubygems MASTER_SITES= RG 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 \ libgpg-error.so:security/libgpg-error # Do not add mini_portile2 to RUN_DEPENDS. Read ext/nokogiri/extconf.rb # and https://lists.freebsd.org/pipermail/svn-ports-all/2019-March/209423.html -RUN_DEPENDS= rubygem-pkg-config>=1.1.7:devel/rubygem-pkg-config +RUN_DEPENDS= rubygem-pkg-config>=1.1.7:devel/rubygem-pkg-config \ + rubygem-racc>=1.4<2:devel/rubygem-racc USES= gem gnome pkgconfig gettext-runtime USE_GNOME= libxml2 libxslt USE_RUBY= yes CONFIGURE_ARGS= --use-system-libraries PLIST_FILES= bin/nokogiri post-install: ${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -name '*.o' -o -name '*.so' | ${XARGS} ${STRIP_CMD} ${RMDIR} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ports/ .include Index: head/textproc/rubygem-nokogiri/distinfo =================================================================== --- head/textproc/rubygem-nokogiri/distinfo (revision 563062) +++ head/textproc/rubygem-nokogiri/distinfo (revision 563063) @@ -1,3 +1,3 @@ -TIMESTAMP = 1600949728 -SHA256 (rubygem/nokogiri-1.10.10.gem) = 22ea03a328972467d7da06f4a7d5ac4f1f6410185efb55a4dae9cd222d30ae76 -SIZE (rubygem/nokogiri-1.10.10.gem) = 9251328 +TIMESTAMP = 1611261222 +SHA256 (rubygem/nokogiri-1.11.1.gem) = 42c2a54dd3ef03ef2543177bee3b5308313214e99f0d1aa85f984324329e5caa +SIZE (rubygem/nokogiri-1.11.1.gem) = 9266176 Index: head/textproc/rubygem-nokogiri/files/patch-ext_nokogiri_extconf.rb =================================================================== --- head/textproc/rubygem-nokogiri/files/patch-ext_nokogiri_extconf.rb (revision 563062) +++ head/textproc/rubygem-nokogiri/files/patch-ext_nokogiri_extconf.rb (revision 563063) @@ -1,46 +1,46 @@ ---- ext/nokogiri/extconf.rb.orig 2017-09-20 14:58:44 UTC +--- ext/nokogiri/extconf.rb.orig 2021-01-21 20:37:43 UTC +++ ext/nokogiri/extconf.rb -@@ -658,6 +658,43 @@ have_func('xmlRelaxNGSetValidStructuredE - have_func('xmlSchemaSetValidStructuredErrors') - have_func('xmlSchemaSetParserStructuredErrors') +@@ -819,6 +819,43 @@ unless using_system_libraries? + end + end +$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) Index: head/textproc/rubygem-nokogiri/files/patch-gemspec =================================================================== --- head/textproc/rubygem-nokogiri/files/patch-gemspec (revision 563062) +++ head/textproc/rubygem-nokogiri/files/patch-gemspec (revision 563063) @@ -1,10 +1,10 @@ ---- nokogiri.gemspec.orig 2019-08-12 17:41:47 UTC +--- nokogiri.gemspec.orig 2021-01-21 20:37:44 UTC +++ nokogiri.gemspec -@@ -26,7 +26,6 @@ Gem::Specification.new do |s| - s.specification_version = 4 +@@ -29,7 +29,6 @@ Gem::Specification.new do |s| if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then -- s.add_runtime_dependency(%q.freeze, ["~> 2.4.0"]) - s.add_development_dependency(%q.freeze, ["~> 0.24"]) - s.add_development_dependency(%q.freeze, ["~> 1.2"]) - s.add_development_dependency(%q.freeze, ["~> 2.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.4"]) +- s.add_runtime_dependency(%q.freeze, ["~> 2.5.0"]) + s.add_development_dependency(%q.freeze, ["~> 2.2"]) + s.add_development_dependency(%q.freeze, ["~> 0.41"]) + s.add_development_dependency(%q.freeze, ["~> 1.1"])