aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-07-21 00:41:58 +0800
committermax <max@FreeBSD.org>1997-07-21 00:41:58 +0800
commit41ce01fa2713a08987645108d295204c4236a6c4 (patch)
tree0cdf830c3c9fe42c7897d4030a37f3675ba342c3 /japanese
parentb071faf163f14e4307f3a4197979ea62af130a5a (diff)
downloadfreebsd-ports-gnome-41ce01fa2713a08987645108d295204c4236a6c4.tar.gz
freebsd-ports-gnome-41ce01fa2713a08987645108d295204c4236a6c4.tar.zst
freebsd-ports-gnome-41ce01fa2713a08987645108d295204c4236a6c4.zip
New port, jweblint97:
an internationalized HTML checker with japanese message(EUC-JP) PR: 4035 Submitted by: Takayuki Ariga <a00821@cc.hc.keio.ac.jp>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/weblint97/Makefile40
-rw-r--r--japanese/weblint97/distinfo1
-rw-r--r--japanese/weblint97/files/patch-aa30
-rw-r--r--japanese/weblint97/files/patch-ab11
-rw-r--r--japanese/weblint97/pkg-comment1
-rw-r--r--japanese/weblint97/pkg-descr18
-rw-r--r--japanese/weblint97/pkg-plist9
7 files changed, 110 insertions, 0 deletions
diff --git a/japanese/weblint97/Makefile b/japanese/weblint97/Makefile
new file mode 100644
index 000000000000..a1f6b080c44c
--- /dev/null
+++ b/japanese/weblint97/Makefile
@@ -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>
diff --git a/japanese/weblint97/distinfo b/japanese/weblint97/distinfo
new file mode 100644
index 000000000000..7e6ff1e76d8b
--- /dev/null
+++ b/japanese/weblint97/distinfo
@@ -0,0 +1 @@
+MD5 (weblint-97-0.12.tar.gz) = 189afa45a31a30e0fecfbb60ed55e063
diff --git a/japanese/weblint97/files/patch-aa b/japanese/weblint97/files/patch-aa
new file mode 100644
index 000000000000..8c1df61e5ee7
--- /dev/null
+++ b/japanese/weblint97/files/patch-aa
@@ -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:
diff --git a/japanese/weblint97/files/patch-ab b/japanese/weblint97/files/patch-ab
new file mode 100644
index 000000000000..3e253a3bbb89
--- /dev/null
+++ b/japanese/weblint97/files/patch-ab
@@ -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';
diff --git a/japanese/weblint97/pkg-comment b/japanese/weblint97/pkg-comment
new file mode 100644
index 000000000000..6f6ad7d36be1
--- /dev/null
+++ b/japanese/weblint97/pkg-comment
@@ -0,0 +1 @@
+an internationalized HTML checker with japanese message(EUC-JP)
diff --git a/japanese/weblint97/pkg-descr b/japanese/weblint97/pkg-descr
new file mode 100644
index 000000000000..b4fe1471454d
--- /dev/null
+++ b/japanese/weblint97/pkg-descr
@@ -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
diff --git a/japanese/weblint97/pkg-plist b/japanese/weblint97/pkg-plist
new file mode 100644
index 000000000000..9d1dd67d5e3d
--- /dev/null
+++ b/japanese/weblint97/pkg-plist
@@ -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