diff options
author | okazaki <okazaki@FreeBSD.org> | 2001-03-21 03:32:59 +0000 |
---|---|---|
committer | okazaki <okazaki@FreeBSD.org> | 2001-03-21 03:32:59 +0000 |
commit | 0735d573efb9e4af0c84fffb636a2d5f80496af8 (patch) | |
tree | f7cabcf3b405cce3410de89e0a271b8d6bc5f626 /www/html2wml | |
parent | a52a090466ce8ce3235d6d56afb61696563822e3 (diff) | |
download | FreeBSD-ports-0735d573efb9e4af0c84fffb636a2d5f80496af8.zip FreeBSD-ports-0735d573efb9e4af0c84fffb636a2d5f80496af8.tar.gz |
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>
Diffstat (limited to 'www/html2wml')
-rw-r--r-- | www/html2wml/Makefile | 33 | ||||
-rw-r--r-- | www/html2wml/distinfo | 1 | ||||
-rw-r--r-- | www/html2wml/files/patch-aa | 41 | ||||
-rw-r--r-- | www/html2wml/pkg-comment | 1 | ||||
-rw-r--r-- | www/html2wml/pkg-descr | 9 | ||||
-rw-r--r-- | www/html2wml/pkg-plist | 23 |
6 files changed, 108 insertions, 0 deletions
diff --git a/www/html2wml/Makefile b/www/html2wml/Makefile new file mode 100644 index 0000000..5b0b706 --- /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 0000000..b01b0f8 --- /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 0000000..1e148c3 --- /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 0000000..7d11599 --- /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 0000000..e268a09 --- /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 0000000..b936f4e --- /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 |