1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

New port, jweblint97:

an internationalized HTML checker with japanese message(EUC-JP)

PR:	4035
Submitted by:	Takayuki Ariga <a00821@cc.hc.keio.ac.jp>
This commit is contained in:
Masafumi Max NAKANE 1997-07-20 16:41:58 +00:00
parent aa12aed154
commit 1192ac9dea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7381
7 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1,40 @@
# New ports collection makefile for: weblint97
# Version required: 0.12
# Date created: 27 Jun 1997
# Whom: Takayuki Ariga <a00821@cc.hc.keio.ac.jp>
#
# $Id$
#
DISTNAME= weblint-97-0.12
PKGNAME= jp-weblint97-0.12
CATEGORIES= japanese www
MASTER_SITES= ftp://ftp.win.or.jp/pub/network/www/weblint/ \
ftp://ftp.sra.co.jp/pub/cmd/ \
ftp://ftp.hipecs.hokudai.ac.jp/pub/network/WWW/contrib/
MAINTAINER= a00821@cc.hc.keio.ac.jp
WRKSRC= ${WRKDIR}/weblint-97
MANLANG= ja_JP.EUC
MAN1= jweblint.1
MAKE_ENV+= PERLLIBDIR="${PERLLIBDIR}"
ALL_TARGET= euc-jp
INSTALL_TARGET= jinstall
PORTDOCDIR?= ${PREFIX}/share/doc/jweblint
PERLLIBDIR?= ${PREFIX}/lib/perl
pre-install:
@${SED} -e "s,%PERLLIBDIR%,${PERLLIBDIR},g" < ${WRKSRC}/jweblint.tmp \
> ${WRKSRC}/jweblint
.if !exists(${PERLLIBDIR})
@${MKDIR} ${PERLLIBDIR}
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${PORTDOCDIR}
@${INSTALL_DATA} ${WRKSRC}/l10n/ja-jp/jmanpage.html ${PORTDOCDIR}
@${INSTALL_DATA} ${WRKSRC}/l10n/ja-jp/warnings.html ${PORTDOCDIR}
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (weblint-97-0.12.tar.gz) = 189afa45a31a30e0fecfbb60ed55e063

View File

@ -0,0 +1,30 @@
--- Makefile.orig Sat Mar 8 00:12:00 1997
+++ Makefile Mon Jul 21 01:32:02 1997
@@ -5,12 +5,15 @@
SHELL = /bin/sh
-BINDIR = /usr/local/bin
-LIBDIR = /usr/lib/perl
+PREFIX ?= /usr/local
+BINDIR = ${PREFIX}/bin
+PERLLIBDIR?= ${PREFIX}/lib/perl
+LIBDIR = ${PERLLIBDIR}
JPDIR = ./l10n/ja-jp
-JMANDIR = /usr/local/man/ja/man1
+JMANDIR = ${PREFIX}/man/ja_JP.EUC/man1
PROGRAM = weblint
JPROGRAM = jweblint
+JPROGRAM_TMP = jweblint.tmp
EXTLIB = html-ext.pl
I18NLIB = htmli18n.pl
JCODE = jcode.pl
@@ -48,7 +51,7 @@
euc-jp:
patch < $(JPDIR)/euc-jp.patch
- mv $(PROGRAM) $(JPROGRAM)
+ mv $(PROGRAM) $(JPROGRAM_TMP)
mv $(JPDIR)/$(JCODE) .
sjis:

View File

@ -0,0 +1,11 @@
--- weblint.orig Sat Jun 21 05:04:20 1997
+++ weblint Sat Jun 21 05:04:32 1997
@@ -279,7 +279,7 @@
'todo', 'U',
'noglobals', 'pedantic', 'urlget=s', 'v', 'version', 'warnings',
'x=s', 'c=s', 'explain');
-
+@INC = ('/usr/share/perl','%PERLLIBDIR%');
$exit_status = 0;
require 'newgetopt.pl';

View File

@ -0,0 +1 @@
an internationalized HTML checker with japanese message(EUC-JP)

View File

@ -0,0 +1,18 @@
jweblint is an internationalized HTML checker with japanese message
This is my proposal to INTERNATIONALIZE Weblint, based on Weblint 1.017.
This EXPERIMENTAL version, code named "Weblint 97", tentatively
supports i18n. It supports elements and attributes of i18n-enhanced
HTML 2.0 (HTML 2.x), specified in RFC 2070. In addition, it will handle
various kinds of encodings, not only US-ASCII and ISO-8859-*, but also
ISO-2022-* and Unicode.
To check one or more HTML files, run weblint thusly:
% jweblint file1.html [... fileN.html]
If a file is in fact a directory, weblint will recurse, checking all files.
Latest version of this PROPOSED version is available:
http://www.aichi-u.ac.jp/%7Emimasa/jweblint/victims.html
-- Takayuki Ariga

View File

@ -0,0 +1,9 @@
bin/jweblint
lib/perl/jcode.pl
lib/perl/html-ext.pl
lib/perl/htmli18n.pl
man/ja_JP.EUC/man1/jweblint.1.gz
share/doc/jweblint/warnings.html
share/doc/jweblint/jmanpage.html
@dirrm share/doc/jweblint
@dirrm lib/perl