1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

2013-05-02 textproc/ruby-libxml: Does not work with Ruby 1.9

This commit is contained in:
Pietro Cerutti 2013-05-02 07:02:34 +00:00
parent 7c700529d2
commit 9ff46806b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317076
6 changed files with 1 additions and 84 deletions

1
MOVED
View File

@ -4244,3 +4244,4 @@ www/mediawiki|www/mediawiki119|2013-05-01|Rename mediawiki to mediawiki119
www/squid31||2013-05-01|Has expired: No longer actively maintained upstream
converters/ruby-bsdconv|converters/rubygem-bsdconv|2013-05-01|Moved to Rubygems
editors/nxml-emacs21||2013-05-02|Removed: obsolete
textproc/ruby-libxml||2013-05-02|Has expired: Does not work with Ruby 1.9

View File

@ -1264,7 +1264,6 @@
SUBDIR += ruby-htmlrepair
SUBDIR += ruby-htmlsplit
SUBDIR += ruby-htree
SUBDIR += ruby-libxml
SUBDIR += ruby-liquid
SUBDIR += ruby-mwdom
SUBDIR += ruby-rd-mode.el

View File

@ -1,50 +0,0 @@
# Created by: Sean Chittenden <seanc@FreeBSD.org>
# $FreeBSD$
PORTNAME= libxml
PORTVERSION= 1.1.3
CATEGORIES= textproc ruby
MASTER_SITES= RF
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= gahr@FreeBSD.org
COMMENT= A friendly API to libxml for Ruby
DEPRECATED= Does not work with Ruby 1.9
EXPIRATION_DATE= 2013-05-02
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
USE_RUBY= yes
USES= iconv
USE_LDCONFIG= ${RUBY_SITEARCHLIBDIR}/xml
EXT_ARGS= --with-iconv-dir=${LOCALBASE} \
--with-iconv-lib=${LOCALBASE}/lib \
--with-iconv-include=${LOCALBASE}/include
post-patch:
${REINPLACE_CMD} -e 's|libxml_ruby|xml/libxml_ruby|' \
${WRKSRC}/lib/libxml.rb
do-configure:
cd ${WRKSRC}/ext/libxml && ${RUBY} extconf.rb build ${EXT_ARGS}
do-build:
cd ${WRKSRC}/ext/libxml && ${MAKE}
do-install:
${INSTALL} -d ${RUBY_SITELIBDIR}/xml ${RUBY_SITELIBDIR}/libxml ${RUBY_SITEARCHLIBDIR}/xml
${INSTALL_DATA} ${WRKSRC}/lib/libxml.rb ${RUBY_SITELIBDIR}/xml
(cd ${WRKSRC}/lib/libxml && ${COPYTREE_SHARE} \*.rb ${RUBY_SITELIBDIR}/libxml)
${INSTALL_DATA} ${WRKSRC}/ext/libxml/libxml_ruby.so ${RUBY_SITEARCHLIBDIR}/xml/
.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 1.9
BROKEN= extconf.rb:6: [BUG] Segmentation fault
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (libxml-ruby-1.1.3.tgz) = 53eac48f6a4bdb389e84d2bdf7dda68952fae1ba83de3e520a0c85d499cf6122
SIZE (libxml-ruby-1.1.3.tgz) = 1495372

View File

@ -1,8 +0,0 @@
ruby-libxml provies a clean and fast Ruby interface into the libxml2
library. All of the power and granularity of libxml's data
structures should be available. Those wanting a user friendly API
that follows the Ruby-way of doing things should be pleasantly
surprised.
Author: Sean Chittenden <sean@ruby-lang.org>
WWW: http://rubyforge.org/projects/libxml/

View File

@ -1,23 +0,0 @@
%%RUBY_SITEARCHLIBDIR%%/xml/libxml_ruby.so
%%RUBY_SITELIBDIR%%/xml/libxml.rb
%%RUBY_SITELIBDIR%%/libxml/attr.rb
%%RUBY_SITELIBDIR%%/libxml/attr_decl.rb
%%RUBY_SITELIBDIR%%/libxml/attributes.rb
%%RUBY_SITELIBDIR%%/libxml/document.rb
%%RUBY_SITELIBDIR%%/libxml/error.rb
%%RUBY_SITELIBDIR%%/libxml/hpricot.rb
%%RUBY_SITELIBDIR%%/libxml/html_parser.rb
%%RUBY_SITELIBDIR%%/libxml/namespace.rb
%%RUBY_SITELIBDIR%%/libxml/namespaces.rb
%%RUBY_SITELIBDIR%%/libxml/node.rb
%%RUBY_SITELIBDIR%%/libxml/ns.rb
%%RUBY_SITELIBDIR%%/libxml/parser.rb
%%RUBY_SITELIBDIR%%/libxml/properties.rb
%%RUBY_SITELIBDIR%%/libxml/reader.rb
%%RUBY_SITELIBDIR%%/libxml/sax_callbacks.rb
%%RUBY_SITELIBDIR%%/libxml/sax_parser.rb
%%RUBY_SITELIBDIR%%/libxml/tree.rb
%%RUBY_SITELIBDIR%%/libxml/xpath_object.rb
@dirrm %%RUBY_SITEARCHLIBDIR%%/xml
@dirrm %%RUBY_SITELIBDIR%%/xml
@dirrm %%RUBY_SITELIBDIR%%/libxml