svn commit: r346620 - head/devel/p5-Devel-Cover

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Mar 1 13:54:50 UTC 2014


Author: sunpoet
Date: Sat Mar  1 13:54:50 2014
New Revision: 346620
URL: http://svnweb.freebsd.org/changeset/ports/346620
QAT: https://qat.redports.org/buildarchive/r346620/

Log:
  - Remove outdated PERL_LEVEL check
  - Simplify Makefile

Modified:
  head/devel/p5-Devel-Cover/Makefile

Modified: head/devel/p5-Devel-Cover/Makefile
==============================================================================
--- head/devel/p5-Devel-Cover/Makefile	Sat Mar  1 13:35:36 2014	(r346619)
+++ head/devel/p5-Devel-Cover/Makefile	Sat Mar  1 13:54:50 2014	(r346620)
@@ -28,21 +28,8 @@ PORTDOCS=	README
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
-.endif
-
-.include <bsd.port.pre.mk>
-
-# Regarding JSON format, Devel::Cover will try JSON and JSON:PP.
-# Thus, users of Perl 5.14 and above use JSON:PP (core module).
-.if ${PERL_LEVEL} < 501400
-BUILD_DEPENDS+=	p5-JSON>=0:${PORTSDIR}/converters/p5-JSON
-RUN_DEPENDS+=	p5-JSON>=0:${PORTSDIR}/converters/p5-JSON
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list