1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

textproc/rubygem-nokogiri14: update to latest 1.4

While here, install a nokogiri14 binary and tell portscout to ignore
This commit is contained in:
Steve Wills 2014-08-26 20:52:25 +00:00
parent 24d208a48f
commit 6a64708a54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366268
4 changed files with 40 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= nokogiri
PORTVERSION= 1.4.0
PORTVERSION= 1.4.7
PKGNAMESUFFIX= 14
CATEGORIES= textproc rubygems
MASTER_SITES= RG
@ -19,6 +19,12 @@ USE_GNOME= libxml2 libxslt
USES= pkgconfig
CONFIGURE_ARGS= --use-system-libraries
# Don't install bin/nokogiri
PLIST_FILES= bin/nokogiri14
PORTSCOUT= ignore
post-patch:
@${MV} ${WRKSRC}/bin/nokogiri ${WRKSRC}/bin/nokogiri14
@${RM} ${WRKSRC}/bin/nokogiri.orig
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (rubygem/nokogiri-1.4.0.gem) = 89ed690aa46e80b0a3d39f66ec4359f5acefc97a11a867539c2f4147d743b7f3
SIZE (rubygem/nokogiri-1.4.0.gem) = 165376
SHA256 (rubygem/nokogiri-1.4.7.gem) = 6e5f5995fd977c0847957712a5f1ab6b804a59445aa9dc9c5873152ea210e7c9
SIZE (rubygem/nokogiri-1.4.7.gem) = 203776

View File

@ -0,0 +1,10 @@
--- bin/nokogiri.orig 2014-08-26 20:46:38.000000000 +0000
+++ bin/nokogiri 2014-08-26 20:46:30.000000000 +0000
@@ -4,6 +4,7 @@
require 'irb'
require 'uri'
require 'rubygems'
+gem 'nokogiri', '~> 1.4'
require 'nokogiri'
parse_class = Nokogiri

View File

@ -0,0 +1,20 @@
--- nokogiri-1.4.7.gemspec.orig 2014-08-26 20:40:15.000000000 +0000
+++ nokogiri-1.4.7.gemspec 2014-08-26 20:40:32.000000000 +0000
@@ -77,7 +77,7 @@
- aaronp@rubyforge.org
- mike.dalessio@gmail.com
executables:
-- nokogiri
+- nokogiri14
extensions:
- ext/nokogiri/extconf.rb
extra_rdoc_files:
@@ -128,7 +128,7 @@
- README.ja.rdoc
- README.rdoc
- Rakefile
-- bin/nokogiri
+- bin/nokogiri14
- ext/nokogiri/depend
- ext/nokogiri/extconf.rb
- ext/nokogiri/html_document.c