2001-03-21 03:32:59 +00:00
|
|
|
# New ports collection makefile for: html2wml
|
|
|
|
# Date created: 15 January 2001
|
|
|
|
# Whom: George Reid <greid@ukug.uk.freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= html2wml
|
2003-11-20 16:10:20 +00:00
|
|
|
PORTVERSION= 0.4.11
|
2001-03-21 03:32:59 +00:00
|
|
|
CATEGORIES= www
|
2003-11-20 16:10:20 +00:00
|
|
|
MASTER_SITES= http://maddingue.free.fr/softwares/download/Html2Wml/
|
2001-03-21 03:32:59 +00:00
|
|
|
|
2003-11-03 00:54:32 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A CGI that can do on-the-fly HTML to WML conversion
|
2001-03-21 03:32:59 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2001-05-19 19:19:14 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/html2wml/t/samples
|
2003-11-20 16:10:20 +00:00
|
|
|
.for D in INSTALL NEWS NOTES README TODO ChangeLog
|
2001-05-19 19:19:14 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$D ${PREFIX}/share/doc/html2wml
|
|
|
|
.endfor
|
|
|
|
.for D in html pdf pod txt
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/readme.$D ${PREFIX}/share/doc/html2wml
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/t/form.html \
|
|
|
|
${PREFIX}/share/doc/html2wml/t
|
2001-06-26 17:06:34 +00:00
|
|
|
.for D in inc_para.wml inc_prev.wml mix1.html mix2.html struct.html \
|
|
|
|
t-a.html t-anchor.html t-br.html t-double-tags.html t-extcharset.html \
|
|
|
|
t-frames.html t-img.html t-include.html t-nest.html t-no-tag.html \
|
|
|
|
t-special-chars.html t-urls.html
|
2001-05-19 19:19:14 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/t/samples/$D \
|
|
|
|
${PREFIX}/share/doc/html2wml/t/samples
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2001-03-21 03:32:59 +00:00
|
|
|
.include <bsd.port.mk>
|