svn commit: r392659 - head/japanese/another-htmllint

Jun Kuriyama kuriyama at FreeBSD.org
Wed Jul 22 03:39:43 UTC 2015


Author: kuriyama
Date: Wed Jul 22 03:39:42 2015
New Revision: 392659
URL: https://svnweb.freebsd.org/changeset/ports/392659

Log:
  Add www/p5-CGI.pm to RUN_DEPENDS when perl is 5.22 or later.
  
  PR:		ports/201615
  Submitted by:	Yasuhiro KIMURA <yasu at utahime.org>

Modified:
  head/japanese/another-htmllint/Makefile

Modified: head/japanese/another-htmllint/Makefile
==============================================================================
--- head/japanese/another-htmllint/Makefile	Wed Jul 22 03:14:31 2015	(r392658)
+++ head/japanese/another-htmllint/Makefile	Wed Jul 22 03:39:42 2015	(r392659)
@@ -18,6 +18,7 @@ DOS2UNIX_FILES=	readme.txt
 SHEBANG_FILES=	htmllint.cgi tagslist.cgi
 SUB_FILES=	htmllint pkg-message
 SUB_LIST+=	PERL=${PERL}
+NO_ARCH=	YES
 
 OPTIONS_DEFINE=	W3M
 W3M_DESC=	Use w3m to show rendering result
@@ -31,7 +32,11 @@ SEDSUB=		${SED} -i.bak -e 's@%%PREFIX%%@
 # Please set this!
 HTMLLINT_ADMIN?=	kuriyama at FreeBSD.org
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 502200
+RUN_DEPENDS+=	p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm
+.endif
 
 do-build:
 	@${SEDSUB} ${WRKSRC}/htmllintenv
@@ -49,4 +54,4 @@ do-install:
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PM} ${STAGEDIR}${DATADIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${RULE} ${STAGEDIR}${DATADIR}/rule
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list