Initial import of html2wml-0.4.0

By Shell Hung <i@shellhung.org>, lots of fixes by me

--
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.
This commit is contained in:
avsm 2001-03-30 22:36:12 +00:00
parent a6f9f8ab1d
commit 0e3401f700
5 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,43 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/03/30 22:36:12 avsm Exp $
COMMENT= "on-the-fly HTML to WML conversion"
DISTNAME= html2wml-0.4.0
CATEGORIES= converters www perl5
NEED_VERSION= 1.378
MASTER_SITES= http://maddingue.free.fr/techie/download/Html2Wml/
HOMEPAGE= http://maddingue.free.fr/techie/html2wml.html
MAINTAINER= Shell Hung <i@shellhung.org>
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl
BUILD_DEPENDS= ${PERL_MODULES}/LWP/UserAgent.pm::www/p5-libwww \
${PERL_MODULES}/${ARCH}-openbsd/HTML/Parser.pm::www/p5-HTML-Parser \
${PERL_MODULES}/${ARCH}-openbsd/XML/Parser.pm::textproc/p5-XML-Parser \
${PERL_MODULES}/URI/URL.pm::www/p5-URI \
${PERL_MODULES}/Text/Template.pm::textproc/p5-Text-Template
RUN_DEPENDS= ${BUILD_DEPENDS}
NO_BUILD= Yes
NO_CONFIGURE= Yes
DOC= NEWS NOTES README TODO
DOCDIR= ${PREFIX}/share/doc/html2wml
do-install:
${INSTALL_DATA_DIR} ${DOCDIR} ${DOCDIR}/t ${DOCDIR}/t/samples
${INSTALL_MAN} ${WRKSRC}/doc/html2wml.man ${PREFIX}/man/man1/html2wml.1
.for i in ${DOC}
${INSTALL_DATA} ${WRKSRC}/$i ${DOCDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/t/*.html ${DOCDIR}/t
${INSTALL_DATA} ${WRKSRC}/t/samples/*.* ${DOCDIR}/t/samples
${INSTALL_SCRIPT} ${WRKSRC}/html2wml.cgi ${PREFIX}/bin/html2wml
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (html2wml-0.4.0.tar.gz) = 658d990cbb9aff1d1c3b7356ef920ff0
RMD160 (html2wml-0.4.0.tar.gz) = 1b5ea3a97b3ea921d6c1cff0ce2699bb91065e55
SHA1 (html2wml-0.4.0.tar.gz) = e5bb1712d4af58ba27d6e247202bd96c81773aff

View File

@ -0,0 +1,6 @@
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: ${HOMEPAGE}

View File

@ -0,0 +1,4 @@
+--------------------
| If you want to activate html2wml as a CGI, then copy
| ${PREFIX}/bin/html2wml into your cgi-bin directory.
+--------------------

View File

@ -0,0 +1,18 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/30 22:36:12 avsm Exp $
bin/html2wml
man/man1/html2wml.1
share/doc/html2wml/NEWS
share/doc/html2wml/NOTES
share/doc/html2wml/README
share/doc/html2wml/TODO
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