aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-HTML-Tidy
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-01 14:11:01 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-01 14:11:01 +0000
commiteb35e662d1866d0694e2f68702370bdc6de6db7f (patch)
tree9f10ea9c487c8b6e9fa16f77fd650704fd78f7ee /textproc/p5-HTML-Tidy
parent8376e278628c3123e4635346d5c06d15e01353e9 (diff)
downloadports-eb35e662d1866d0694e2f68702370bdc6de6db7f.tar.gz
ports-eb35e662d1866d0694e2f68702370bdc6de6db7f.zip
- Add LICENSE
- Remove outdated PERL_LEVEL check - Simplify Makefile
Notes
Notes: svn path=/head/; revision=346626
Diffstat (limited to 'textproc/p5-HTML-Tidy')
-rw-r--r--textproc/p5-HTML-Tidy/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/textproc/p5-HTML-Tidy/Makefile b/textproc/p5-HTML-Tidy/Makefile
index 910fa6a67e15..2b55e0659c18 100644
--- a/textproc/p5-HTML-Tidy/Makefile
+++ b/textproc/p5-HTML-Tidy/Makefile
@@ -10,6 +10,8 @@ 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}
@@ -21,22 +23,12 @@ 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>
+.include <bsd.port.mk>