aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-03-01 22:11:01 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-03-01 22:11:01 +0800
commit5c7314780764f57558298481aa570054dfe2ddca (patch)
tree9f10ea9c487c8b6e9fa16f77fd650704fd78f7ee /textproc
parente58ae7749b3177097197d69788cd5a40f0bfbf93 (diff)
downloadfreebsd-ports-gnome-5c7314780764f57558298481aa570054dfe2ddca.tar.gz
freebsd-ports-gnome-5c7314780764f57558298481aa570054dfe2ddca.tar.zst
freebsd-ports-gnome-5c7314780764f57558298481aa570054dfe2ddca.zip
- Add LICENSE
- Remove outdated PERL_LEVEL check - Simplify Makefile
Diffstat (limited to 'textproc')
-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>