Index: head/textproc/rubygem-nokogiri/Makefile =================================================================== --- head/textproc/rubygem-nokogiri/Makefile (revision 445194) +++ head/textproc/rubygem-nokogiri/Makefile (revision 445195) @@ -1,28 +1,30 @@ # $FreeBSD$ PORTNAME= nokogiri PORTVERSION= 1.8.0 +PORTREVISION= 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= rubygem-pkg-config>=1.1.7:devel/rubygem-pkg-config RUN_DEPENDS:= ${BUILD_DEPENDS} +LIB_DEPENDS= libgcrypt.so:security/libgcrypt CONFIGURE_ARGS= --use-system-libraries USE_GNOME= libxml2 libxslt USE_RUBY= yes USES= gem gnome pkgconfig 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/files/patch-ext_nokogiri_extconf.rb =================================================================== --- head/textproc/rubygem-nokogiri/files/patch-ext_nokogiri_extconf.rb (revision 445194) +++ head/textproc/rubygem-nokogiri/files/patch-ext_nokogiri_extconf.rb (revision 445195) @@ -1,46 +1,55 @@ ---- ext/nokogiri/extconf.rb.orig 2017-06-05 04:54:11 UTC -+++ ext/nokogiri/extconf.rb -@@ -658,6 +658,43 @@ have_func('xmlRelaxNGSetValidStructuredE +--- ext/nokogiri/extconf.rb.orig 2017-07-04 01:54:01.043919000 +0000 ++++ ext/nokogiri/extconf.rb 2017-07-04 01:54:59.447166000 +0000 +@@ -116,7 +116,7 @@ + + begin + require 'rubygems' +- gem 'pkg-config', (gem_ver='~> 1.1.7') ++ gem 'pkg-config', (gem_ver='~> 1.1') + require 'pkg-config' and message("Using pkg-config gem version #{PKGConfig::VERSION}\n") + rescue LoadError + message "pkg-config could not be used to find #{pkg}\nPlease install either `pkg-config` or the pkg-config gem per\n\n gem install pkg-config -v #{gem_ver.inspect}\n\n" +@@ -657,6 +657,43 @@ + have_func('xmlRelaxNGSetValidStructuredErrors') 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)