freebsd-ports/www/rubygem-rubyfulsoup/Makefile
Dirk Meyer 1fd2da0000 Rubyful Soup is a Ruby port of the hit Python HTML/XML parser Beautiful Soup.
It's designed to be a useful quick-and-dirty parser for screen-scraping,
along the same lines as its parent:

1. Rubyful Soup won't choke if you give it bad markup. It yields a parse tree
that makes approximately as much sense as your original document.
This is usually good enough to collect the data you need and then run away.

2. Rubyful Soup provides a few simple methods and Ruby-like idioms for
navigating and searching a parse tree: a toolkit for dissecting a document
and extracting what you need. You don't have to create a custom parser for
each application. It's more flexible and easier to learn than XPath.

WWW: http://www.crummy.com/software/BeautifulSoup/
2007-02-18 12:45:26 +00:00

24 lines
661 B
Makefile

# Ports collection makefile for: rubyfulsoup
# Date created: 16 feb 2007
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
PORTNAME= rubyfulsoup
PORTVERSION= 1.0.4
CATEGORIES= www textproc rubygems
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= rubyfulsoup
DISTNAME= rubyful_soup-${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Ruby port of the HTML/XML parser Beautiful Soup
BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/htmltools-1.10.gemspec:${PORTSDIR}/textproc/rubygem-htmltools
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_RUBY= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
.include <bsd.port.post.mk>