diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-06-06 07:25:16 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-06-06 07:25:16 +0800 |
commit | 7b8a2cd5dd447724738b04c26748810f210b90d1 (patch) | |
tree | c04eb68971f8cef42f2d129f738c2b4d25db4099 /japanese | |
parent | 2c54f3aac43e2dbe3d4ba6f6d4bea977a53c21de (diff) | |
download | freebsd-ports-gnome-7b8a2cd5dd447724738b04c26748810f210b90d1.tar.gz freebsd-ports-gnome-7b8a2cd5dd447724738b04c26748810f210b90d1.tar.zst freebsd-ports-gnome-7b8a2cd5dd447724738b04c26748810f210b90d1.zip |
Remove outdated PERL_LEVEL check
- While I'm here, convert to options target helper
With hat: perl
Approved by: portmgr (blanket)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/another-htmllint/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/japanese/another-htmllint/Makefile b/japanese/another-htmllint/Makefile index 712686c60543..b09ec811a9e7 100644 --- a/japanese/another-htmllint/Makefile +++ b/japanese/another-htmllint/Makefile @@ -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@%%DATADIR%%@${DATADIR}@' # Please set this! HTMLLINT_ADMIN?= kuriyama@FreeBSD.org -.include <bsd.port.pre.mk> - -.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|^</address>|</address><br>Maintained by <address>${HTMLLINT_ADMIN}</address>|' ${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 <bsd.port.post.mk> +.include <bsd.port.mk> |