summaryrefslogtreecommitdiff
path: root/textproc/html2wml
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/html2wml')
-rw-r--r--textproc/html2wml/DESCR4
-rw-r--r--textproc/html2wml/Makefile25
-rw-r--r--textproc/html2wml/PLIST3
-rw-r--r--textproc/html2wml/distinfo4
4 files changed, 36 insertions, 0 deletions
diff --git a/textproc/html2wml/DESCR b/textproc/html2wml/DESCR
new file mode 100644
index 00000000000..efa1efaed47
--- /dev/null
+++ b/textproc/html2wml/DESCR
@@ -0,0 +1,4 @@
+Html2Wml converts HTML pages to WML pages, suitable for being viewed
+on a Wap device. The conversion can be done either on the command
+line to create static WML pages or on-the-fly by calling this program
+as a CGI.
diff --git a/textproc/html2wml/Makefile b/textproc/html2wml/Makefile
new file mode 100644
index 00000000000..885b8927db0
--- /dev/null
+++ b/textproc/html2wml/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/31 08:40:17 martti Exp $
+
+DISTNAME= html2wml-0.4.8r2
+PKGNAME= html2wml-0.4.8.2
+CATEGORIES= textproc converters
+MASTER_SITES= http://maddingue.free.fr/techie/download/Html2Wml/
+
+MAINTAINER= shell@shellhung.org
+HOMEPAGE= http://maddingue.free.fr/techie/html2wml.html
+COMMENT= on-the-fly HTML to WML conversion
+
+DEPENDS+= p5-libwww>=5.53:../../www/p5-libwww
+DEPENDS+= p5-XML-Parser>=2.30:../../textproc/p5-XML-Parser
+DEPENDS+= p5-Text-Template>=1.31:../../textproc/p5-Text-Template
+DEPENDS+= p5-XML-LibXML>=1.31:../../textproc/p5-XML-LibXML
+
+NO_CONFIGURE= # defined
+NO_BUILD= # defined
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/html2wml.cgi ${PREFIX}/bin/html2wml
+ ${INSTALL_MAN} ${WRKSRC}/doc/html2wml.man ${PREFIX}/man/man1/html2wml.1
+
+.include "../../lang/perl5/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/html2wml/PLIST b/textproc/html2wml/PLIST
new file mode 100644
index 00000000000..7df4072ec2f
--- /dev/null
+++ b/textproc/html2wml/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/31 08:40:17 martti Exp $
+bin/html2wml
+man/man1/html2wml.1
diff --git a/textproc/html2wml/distinfo b/textproc/html2wml/distinfo
new file mode 100644
index 00000000000..05d3a3e46e3
--- /dev/null
+++ b/textproc/html2wml/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/01/31 08:40:17 martti Exp $
+
+SHA1 (html2wml-0.4.8r2.tar.gz) = 4e0e2a5f4a62497f3af4127d9d63d99daea1cfa7
+Size (html2wml-0.4.8r2.tar.gz) = 84959 bytes