summaryrefslogtreecommitdiff
path: root/textproc/ruby-htmltools
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ruby-htmltools')
-rw-r--r--textproc/ruby-htmltools/Makefile46
-rw-r--r--textproc/ruby-htmltools/distinfo2
-rw-r--r--textproc/ruby-htmltools/files/patch-install.rb45
-rw-r--r--textproc/ruby-htmltools/pkg-descr6
-rw-r--r--textproc/ruby-htmltools/pkg-plist9
5 files changed, 0 insertions, 108 deletions
diff --git a/textproc/ruby-htmltools/Makefile b/textproc/ruby-htmltools/Makefile
deleted file mode 100644
index 0037cfe47d2d..000000000000
--- a/textproc/ruby-htmltools/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# New ports collection makefile for: ruby-htmltools
-# Date created: 2005-03-31
-# Whom: Alexander Novitsky <alecn2002@yandex.ru>
-#
-# $FreeBSD$
-#
-
-PORTNAME= htmltools
-PORTVERSION= 1.10
-CATEGORIES= textproc ruby
-MASTER_SITES= RF
-MASTER_SITE_SUBDIR= ruby-${PORTNAME}
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
-DIST_SUBDIR= ruby
-
-MAINTAINER= ruby@FreeBSD.org
-COMMENT= Tools for parsing and manipulating HTML text in Ruby
-
-DEPRECATED= Doesn't work with Ruby 1.9
-EXPIRATION_DATE= 2011-08-03
-
-USE_DOS2UNIX= tc_stacking-parser.rb
-USE_RUBY= yes
-USE_RUBY_SETUP= yes
-RUBY_SETUP= install.rb
-CONFIGURE_ARGS= --prefix=${PREFIX}
-RUBY_INSTALL_ARGS= --prefix=${PREFIX}
-NOHARM_ARGS= --no-harm
-WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
-
-install-noharm:
- @${ECHO_MSG} "===> Running ${RUBY_SETUP} to NOHARM-install (Just output, do nothing)"
- cd ${WRKSRC}; \
- ${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install ${NOHARM_ARGS} ${RUBY_INSTALL_ARGS}
-
-do-install:
- @${ECHO_MSG} "===> Running ${RUBY_SETUP} to install"
- @cd ${INSTALL_WRKSRC}; \
- ${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install ${RUBY_INSTALL_ARGS}
-
-.include <bsd.port.pre.mk>
-.if ${RUBY_VER} == 1.9
-BROKEN= does not build with ruby 1.9
-.endif
-.include <bsd.port.post.mk>
diff --git a/textproc/ruby-htmltools/distinfo b/textproc/ruby-htmltools/distinfo
deleted file mode 100644
index e602c896898a..000000000000
--- a/textproc/ruby-htmltools/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ruby/ruby-htmltools-1.10.tar.gz) = 6e7979cf586bcd7d68abd7fe4f937f08955197ef2c02b1c0c50b935d61562607
-SIZE (ruby/ruby-htmltools-1.10.tar.gz) = 28034
diff --git a/textproc/ruby-htmltools/files/patch-install.rb b/textproc/ruby-htmltools/files/patch-install.rb
deleted file mode 100644
index 7b8c3df0a33a..000000000000
--- a/textproc/ruby-htmltools/files/patch-install.rb
+++ /dev/null
@@ -1,45 +0,0 @@
---- install.rb.orig Sun Apr 10 15:32:16 2005
-+++ install.rb Sun Apr 10 15:32:26 2005
-@@ -10,6 +10,8 @@
- # the GNU Lesser General Public License version 2.
- #
-
-+
-+
- ### begin compat.rb
-
- unless Enumerable.instance_methods(true).include? 'inject' then
-@@ -32,6 +34,13 @@
- end
-
- ### end compat.rb
-+
-+class String
-+ def begin_with?( substr )
-+ index( substr ) == 0
-+ end
-+end
-+
- ### begin config.rb
-
- if i = ARGV.index(/\A--rbconfig=/) then
-@@ -308,7 +317,7 @@
- module FileOperations
-
- def mkdir_p( dname, prefix = nil )
-- dname = prefix + dname if prefix
-+ dname = File.join( prefix, dname ) if ( prefix and not dname.begin_with?( prefix ) )
- $stderr.puts "mkdir -p #{dname}" if verbose?
- return if no_harm?
-
-@@ -371,7 +380,9 @@
- $stderr.puts "install #{from} #{dest}" if verbose?
- return if no_harm?
-
-- realdest = prefix + dest if prefix
-+ realdest = ( prefix and not dest.begin_with?( prefix ) ) ?
-+ prefix + dest :
-+ dest
- if dir? realdest then
- realdest += '/' + File.basename(from)
- end
diff --git a/textproc/ruby-htmltools/pkg-descr b/textproc/ruby-htmltools/pkg-descr
deleted file mode 100644
index b74ccf770585..000000000000
--- a/textproc/ruby-htmltools/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Ruby-htmltools tools for parsing and manipulating HTML text in Ruby.
-It can be used for programmatically access outside HTML-pages.
-I hope to extend it to become a web-publishing framework in the future.
-
-Author: Johannes Brodwall <johannes@brodwall.com>
-WWW: http://rubyforge.org/projects/ruby-htmltools/
diff --git a/textproc/ruby-htmltools/pkg-plist b/textproc/ruby-htmltools/pkg-plist
deleted file mode 100644
index f82a12580396..000000000000
--- a/textproc/ruby-htmltools/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-%%RUBY_SITELIBDIR%%/html/element.rb
-%%RUBY_SITELIBDIR%%/html/rexml-nodepath.rb
-%%RUBY_SITELIBDIR%%/html/sgml-parser.rb
-%%RUBY_SITELIBDIR%%/html/stparser.rb
-%%RUBY_SITELIBDIR%%/html/tags.rb
-%%RUBY_SITELIBDIR%%/html/tree.rb
-%%RUBY_SITELIBDIR%%/html/xmltree.rb
-%%RUBY_SITELIBDIR%%/html/xpath.rb
-@dirrm %%RUBY_SITELIBDIR%%/html