From owner-svn-ports-all@freebsd.org Mon Jun 5 23:25:17 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF23EB7C6F5; Mon, 5 Jun 2017 23:25:17 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B0E0717B7; Mon, 5 Jun 2017 23:25:17 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v55NPGfU063804; Mon, 5 Jun 2017 23:25:16 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v55NPG8j063803; Mon, 5 Jun 2017 23:25:16 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201706052325.v55NPG8j063803@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 5 Jun 2017 23:25:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442709 - head/japanese/another-htmllint X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2017 23:25:17 -0000 Author: sunpoet Date: Mon Jun 5 23:25:16 2017 New Revision: 442709 URL: https://svnweb.freebsd.org/changeset/ports/442709 Log: Remove outdated PERL_LEVEL check - While I'm here, convert to options target helper With hat: perl Approved by: portmgr (blanket) Modified: head/japanese/another-htmllint/Makefile Modified: head/japanese/another-htmllint/Makefile ============================================================================== --- head/japanese/another-htmllint/Makefile Mon Jun 5 23:25:11 2017 (r442708) +++ head/japanese/another-htmllint/Makefile Mon Jun 5 23:25:16 2017 (r442709) @@ -9,7 +9,8 @@ DISTNAME= htmllint MAINTAINER= kuriyama@FreeBSD.org COMMENT= Another HTML-lint (all messages are written in Japanese) -RUN_DEPENDS= p5-libwww>=0:www/p5-libwww \ +RUN_DEPENDS= p5-CGI.pm>=0:www/p5-CGI.pm \ + p5-libwww>=0:www/p5-libwww \ ja-p5-Jcode>=0:japanese/p5-Jcode USES= dos2unix perl5 shebangfix zip @@ -32,20 +33,14 @@ SEDSUB= ${SED} -i.bak -e 's@%%PREFIX%%@${PREFIX}@ ; s # Please set this! HTMLLINT_ADMIN?= kuriyama@FreeBSD.org -.include - -.if ${PERL_LEVEL} >= 502200 -RUN_DEPENDS+= p5-CGI.pm>=0:www/p5-CGI.pm -.endif - do-build: @${SEDSUB} ${WRKSRC}/htmllintenv @${MV} ${WRKSRC}/htmllintenv ${WRKSRC}/htmllint.env @${SEDSUB} ${WRKSRC}/htmllint.cgi @${SED} -i.bak -e 's|^|
Maintained by
${HTMLLINT_ADMIN}
|' ${WRKSRC}/*.html -.if ${PORT_OPTIONS:MW3M} + +do-build-W3M-on: @${SED} -i.bak -e 's|^#$$W3M|$$W3M|' ${WRKSRC}/htmllint.env -.endif do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/rule ${STAGEDIR}${DATADIR}/html @@ -54,4 +49,4 @@ do-install: cd ${WRKSRC} && ${INSTALL_DATA} ${PM} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${INSTALL_DATA} ${RULE} ${STAGEDIR}${DATADIR}/rule -.include +.include