diff options
author | jlam <jlam> | 2008-04-04 15:21:39 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-04 15:21:39 +0000 |
commit | 4f641ed6d495a9ce09c1708aff17055d29ee9139 (patch) | |
tree | 750781fa37413afbd9521f245d13ff1b353c2d9d /textproc/ruby-hpricot/Makefile | |
parent | e0c03f7e4550b91fa0d68ac9aca3b8f0e661db8a (diff) | |
download | pkgsrc-4f641ed6d495a9ce09c1708aff17055d29ee9139.tar.gz |
Update ruby-hpricot to version 0.6. Changes from version 0.5.140 include:
+ Install as a Ruby gem.
* Hpricot for JRuby
* Inline Markaby for Hpricot documents.
* XML tags and attributes are no longer downcased like HTML is.
* new syntax for grabbing everything between two elements using a
Range in the s earch method: (doc/("font".."font/br")) or in nodes_at
like so: (doc/"font").nod es_at("*".."br"). Only works with either
a pair of siblings or a set of a parent and a sibling.
* Ignore self-closing endings on tags (such as form) which are
containers. Treat them like open parent tags.
* Escaping of attributes.
* Element#raw_attributes gives unescaped data. Element#attributes
gives escaped.
* Added: Elements#attr, Elements#remove_attr, Elements#remove_class.
* Added: Traverse#preceding, Traverse#following, Traverse#previous,
Traverse#next.
Diffstat (limited to 'textproc/ruby-hpricot/Makefile')
-rw-r--r-- | textproc/ruby-hpricot/Makefile | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/textproc/ruby-hpricot/Makefile b/textproc/ruby-hpricot/Makefile index 4dc44490311..c68ac03dd66 100644 --- a/textproc/ruby-hpricot/Makefile +++ b/textproc/ruby-hpricot/Makefile @@ -1,35 +1,12 @@ -# $NetBSD: Makefile,v 1.2 2007/06/09 00:58:51 minskim Exp $ +# $NetBSD: Makefile,v 1.3 2008/04/04 15:21:39 jlam Exp $ -DISTNAME= hpricot-0.5.140 +DISTNAME= hpricot-0.6 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} -PKGREVISION= 1 -CATEGORIES= textproc ruby -MASTER_SITES= http://code.whytheluckystiff.net/dist/ -EXTRACT_SUFX= .tgz +CATEGORIES= textproc MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://code.whytheluckystiff.net/hpricot/ COMMENT= Fast, enjoyable HTML parser for Ruby -BUILD_DEPENDS+= ragel-[0-9]*:../../devel/ragel -BUILD_DEPENDS+= rake>=0.7.3:../../devel/rake - -RUBY_HAS_ARCHLIB= yes - -FIND_PREFIX:= RAKE_PREFIX=rake -.include "../../mk/find-prefix.mk" - -.include "../../lang/ruby/modules.mk" - -do-build: - cd ${WRKSRC} && ${RAKE_PREFIX}/bin/rake - -do-install: - ${INSTALL_LIB} ${WRKSRC}/lib/hpricot_scan.${RUBY_DLEXT} \ - ${RUBY_SITEARCHLIBDIR} - ${INSTALL_DATA} ${WRKSRC}/lib/hpricot.rb ${RUBY_SITELIBDIR} - ${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/hpricot - ${INSTALL_DATA} ${WRKSRC}/lib/hpricot/*.rb \ - ${RUBY_SITELIBDIR}/hpricot - +.include "../../misc/rubygems/rubygem.mk" .include "../../mk/bsd.pkg.mk" |