Skip to content

Commit

Permalink
Importing ruby-htmlsplit, ruby-htmlsplit-1.0.2.
Browse files Browse the repository at this point in the history
Ruby HTML Split library: It parse into array of tag and string,
and result would be back to HTML by to_s method.
  • Loading branch information
taca committed Jul 1, 2001
1 parent f964bd1 commit 10f6100
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 0 deletions.
31 changes: 31 additions & 0 deletions www/ruby-htmlsplit/Makefile
@@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 14:15:55 taca Exp $

DISTNAME= htmlsplit102
PKGNAME= ${RUBY_PKGNAMEPREFIX}htmlsplit-1.0.2
CATEGORIES= www
MASTER_SITES= http://www.moonwolf.com/ruby/archive/
EXTRACT_SUFX= .zip

MAINTAINER= taca@netbsd.org
HOMEPAGE= http://www.moonwolf.com/ruby/htmlsplit.html
COMMENT= Ruby HTML split/join library

DIST_SUBDIR= ruby
WRKSRC= ${WRKDIR}
USE_RUBY= yes
USE_RUBY_RD= # defined
NO_CONFIGURE= # defined

do-build:
@cd ${WRKSRC}; ${RUBY_RD} htmlsplit.rb > htmlsplit.html

do-install:
${INSTALL_DATA} ${WRKSRC}/htmlsplit.rb ${RUBY_SITELIBDIR}
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/htmlsplit/ja
${INSTALL_DATA} ${WRKSRC}/htmlsplit.html ${RUBY_DOCDIR}/htmlsplit/ja
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/htmlsplit
${INSTALL_DATA} ${WRKSRC}/splittest.rb ${RUBY_EXAMPLESDIR}/htmlsplit

.include "../../textproc/ruby-rdtool/Makefile.common"
.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"
5 changes: 5 additions & 0 deletions www/ruby-htmlsplit/distinfo
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2001/07/01 14:15:55 taca Exp $

SHA1 (ruby/htmlsplit102.zip) = e7703e9d4e662cf42b896dace872039f18d498ac
Size (ruby/htmlsplit102.zip) = 4063 bytes
SHA1 (patch-aa) = 03275524295f1241fc28f5827c02acdc48203ae9
10 changes: 10 additions & 0 deletions www/ruby-htmlsplit/patches/patch-aa
@@ -0,0 +1,10 @@
$NetBSD: patch-aa,v 1.1.1.1 2001/07/01 14:15:55 taca Exp $

--- htmlsplit.rb.orig Tue Sep 26 22:48:30 2000
+++ htmlsplit.rb
@@ -1,4 +1,4 @@
-=begin Start of Document
+=begin
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
4 changes: 4 additions & 0 deletions www/ruby-htmlsplit/pkg/DESCR
@@ -0,0 +1,4 @@
Ruby HTML Split library

It parse into array of tag and string, and result would be back to
HTML by to_s method.
7 changes: 7 additions & 0 deletions www/ruby-htmlsplit/pkg/PLIST
@@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 14:15:55 taca Exp $
${RUBY_SITELIBDIR}/htmlsplit.rb
${RUBY_DOCDIR}/htmlsplit/ja/htmlsplit.html
@dirrm ${RUBY_DOCDIR}/htmlsplit/ja
@dirrm ${RUBY_DOCDIR}/htmlsplit
${RUBY_EXAMPLESDIR}/htmlsplit/splittest.rb
@dirrm ${RUBY_EXAMPLESDIR}/htmlsplit

0 comments on commit 10f6100

Please sign in to comment.