aboutsummaryrefslogtreecommitdiff
path: root/www/html2wml
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2001-03-21 03:32:59 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2001-03-21 03:32:59 +0000
commit0f569157160a24f1879399f2664fbc729d2b0ad7 (patch)
tree97e41c5ac8402baa0d509477ebed562bce5286e9 /www/html2wml
parent40c1bdbfe46cd7db1b2a95629eb40f7852711984 (diff)
downloadports-0f569157160a24f1879399f2664fbc729d2b0ad7.tar.gz
ports-0f569157160a24f1879399f2664fbc729d2b0ad7.zip
Add html2wml 0.4.0, a Perl program that converts HTML pages to WML decks.
PR: 24333 Submitted by: George Reid <greid@dogma.freebsd-uk.eu.org>
Notes
Notes: svn path=/head/; revision=40140
Diffstat (limited to 'www/html2wml')
-rw-r--r--www/html2wml/Makefile33
-rw-r--r--www/html2wml/distinfo1
-rw-r--r--www/html2wml/files/patch-aa41
-rw-r--r--www/html2wml/pkg-comment1
-rw-r--r--www/html2wml/pkg-descr9
-rw-r--r--www/html2wml/pkg-plist23
6 files changed, 108 insertions, 0 deletions
diff --git a/www/html2wml/Makefile b/www/html2wml/Makefile
new file mode 100644
index 000000000000..5b0b706d9e6b
--- /dev/null
+++ b/www/html2wml/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: html2wml
+# Date created: 15 January 2001
+# Whom: George Reid <greid@ukug.uk.freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= html2wml
+PORTVERSION= 0.4.0
+CATEGORIES= www
+MASTER_SITES= http://maddingue.free.fr/techie/download/Html2Wml/
+
+MAINTAINER= greid@ukug.uk.freebsd.org
+
+RUN_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \
+ ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+
+USE_PERL5= yes
+SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+
+MAN1= html2wml.1
+
+do-build:
+ cd ${BUILD_WRKSRC}/doc; \
+ ${LN} -sf readme.pod html2wml.pod; \
+ pod2man --center="Html2Wml Documentation" \
+ --release=0.4.0 html2wml.pod > html2wml.man
+
+checkconfig:
+ @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} default
+
+.include <bsd.port.mk>
diff --git a/www/html2wml/distinfo b/www/html2wml/distinfo
new file mode 100644
index 000000000000..b01b0f89f4d7
--- /dev/null
+++ b/www/html2wml/distinfo
@@ -0,0 +1 @@
+MD5 (html2wml-0.4.0.tar.gz) = 658d990cbb9aff1d1c3b7356ef920ff0
diff --git a/www/html2wml/files/patch-aa b/www/html2wml/files/patch-aa
new file mode 100644
index 000000000000..1e148c31329e
--- /dev/null
+++ b/www/html2wml/files/patch-aa
@@ -0,0 +1,41 @@
+--- Makefile.orig Fri Mar 9 09:28:18 2001
++++ Makefile Wed Mar 21 06:53:35 2001
+@@ -1,7 +1,7 @@
+ # =========================================================================== #
+ # Configuration
+
+-PREFIX=/usr/local
++PREFIX?=/usr/local
+ CGIDIR=/home/httpd/cgi-bin
+
+ # =========================================================================== #
+@@ -13,7 +13,7 @@
+ # Standard subdirectories locations
+ BINDIR=$(PREFIX)/bin
+ MANDIR=$(PREFIX)/man
+-DOCDIR=$(PREFIX)/doc/html2wml-$(VERSION)
++DOCDIR=$(PREFIX)/share/doc/html2wml
+
+ MAN1DIR=$(MANDIR)/man1
+
+@@ -31,14 +31,14 @@
+
+ # Installaton targets
+ install: check-config directories
+- install -m 555 html2wml.cgi $(BINDIR)/html2wml
+- install -m 444 doc/html2wml.man $(MAN1DIR)/html2wml.1
+- install -m 444 ARTISTIC COPYING INSTALL NEWS NOTES README TODO ChangeLog $(DOCDIR)
+- make -C t/ install DOCDIR=$(DOCDIR)
+- make -C doc/ install DOCDIR=$(DOCDIR)
++ ${BSD_INSTALL_SCRIPT} html2wml.cgi $(BINDIR)/html2wml
++ ${BSD_INSTALL_MAN} doc/html2wml.man $(MAN1DIR)/html2wml.1
++ ${BSD_INSTALL_DATA} ARTISTIC COPYING INSTALL NEWS NOTES README TODO ChangeLog $(DOCDIR)
++ cd t; ${MAKE} install DOCDIR=$(DOCDIR)
++ cd doc; ${MAKE} install DOCDIR=$(DOCDIR)
+
+ installcgi: check-config
+- install -m 555 html2wml.cgi $(CGIDIR)
++ ${BSD_INSTALL_SCRIPT} html2wml.cgi $(CGIDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/html2wml
diff --git a/www/html2wml/pkg-comment b/www/html2wml/pkg-comment
new file mode 100644
index 000000000000..7d115992c7c8
--- /dev/null
+++ b/www/html2wml/pkg-comment
@@ -0,0 +1 @@
+A CGI that can do on-the-fly HTML to WML conversion
diff --git a/www/html2wml/pkg-descr b/www/html2wml/pkg-descr
new file mode 100644
index 000000000000..e268a09b98c2
--- /dev/null
+++ b/www/html2wml/pkg-descr
@@ -0,0 +1,9 @@
+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.
+
+WWW: http://maddingue.free.fr/techie/html2wml.html
+
+- George Reid
+greid@ukug.uk.freebsd.org
diff --git a/www/html2wml/pkg-plist b/www/html2wml/pkg-plist
new file mode 100644
index 000000000000..b936f4e85b9b
--- /dev/null
+++ b/www/html2wml/pkg-plist
@@ -0,0 +1,23 @@
+bin/html2wml
+share/doc/html2wml/ARTISTIC
+share/doc/html2wml/ChangeLog
+share/doc/html2wml/COPYING
+share/doc/html2wml/INSTALL
+share/doc/html2wml/NEWS
+share/doc/html2wml/NOTES
+share/doc/html2wml/README
+share/doc/html2wml/TODO
+share/doc/html2wml/readme.html
+share/doc/html2wml/readme.pdf
+share/doc/html2wml/readme.pod
+share/doc/html2wml/t/form.html
+share/doc/html2wml/t/samples/inc_para.wml
+share/doc/html2wml/t/samples/inc_prev.wml
+share/doc/html2wml/t/samples/include.html
+share/doc/html2wml/t/samples/links.html
+share/doc/html2wml/t/samples/mix1.html
+share/doc/html2wml/t/samples/mix2.html
+share/doc/html2wml/t/samples/struct.html
+@dirrm share/doc/html2wml/t/samples
+@dirrm share/doc/html2wml/t
+@dirrm share/doc/html2wml