svn commit: r346626 - head/textproc/p5-HTML-Tidy

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Mar 1 14:11:01 UTC 2014


Author: sunpoet
Date: Sat Mar  1 14:11:01 2014
New Revision: 346626
URL: http://svnweb.freebsd.org/changeset/ports/346626
QAT: https://qat.redports.org/buildarchive/r346626/

Log:
  - Add LICENSE
  - Remove outdated PERL_LEVEL check
  - Simplify Makefile

Modified:
  head/textproc/p5-HTML-Tidy/Makefile

Modified: head/textproc/p5-HTML-Tidy/Makefile
==============================================================================
--- head/textproc/p5-HTML-Tidy/Makefile	Sat Mar  1 14:10:13 2014	(r346625)
+++ head/textproc/p5-HTML-Tidy/Makefile	Sat Mar  1 14:11:01 2014	(r346626)
@@ -10,6 +10,8 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl at 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>


More information about the svn-ports-head mailing list