diff options
Diffstat (limited to 'www/ruby-htmlsplit')
-rw-r--r-- | www/ruby-htmlsplit/Makefile | 31 | ||||
-rw-r--r-- | www/ruby-htmlsplit/distinfo | 5 | ||||
-rw-r--r-- | www/ruby-htmlsplit/patches/patch-aa | 10 | ||||
-rw-r--r-- | www/ruby-htmlsplit/pkg/DESCR | 4 | ||||
-rw-r--r-- | www/ruby-htmlsplit/pkg/PLIST | 7 |
5 files changed, 57 insertions, 0 deletions
diff --git a/www/ruby-htmlsplit/Makefile b/www/ruby-htmlsplit/Makefile new file mode 100644 index 00000000000..508af04b496 --- /dev/null +++ b/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" diff --git a/www/ruby-htmlsplit/distinfo b/www/ruby-htmlsplit/distinfo new file mode 100644 index 00000000000..b3668b66ccf --- /dev/null +++ b/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 diff --git a/www/ruby-htmlsplit/patches/patch-aa b/www/ruby-htmlsplit/patches/patch-aa new file mode 100644 index 00000000000..498d26a63d0 --- /dev/null +++ b/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>
diff --git a/www/ruby-htmlsplit/pkg/DESCR b/www/ruby-htmlsplit/pkg/DESCR new file mode 100644 index 00000000000..332795a9f33 --- /dev/null +++ b/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. diff --git a/www/ruby-htmlsplit/pkg/PLIST b/www/ruby-htmlsplit/pkg/PLIST new file mode 100644 index 00000000000..c7c91b87775 --- /dev/null +++ b/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 |