aboutsummaryrefslogtreecommitdiff
path: root/japanese/another-htmllint
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2000-10-02 05:18:59 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2000-10-02 05:18:59 +0000
commite5306def00a6441f1274afe015f06ed30b1205d3 (patch)
tree16a361708046a920743ac1a985db5cc0ed16d474 /japanese/another-htmllint
parenta1bc183bcebc6f3339f31a6a8b89b2336954b92d (diff)
downloadports-e5306def00a6441f1274afe015f06ed30b1205d3.tar.gz
ports-e5306def00a6441f1274afe015f06ed30b1205d3.zip
Notes
Diffstat (limited to 'japanese/another-htmllint')
-rw-r--r--japanese/another-htmllint/Makefile43
-rw-r--r--japanese/another-htmllint/distinfo1
-rw-r--r--japanese/another-htmllint/files/htmllint14
-rw-r--r--japanese/another-htmllint/files/patch-aa17
-rw-r--r--japanese/another-htmllint/files/patch-ab22
-rw-r--r--japanese/another-htmllint/pkg-comment1
-rw-r--r--japanese/another-htmllint/pkg-descr4
-rw-r--r--japanese/another-htmllint/pkg-message9
-rw-r--r--japanese/another-htmllint/pkg-plist73
9 files changed, 184 insertions, 0 deletions
diff --git a/japanese/another-htmllint/Makefile b/japanese/another-htmllint/Makefile
new file mode 100644
index 000000000000..5aa141aab734
--- /dev/null
+++ b/japanese/another-htmllint/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: Another HTML-lint
+# Date created: 29 Sep 2000
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= another-htmllint
+PORTVERSION= 20000926
+CATEGORIES= japanese www
+MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+
+MAINTAINER= kuriyama@FreeBSD.org
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
+
+USE_ZIP= YES
+WRKSRC= ${WRKDIR}
+EXTRACT_BEFORE_ARGS= -a -q
+
+DIR= ${PREFIX}/share/htmllint
+PM= htmllint.pm RFC2396.pm htmllint.env
+RULE= *.rul
+HTML= *.cgi *.html *.gif *.css
+SEDSUB= ${SED} -e 's@%PREFIX%@${PREFIX}@'
+
+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
+
+do-install:
+ ${MKDIR} ${DIR}/rule ${DIR}/html
+ cd ${WRKSRC} && ${INSTALL_SCRIPT} htmllint ${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} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/japanese/another-htmllint/distinfo b/japanese/another-htmllint/distinfo
new file mode 100644
index 000000000000..b446f0e8c608
--- /dev/null
+++ b/japanese/another-htmllint/distinfo
@@ -0,0 +1 @@
+MD5 (another-htmllint-20000926.zip) = 6d4d2a3a4e3565d678b7323427925a7b
diff --git a/japanese/another-htmllint/files/htmllint b/japanese/another-htmllint/files/htmllint
new file mode 100644
index 000000000000..e21183e666a9
--- /dev/null
+++ b/japanese/another-htmllint/files/htmllint
@@ -0,0 +1,14 @@
+#!/usr/bin/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));
diff --git a/japanese/another-htmllint/files/patch-aa b/japanese/another-htmllint/files/patch-aa
new file mode 100644
index 000000000000..e794aa21fa44
--- /dev/null
+++ b/japanese/another-htmllint/files/patch-aa
@@ -0,0 +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
+
+ # 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;
+
diff --git a/japanese/another-htmllint/files/patch-ab b/japanese/another-htmllint/files/patch-ab
new file mode 100644
index 000000000000..c5b40623af39
--- /dev/null
+++ b/japanese/another-htmllint/files/patch-ab
@@ -0,0 +1,22 @@
+--- htmllintenv.orig Tue Aug 1 11:45:50 2000
++++ htmllintenv Fri Sep 29 14:34:59 2000
+@@ -5,15 +5,15 @@
+ # アクセス権をうまく工夫して、他人から見えないようにしてください。
+
+ # CGI 用ディレクトリ (絶対パスかCGI相対パスで指定、なるべく絶対パスにしてください)
+-$RULEDIR = './'; # 規則ファイルの場所
+-$LOGSDIR = './logs/'; # ログファイルの場所
++$RULEDIR = '%PREFIX%/share/htmllint/rule/'; # 規則ファイルの場所
++$LOGSDIR = '%PREFIX%/share/htmllint/logs/'; # ログファイルの場所
+ $TMPDIR = '/tmp/'; # テンポラリファイルの場所
+-$IMGDIR = './'; # イメージファイルの場所
++$IMGDIR = '%PREFIX%/share/htmllint/html/'; # イメージファイルの場所
+ $TAGSLIST = ''; # タグ一覧キャッシュ用の場所 (空ならキャッシュしない)
+ # 設定するときはアクセス権を適当に与えておくこと
+
+ # HTML 用ディレクトリ (CGI が出力する HTML 中で使う)
+-$HTMLDIR = './'; # HTMLファイルの場所
++$HTMLDIR = ''; # HTMLファイルの場所
+ $GATEWAYURL = $HTMLDIR.'htmllint.html'; # ゲイトウェイサーヴィス HTML
+ $EXPLAIN = $HTMLDIR.'explain.html'; # 解説用 HTML (HTML用)
+ $CGIROOT = $HTMLDIR; # CGIの場所
diff --git a/japanese/another-htmllint/pkg-comment b/japanese/another-htmllint/pkg-comment
new file mode 100644
index 000000000000..2f8a1304d8fa
--- /dev/null
+++ b/japanese/another-htmllint/pkg-comment
@@ -0,0 +1 @@
+Another HTML-lint (all messages are written in Japanese)
diff --git a/japanese/another-htmllint/pkg-descr b/japanese/another-htmllint/pkg-descr
new file mode 100644
index 000000000000..ffca9c6d2f2e
--- /dev/null
+++ b/japanese/another-htmllint/pkg-descr
@@ -0,0 +1,4 @@
+Another HTML-lint is yet another lint for HTML. This program displays
+all messages in Japanese.
+
+WWW: http://openlab.ring.gr.jp/k16/htmllint/
diff --git a/japanese/another-htmllint/pkg-message b/japanese/another-htmllint/pkg-message
new file mode 100644
index 000000000000..a2a71083dc1e
--- /dev/null
+++ b/japanese/another-htmllint/pkg-message
@@ -0,0 +1,9 @@
+To activate htmllint, use Alias directive in httd.conf or symbolic link
+from ${PREFIX}/share/htmllint/html/ like as:
+
+Alias /htmllint/ /usr/local/share/htmllint/html/
+
+<Directory /usr/local/share/htmllint/html>
+ AddHandler cgi-script .cgi
+ Options +ExecCGI
+</Directory>
diff --git a/japanese/another-htmllint/pkg-plist b/japanese/another-htmllint/pkg-plist
new file mode 100644
index 000000000000..87a919f73da1
--- /dev/null
+++ b/japanese/another-htmllint/pkg-plist
@@ -0,0 +1,73 @@
+bin/htmllint
+share/htmllint/htmllint.pm
+share/htmllint/RFC2396.pm
+share/htmllint/rule/15445.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/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/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.rul
+share/htmllint/rule/imode20.rul
+share/htmllint/rule/jpo.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/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/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