1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/www/html2wml/Makefile
2001-05-19 19:19:14 +00:00

52 lines
1.5 KiB
Makefile

# 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.2
CATEGORIES= www
MASTER_SITES= http://maddingue.free.fr/techie/download/Html2Wml/
MAINTAINER= greid@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
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/html2wml/t/samples
.for D in ARTISTIC COPYING INSTALL NEWS NOTES README TODO ChangeLog
${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
.for D in inc_para.wml inc_prev.wml include.html links.html mix1.html \
mix2.html struct.html xtreme.html
${INSTALL_DATA} ${WRKSRC}/t/samples/$D \
${PREFIX}/share/doc/html2wml/t/samples
.endfor
.endif
.include <bsd.port.mk>