mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
a33191366c
Please note that lots of invocation of MAKE_CMD here are wrong as they do not properly respect MAKE_ENV and friends With hat: portmgr
49 lines
1.3 KiB
Makefile
49 lines
1.3 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@FreeBSD.org
|
|
COMMENT= Website META Language, webdesign toolkit for HTML generation
|
|
|
|
LIB_DEPENDS= libpng15.so:${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
|
|
USES= gettext perl5 gmake
|
|
USE_PERL5= run build patch
|
|
CONFIGURE_ARGS= --with-perl=${PERL5} --with-catdir=man \
|
|
--prefix=${PREFIX}
|
|
|
|
.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} && ${MAKE_CMD} test
|
|
|
|
.include <bsd.port.post.mk>
|