Date: Wed, 22 Jul 2015 03:39:43 +0000 (UTC) From: Jun Kuriyama <kuriyama@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392659 - head/japanese/another-htmllint Message-ID: <201507220339.t6M3dhZP013983@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507220339.t6M3dhZP013983>