eb35e662d1
- Remove outdated PERL_LEVEL check - Simplify Makefile
34 lines
753 B
Makefile
34 lines
753 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
|
|
|
|
LICENSE= ART20
|
|
|
|
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
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
|
|
.include <bsd.port.mk>
|