1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/textproc/p5-HTML-Tidy/Makefile
Sunpoet Po-Chuan Hsieh 76063e5e67 - Update to 1.56
- Support STAGEDIR

Changes:	http://search.cpan.org/dist/HTML-Tidy/Changes
2013-09-23 20:15:49 +00:00

43 lines
939 B
Makefile

# Created by: mat
# $FreeBSD$
PORTNAME= HTML-Tidy
PORTVERSION= 1.56
CATEGORIES= textproc www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Web validation in a Perl object using tidy
BUILD_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww
LIB_DEPENDS= libtidyp.so:${PORTSDIR}/textproc/tidyp
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= DOCS
USES= perl5
USE_PERL5= configure
PORTDOCS= Changes README.markdown
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>