From owner-svn-ports-all@FreeBSD.ORG Mon Dec 29 03:51:30 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 71E512AE; Mon, 29 Dec 2014 03:51:30 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 5C6A0616; Mon, 29 Dec 2014 03:51:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBT3pUkC070214; Mon, 29 Dec 2014 03:51:30 GMT (envelope-from kuriyama@FreeBSD.org) Received: (from kuriyama@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBT3pSPm068937; Mon, 29 Dec 2014 03:51:28 GMT (envelope-from kuriyama@FreeBSD.org) Message-Id: <201412290351.sBT3pSPm068937@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: kuriyama set sender to kuriyama@FreeBSD.org using -f From: Jun Kuriyama Date: Mon, 29 Dec 2014 03:51:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375771 - in head/japanese/another-htmllint: . files 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.18-1 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, 29 Dec 2014 03:51:30 -0000 Author: kuriyama Date: Mon Dec 29 03:51:27 2014 New Revision: 375771 URL: https://svnweb.freebsd.org/changeset/ports/375771 QAT: https://qat.redports.org/buildarchive/r375771/ Log: - Updated to latest version (20111128) and other improvements. PR: ports/195766 Submitted by: Yasuhiro KIMURA Added: head/japanese/another-htmllint/files/htmllint.in - copied, changed from r375692, head/japanese/another-htmllint/files/htmllint head/japanese/another-htmllint/files/pkg-message.in - copied, changed from r375692, head/japanese/another-htmllint/pkg-message Deleted: head/japanese/another-htmllint/files/htmllint head/japanese/another-htmllint/pkg-message Modified: head/japanese/another-htmllint/Makefile head/japanese/another-htmllint/distinfo head/japanese/another-htmllint/files/patch-htmllint.cgi head/japanese/another-htmllint/files/patch-htmllintenv (contents, props changed) head/japanese/another-htmllint/pkg-plist Modified: head/japanese/another-htmllint/Makefile ============================================================================== --- head/japanese/another-htmllint/Makefile Mon Dec 29 03:44:07 2014 (r375770) +++ head/japanese/another-htmllint/Makefile Mon Dec 29 03:51:27 2014 (r375771) @@ -1,10 +1,10 @@ # $FreeBSD$ PORTNAME= another-htmllint -PORTVERSION= 20060601 -PORTREVISION= 1 +PORTVERSION= 20111128 CATEGORIES= japanese www -MASTER_SITES= http://dist.bsdlab.org/ +MASTER_SITES= http://openlab.ring.gr.jp/k16/htmllint/archives/ +DISTNAME= htmllint MAINTAINER= kuriyama@FreeBSD.org COMMENT= Another HTML-lint (all messages are written in Japanese) @@ -12,35 +12,41 @@ COMMENT= Another HTML-lint (all messages RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ ja-p5-Jcode>=0:${PORTSDIR}/japanese/p5-Jcode -USES= dos2unix perl5 zip +USES= dos2unix perl5 shebangfix zip WRKSRC= ${WRKDIR} DOS2UNIX_FILES= readme.txt +SHEBANG_FILES= htmllint.cgi tagslist.cgi +SUB_FILES= htmllint pkg-message +SUB_LIST+= PERL=${PERL} + +OPTIONS_DEFINE= W3M +W3M_DESC= Use w3m to show rendering result +W3M_RUN_DEPENDS= w3m>0:${PORTSDIR}/www/w3m -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}@ ; s@%PERL%@${PERL}@' +SEDSUB= ${SED} -i.bak -e 's@%%PREFIX%%@${PREFIX}@ ; s@%%DATADIR%%@${DATADIR}@' # Please set this! HTMLLINT_ADMIN?= kuriyama@FreeBSD.org +.include + 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 + @${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 exists(${LOCALBASE}/bin/w3m) - @${ECHO_MSG} "Find w3m." +.if ${PORT_OPTIONS:MW3M} @${SED} -i.bak -e 's|^#$$W3M|$$W3M|' ${WRKSRC}/htmllint.env .endif do-install: - ${MKDIR} ${DIR}/rule ${DIR}/html + ${MKDIR} ${STAGEDIR}${DATADIR}/rule ${STAGEDIR}${DATADIR}/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 + cd ${WRKSRC} && ${INSTALL_SCRIPT} ${HTML} ${STAGEDIR}${DATADIR}/html + cd ${WRKSRC} && ${INSTALL_DATA} ${PM} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${RULE} ${STAGEDIR}${DATADIR}/rule .include Modified: head/japanese/another-htmllint/distinfo ============================================================================== --- head/japanese/another-htmllint/distinfo Mon Dec 29 03:44:07 2014 (r375770) +++ head/japanese/another-htmllint/distinfo Mon Dec 29 03:51:27 2014 (r375771) @@ -1,2 +1,2 @@ -SHA256 (another-htmllint-20060601.zip) = d0f71d3144ca22b98203308dd83263ecebe2fa50c11097ee8f5bf3804428e31d -SIZE (another-htmllint-20060601.zip) = 706210 +SHA256 (htmllint.zip) = 1a1e161813a33bc44ce5beb11d3a2a08615851bdb0a43c4fbcc687ab19f82a9a +SIZE (htmllint.zip) = 775997 Copied and modified: head/japanese/another-htmllint/files/htmllint.in (from r375692, head/japanese/another-htmllint/files/htmllint) ============================================================================== --- head/japanese/another-htmllint/files/htmllint Sat Dec 27 19:32:54 2014 (r375692, copy source) +++ head/japanese/another-htmllint/files/htmllint.in Mon Dec 29 03:51:27 2014 (r375771) @@ -1,13 +1,13 @@ -#!%PERL% +#!%%PERL%% # # $Id$ # #use strict; -use lib '%PREFIX%/share/htmllint'; -use lib '%PREFIX%/share/htmllint/rule'; +use lib '%%DATADIR%%'; +use lib '%%DATADIR%%/rule'; -$RULEDIR = '%PREFIX%/share/htmllint/rule/'; +$RULEDIR = '%%DATADIR%%/rule/'; require 'htmllint.pm'; Modified: head/japanese/another-htmllint/files/patch-htmllint.cgi ============================================================================== --- head/japanese/another-htmllint/files/patch-htmllint.cgi Mon Dec 29 03:44:07 2014 (r375770) +++ head/japanese/another-htmllint/files/patch-htmllint.cgi Mon Dec 29 03:51:27 2014 (r375771) @@ -1,17 +1,11 @@ ---- 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 -+#!%PERL% +--- htmllint.cgi.orig 2014-12-07 10:16:56.651728605 +0900 ++++ htmllint.cgi 2014-12-07 10:22:52.118705399 +0900 +@@ -28,6 +28,8 @@ + my $OS2; #UNSUPPORTED; + my $UNIX = !($WIN || $MAC || $OS2); - # 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'; ++use lib '%%DATADIR%%'; ++use lib '%%DATADIR%%/rule'; require 'htmllint.env'; require $LINT_NAME; Modified: head/japanese/another-htmllint/files/patch-htmllintenv ============================================================================== Binary file (source and/or target). No diff available. Copied and modified: head/japanese/another-htmllint/files/pkg-message.in (from r375692, head/japanese/another-htmllint/pkg-message) ============================================================================== --- head/japanese/another-htmllint/pkg-message Sat Dec 27 19:32:54 2014 (r375692, copy source) +++ head/japanese/another-htmllint/files/pkg-message.in Mon Dec 29 03:51:27 2014 (r375771) @@ -1,9 +1,9 @@ To activate htmllint, use Alias directive in httd.conf or symbolic link -from ${PREFIX}/share/htmllint/html/ like as: +from %%DATADIR%%/html/ like as: -Alias /htmllint/ /usr/local/share/htmllint/html/ +Alias /htmllint/ %%DATADIR%%/html/ - + AddHandler cgi-script .cgi Options +ExecCGI Modified: head/japanese/another-htmllint/pkg-plist ============================================================================== --- head/japanese/another-htmllint/pkg-plist Mon Dec 29 03:44:07 2014 (r375770) +++ head/japanese/another-htmllint/pkg-plist Mon Dec 29 03:51:27 2014 (r375771) @@ -1,81 +1,82 @@ 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 +%%DATADIR%%/RFC2396.pm +%%DATADIR%%/html/close.gif +%%DATADIR%%/html/colors.html +%%DATADIR%%/html/colorsbk.html +%%DATADIR%%/html/download.html +%%DATADIR%%/html/explain-omake.html +%%DATADIR%%/html/explain-score.html +%%DATADIR%%/html/explain-wai.html +%%DATADIR%%/html/explain.html +%%DATADIR%%/html/faq.html +%%DATADIR%%/html/fight.gif +%%DATADIR%%/html/good.gif +%%DATADIR%%/html/htmllint.cgi +%%DATADIR%%/html/htmllint.css +%%DATADIR%%/html/htmllint.html +%%DATADIR%%/html/htmllinte.html +%%DATADIR%%/html/htmllintl.html +%%DATADIR%%/html/index.html +%%DATADIR%%/html/introduction.html +%%DATADIR%%/html/mailinglist.html +%%DATADIR%%/html/normal.gif +%%DATADIR%%/html/notice.html +%%DATADIR%%/html/open.gif +%%DATADIR%%/html/reference.html +%%DATADIR%%/html/rulefile.html +%%DATADIR%%/html/sitemap.html +%%DATADIR%%/html/tagslist.cgi +%%DATADIR%%/html/tagslist.html +%%DATADIR%%/html/top.gif +%%DATADIR%%/html/use-htmllint.html +%%DATADIR%%/html/use-htmllintcgi.html +%%DATADIR%%/html/verygood.gif +%%DATADIR%%/htmllint.env +%%DATADIR%%/htmllint.pm +%%DATADIR%%/rule/15445-preparation.rul +%%DATADIR%%/rule/15445.rul +%%DATADIR%%/rule/arena.rul +%%DATADIR%%/rule/charsets.rul +%%DATADIR%%/rule/colortable.rul +%%DATADIR%%/rule/common.rul +%%DATADIR%%/rule/compact-html.rul +%%DATADIR%%/rule/doti10.rul +%%DATADIR%%/rule/html10.rul +%%DATADIR%%/rule/html20.rul +%%DATADIR%%/rule/html40-frameset.rul +%%DATADIR%%/rule/html40-mobile.rul +%%DATADIR%%/rule/html40-strict.rul +%%DATADIR%%/rule/html40-transitional.rul +%%DATADIR%%/rule/html401-frameset.rul +%%DATADIR%%/rule/html401-strict.rul +%%DATADIR%%/rule/html401-transitional.rul +%%DATADIR%%/rule/htmlplus-old.rul +%%DATADIR%%/rule/htmlplus.rul +%%DATADIR%%/rule/i18n.rul +%%DATADIR%%/rule/ie30.rul +%%DATADIR%%/rule/ie30b.rul +%%DATADIR%%/rule/ie40.rul +%%DATADIR%%/rule/ie50.rul +%%DATADIR%%/rule/ie55.rul +%%DATADIR%%/rule/imode-xhtml.rul +%%DATADIR%%/rule/imode-xhtml11.rul +%%DATADIR%%/rule/imode.rul +%%DATADIR%%/rule/imode20.rul +%%DATADIR%%/rule/imode30.rul +%%DATADIR%%/rule/imode40.rul +%%DATADIR%%/rule/imode50.rul +%%DATADIR%%/rule/jpo.rul +%%DATADIR%%/rule/jskystation.rul +%%DATADIR%%/rule/jskyweb.rul +%%DATADIR%%/rule/mozilla20.rul +%%DATADIR%%/rule/mozilla30.rul +%%DATADIR%%/rule/mozilla40.rul +%%DATADIR%%/rule/webexp.rul +%%DATADIR%%/rule/wilbur.rul +%%DATADIR%%/rule/xhtml-basic.rul +%%DATADIR%%/rule/xhtml-mp.rul +%%DATADIR%%/rule/xhtml-rdfa-1.rul +%%DATADIR%%/rule/xhtml1-frameset.rul +%%DATADIR%%/rule/xhtml1-strict.rul +%%DATADIR%%/rule/xhtml1-transitional.rul +%%DATADIR%%/rule/xhtml11.rul