1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/wml/Makefile

81 lines
2.8 KiB
Makefile

# Created by: Ralf S. Engelschall <rse@engelschall.com>
# $FreeBSD$
PORTNAME= wml
PORTVERSION= 2.0.12
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= www lang
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR=thewml
MAINTAINER= rodrigo@bebik.net
COMMENT= Website META Language, webdesign toolkit for HTML generation
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
RUN_DEPENDS= \
p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
p5-Bit-Vector>=5.2:${PORTSDIR}/math/p5-Bit-Vector \
p5-File-PathConvert>0:${PORTSDIR}/devel/p5-File-PathConvert \
p5-Image-Size>=2.6:${PORTSDIR}/graphics/p5-Image-Size \
p5-Term-ReadKey>=2.11:${PORTSDIR}/devel/p5-Term-ReadKey \
p5-HTML-Clean>0:${PORTSDIR}/www/p5-HTML-Clean \
p5-GD>0:${PORTSDIR}/graphics/p5-GD
BUILD_DEPENDS= lynx:${PORTSDIR}/www/lynx \
${RUN_DEPENDS}
GNU_CONFIGURE= yes
USE_GMAKE= yes
USES= gettext perl5
USE_PERL5= run build patch
CONFIGURE_ARGS= --with-perl=${PERL5} --with-catdir=man \
--prefix=${PREFIX}
MAN1= wmd.1 wmd_missing.1 wmk.1 wml.1 wmb.1 wmu.1 \
wml_aux_freetable.1 wml_aux_htmlclean.1 wml_aux_htmlinfo.1 wml_aux_iselect.1 \
wml_aux_map2html.1 wml_aux_weblint.1 wml_p1_ipp.1 \
wml_p2_mp4h.1 wml_p3_eperl.1 wml_p5_divert.1 wml_p6_asubst.1 \
wml_p7_htmlfix.1 wml_p8_htmlstrip.1 wml_p9_slice.1 \
wml_aux_txt2html.1 wml_aux_tidy.1 wml_p4_gm4.1 \
wml_aux_linklint.1
MAN3= wml::all.3 wml::des::all.3 wml::des::gfont.3 \
wml::des::lowsrc.3 wml::des::imgdot.3 wml::des::imgbg.3 \
wml::des::navbar.3 wml::des::preload.3 wml::des::rollover.3 \
wml::des::space.3 wml::des::typography.3 wml::fmt::all.3 \
wml::fmt::isolatin.3 wml::fmt::pod.3 wml::fmt::sdf.3 \
wml::fmt::text.3 wml::fmt::url.3 wml::fmt::verbatim.3 \
wml::fmt::xtable.3 wml::imp::all.3 wml::imp::csmap.3 \
wml::imp::fsview.3 wml::imp::generic.3 wml::std::all.3 \
wml::std::box.3 wml::std::case.3 wml::std::grid.3 \
wml::std::label.3 wml::std::href.3 wml::std::lang.3 \
wml::std::logo.3 wml::std::info.3 wml::std::page.3 \
wml::std::tags.3 wml::std::toc.3 wml::sup::all.3 \
wml::sup::hextriple.3 wml::mod::MakeMaker.3 wml::mod::all.3 \
wml::mod::version.3 wml::sup::path.3 wml::sys::all.3 \
wml::sys::bootp3.3 wml::sys::bootp4.3 wml::sys::compat1.3
MAN7= wml_barebone.7 \
wml_std_css1.7 wml_std_css2.7 wml_std_csspos.7 \
wml_std_html20.7 wml_std_html32.7 wml_std_html40.7 \
wml_std_html401.7 wml_std_wai10.7 wml_std_xhtml10.7 \
wml_intro.7 wml_macros.7 wml_tutorial.7 wml_faq.7 wml_tags.7
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
@${PERL5} -pi -e 's!^(\s+have_\S+)=\S+!\1=1!' \
${WRKSRC}/wml_common/Makefile.in
do-configure:
@[ -f ${CONFIGURE_COOKIE}] || (cd ${WRKSRC} && ./configure ${CONFIGURE_ARGS})
post-build:
@${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
test:
@cd ${WRKSRC} && ${GMAKE} test
.include <bsd.port.post.mk>