Index: head/japanese/another-htmllint/Makefile =================================================================== --- head/japanese/another-htmllint/Makefile (revision 372464) +++ head/japanese/another-htmllint/Makefile (revision 372465) @@ -1,48 +1,46 @@ # $FreeBSD$ PORTNAME= another-htmllint PORTVERSION= 20060601 +PORTREVISION= 1 CATEGORIES= japanese www MASTER_SITES= http://dist.bsdlab.org/ MAINTAINER= kuriyama@FreeBSD.org COMMENT= Another HTML-lint (all messages are written in Japanese) RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ ja-p5-Jcode>=0:${PORTSDIR}/japanese/p5-Jcode USES= dos2unix perl5 zip WRKSRC= ${WRKDIR} DOS2UNIX_FILES= readme.txt DIR= ${STAGEDIR}${PREFIX}/share/htmllint PM= htmllint.pm RFC2396.pm htmllint.env RULE= *.rul HTML= *.cgi *.html *.gif *.css -SEDSUB= ${SED} -e 's@%PREFIX%@${PREFIX}@' +SEDSUB= ${SED} -e 's@%PREFIX%@${PREFIX}@ ; s@%PERL%@${PERL}@' # Please set this! HTMLLINT_ADMIN?= kuriyama@FreeBSD.org do-build: @${SEDSUB} ${FILESDIR}/htmllint > ${WRKSRC}/htmllint @${SEDSUB} ${WRKSRC}/htmllintenv > ${WRKSRC}/htmllint.env @${SEDSUB} ${WRKSRC}/htmllint.cgi > ${WRKSRC}/htmllint.cgi.new @${MV} ${WRKSRC}/htmllint.cgi.new ${WRKSRC}/htmllint.cgi @${SED} -i.bak -e 's|^|
Maintained by
${HTMLLINT_ADMIN}
|' ${WRKSRC}/*.html .if exists(${LOCALBASE}/bin/w3m) @${ECHO_MSG} "Find w3m." @${SED} -i.bak -e 's|^#$$W3M|$$W3M|' ${WRKSRC}/htmllint.env .endif do-install: ${MKDIR} ${DIR}/rule ${DIR}/html cd ${WRKSRC} && ${INSTALL_SCRIPT} htmllint ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC} && ${INSTALL_SCRIPT} ${HTML} ${DIR}/html cd ${WRKSRC} && ${INSTALL_DATA} ${PM} ${DIR} cd ${WRKSRC} && ${INSTALL_DATA} ${RULE} ${DIR}/rule - -post-install: - @${CAT} ${PKGMESSAGE} .include Index: head/japanese/another-htmllint/files/htmllint =================================================================== --- head/japanese/another-htmllint/files/htmllint (revision 372464) +++ head/japanese/another-htmllint/files/htmllint (revision 372465) @@ -1,14 +1,14 @@ -#!/usr/bin/perl +#!%PERL% # # $Id$ # #use strict; use lib '%PREFIX%/share/htmllint'; use lib '%PREFIX%/share/htmllint/rule'; $RULEDIR = '%PREFIX%/share/htmllint/rule/'; require 'htmllint.pm'; exit(&htmllint::HTMLlint(@ARGV)); Index: head/japanese/another-htmllint/files/patch-htmllint.cgi =================================================================== --- head/japanese/another-htmllint/files/patch-htmllint.cgi (revision 372464) +++ head/japanese/another-htmllint/files/patch-htmllint.cgi (revision 372465) @@ -1,17 +1,17 @@ --- htmllint.cgi.orig Wed Aug 23 19:19:28 2000 +++ htmllint.cgi Fri Sep 29 14:41:55 2000 @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl -+#!/usr/bin/perl ++#!%PERL% # CGI script for Another HTML-lint gateway ################### @@ -26,6 +26,8 @@ #$OS2 = UNSUPPORTED; $UNIX = !($WIN || $MAC || $OS2); +use lib '%PREFIX%/share/htmllint'; +use lib '%PREFIX%/share/htmllint/rule'; require 'htmllint.env'; require $LINT_NAME; Index: head/japanese/another-htmllint/pkg-plist =================================================================== --- head/japanese/another-htmllint/pkg-plist (revision 372464) +++ head/japanese/another-htmllint/pkg-plist (revision 372465) @@ -1,84 +1,81 @@ bin/htmllint share/htmllint/htmllint.pm share/htmllint/RFC2396.pm share/htmllint/rule/15445.rul share/htmllint/rule/15445-preparation.rul share/htmllint/rule/arena.rul share/htmllint/rule/charsets.rul share/htmllint/rule/colortable.rul share/htmllint/rule/common.rul share/htmllint/rule/compact-html.rul share/htmllint/rule/doti10.rul share/htmllint/rule/html10.rul share/htmllint/rule/html20.rul share/htmllint/rule/html40-frameset.rul share/htmllint/rule/html40-mobile.rul share/htmllint/rule/html40-strict.rul share/htmllint/rule/html40-transitional.rul share/htmllint/rule/html401-frameset.rul share/htmllint/rule/html401-strict.rul share/htmllint/rule/html401-transitional.rul share/htmllint/rule/htmlplus.rul share/htmllint/rule/i18n.rul share/htmllint/rule/ie30.rul share/htmllint/rule/ie30b.rul share/htmllint/rule/ie40.rul share/htmllint/rule/ie50.rul share/htmllint/rule/ie55.rul share/htmllint/rule/imode-xhtml.rul share/htmllint/rule/imode-xhtml11.rul share/htmllint/rule/imode.rul share/htmllint/rule/imode20.rul share/htmllint/rule/imode30.rul share/htmllint/rule/imode40.rul share/htmllint/rule/imode50.rul share/htmllint/rule/jpo.rul share/htmllint/rule/jskystation.rul share/htmllint/rule/jskyweb.rul share/htmllint/rule/mozilla20.rul share/htmllint/rule/mozilla30.rul share/htmllint/rule/mozilla40.rul share/htmllint/rule/webexp.rul share/htmllint/rule/wilbur.rul share/htmllint/rule/xhtml-basic.rul share/htmllint/rule/xhtml-mp.rul share/htmllint/rule/xhtml1-frameset.rul share/htmllint/rule/xhtml1-strict.rul share/htmllint/rule/xhtml1-transitional.rul share/htmllint/rule/xhtml11.rul share/htmllint/html/htmllint.cgi share/htmllint/html/colors.html share/htmllint/html/colorsbk.html share/htmllint/html/download.html share/htmllint/html/explain-omake.html share/htmllint/html/explain-score.html share/htmllint/html/explain-wai.html share/htmllint/html/explain.html share/htmllint/html/faq.html share/htmllint/html/htmllint.html share/htmllint/html/htmllinte.html share/htmllint/html/htmllintl.html share/htmllint/html/index.html share/htmllint/html/introduction.html share/htmllint/html/mailinglist.html share/htmllint/html/notice.html share/htmllint/html/reference.html share/htmllint/html/rulefile.html share/htmllint/html/sitemap.html share/htmllint/html/tagslist.html share/htmllint/html/use-htmllint.html share/htmllint/html/use-htmllintcgi.html share/htmllint/html/close.gif share/htmllint/html/fight.gif share/htmllint/html/good.gif share/htmllint/html/normal.gif share/htmllint/html/open.gif share/htmllint/html/top.gif share/htmllint/html/verygood.gif share/htmllint/html/htmllint.css share/htmllint/html/htmllint2.css share/htmllint/html/tagslist.cgi share/htmllint/htmllint.env -@dirrm share/htmllint/rule -@dirrm share/htmllint/html -@dirrm share/htmllint