summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorseb <seb>2002-05-31 13:00:45 +0000
committerseb <seb>2002-05-31 13:00:45 +0000
commitbd219d2d135ed4444433df02e02070d15b7f5c71 (patch)
tree07dfcc512b6fc48b568c6580de8c300623c2c067 /lang
parent87376a7e7fcc9cc6280330d8194d77fddddadfc2 (diff)
downloadpkgsrc-bd219d2d135ed4444433df02e02070d15b7f5c71.tar.gz
Reimport of package ja-gawk from japanese/gawk into lang/ja-gawk.
This is part of the japanese category retirement. CATEGORIES adjusted.
Diffstat (limited to 'lang')
-rw-r--r--lang/ja-gawk/DESCR5
-rw-r--r--lang/ja-gawk/Makefile27
-rw-r--r--lang/ja-gawk/PLIST27
-rw-r--r--lang/ja-gawk/distinfo9
-rw-r--r--lang/ja-gawk/patches/patch-aa38
-rw-r--r--lang/ja-gawk/patches/patch-ab25
-rw-r--r--lang/ja-gawk/patches/patch-ac31
7 files changed, 162 insertions, 0 deletions
diff --git a/lang/ja-gawk/DESCR b/lang/ja-gawk/DESCR
new file mode 100644
index 00000000000..e944f89089d
--- /dev/null
+++ b/lang/ja-gawk/DESCR
@@ -0,0 +1,5 @@
+This package is multi-byte extented GNU AWK.
+Supported multi-byte codes are EUC/Shift-JIS/UTF8 code.
+
+Multi-byte code by WILLs(Katsuyuki Okabe, hgc02147@nifty.ne.jp)
+and t^2(Takahiro Tanimoto, NBC02362@niftyserve.or.jp).
diff --git a/lang/ja-gawk/Makefile b/lang/ja-gawk/Makefile
new file mode 100644
index 00000000000..6c1c98b21c3
--- /dev/null
+++ b/lang/ja-gawk/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:00:45 seb Exp $
+# FreeBSD Id: Makefile,v 1.13 1999/01/27 07:41:14 fenner Exp $
+
+DISTNAME= gawk-3.0.4
+PKGNAME= ja-gawk-3.0.4
+CATEGORIES= japanese lang
+MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
+
+PATCH_SITES= http://member.nifty.ne.jp/wills/program/
+PATCHFILES= gawkmb112.diff.gz
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER= tech-pkg-ja@jp.netbsd.org
+HOMEPAGE= http://www.gnu.org/software/gawk/gawk.html
+COMMENT= GNU awk + multi-byte extension
+
+INFO_FILES= gawk.info
+
+GNU_CONFIGURE= yes
+
+post-install:
+ @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ja-gawk
+ @${INSTALL_DATA} ${WRKSRC}/OREADME.MB ${PREFIX}/share/doc/ja-gawk
+ @${INSTALL_DATA} ${WRKSRC}/README.MB ${PREFIX}/share/doc/ja-gawk
+
+.include "../../mk/texinfo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/ja-gawk/PLIST b/lang/ja-gawk/PLIST
new file mode 100644
index 00000000000..ae4778161e3
--- /dev/null
+++ b/lang/ja-gawk/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 13:00:45 seb Exp $
+bin/jgawk
+bin/jigawk
+@unexec ${INSTALL_INFO} --delete %D/info/gawk.info %D/info/dir
+info/gawk.info
+@exec ${INSTALL_INFO} %D/info/gawk.info %D/info/dir
+libexec/awk/grcat
+libexec/awk/pwcat
+man/man1/jgawk.1
+man/man1/jigawk.1
+share/awk/assert.awk
+share/awk/ctime.awk
+share/awk/ftrans.awk
+share/awk/getopt.awk
+share/awk/gettime.awk
+share/awk/group.awk
+share/awk/join.awk
+share/awk/mktime.awk
+share/awk/nextfile.awk
+share/awk/ord.awk
+share/awk/passwd.awk
+share/awk/round.awk
+share/doc/ja-gawk/OREADME.MB
+share/doc/ja-gawk/README.MB
+@dirrm share/doc/ja-gawk
+@dirrm share/awk
+@dirrm libexec/awk
diff --git a/lang/ja-gawk/distinfo b/lang/ja-gawk/distinfo
new file mode 100644
index 00000000000..ee9fce51adc
--- /dev/null
+++ b/lang/ja-gawk/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/31 13:00:45 seb Exp $
+
+SHA1 (gawk-3.0.4.tar.gz) = c22ab0ef08d80b6a4af821c8baffb9941b7f5e87
+Size (gawk-3.0.4.tar.gz) = 1027134 bytes
+SHA1 (gawkmb112.diff.gz) = 7498a14ab254195931adb7b085376997c168b864
+Size (gawkmb112.diff.gz) = 94799 bytes
+SHA1 (patch-aa) = da52f4b7afc6597750ebf8e77d395d41e57d74a7
+SHA1 (patch-ab) = bae2a88656dee140972e283770e1864c6d78b672
+SHA1 (patch-ac) = 852db39f17f620597464c8e78504016a3636b503
diff --git a/lang/ja-gawk/patches/patch-aa b/lang/ja-gawk/patches/patch-aa
new file mode 100644
index 00000000000..7d699b71601
--- /dev/null
+++ b/lang/ja-gawk/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:00:45 seb Exp $
+
+--- Makefile.in.orig Mon Oct 11 21:30:42 1999
++++ Makefile.in Mon Oct 11 21:35:44 1999
+@@ -48,5 +48,5 @@
+ exec_suffix = @exec_suffix@
+ prefix = @prefix@
+-binprefix =
++binprefix = j
+ manprefix =
+
+@@ -195,12 +195,6 @@
+
+ install: gawk$(exec_suffix) info installdirs
+- -rm -f $(bindir)/gawk$(exec_suffix)
+- fullname=gawk-$(REL).`./gawk '{print $$3}' $(srcdir)/patchlevel.h`+mb$(MBREL) ; \
+- $(INSTALL_PROGRAM) gawk$(exec_suffix) $(bindir)/$${fullname}$(exec_suffix) ; \
+- (cd $(bindir); $(LN) $${fullname}$(exec_suffix) gawk$(exec_suffix))
+- (cd $(bindir);\
+- if [ ! -f awk$(exec_suffix) ]; \
+- then $(LN_S) gawk$(exec_suffix) awk$(exec_suffix); \
+- fi; exit 0)
++ $(INSTALL_PROGRAM) gawk$(exec_suffix) \
++ $(bindir)/$(binprefix)gawk$(exec_suffix)
+ cd doc && $(MAKE) install
+ cd awklib && $(MAKE) install
+@@ -211,10 +205,5 @@
+
+ uninstall:
+- (cd $(bindir); \
+- if [ -f awk$(exec_suffix) ] && cmp awk$(exec_suffix) gawk$(exec_suffix) > /dev/null; then rm -f awk$(exec_suffix); fi)
+- (fullname=gawk-$(REL).`gawk '{print $$3}' $(srcdir)/patchlevel.h`+mb$(MBREL) ; \
+- cd $(bindir); \
+- if cmp gawk$(exec_suffix) $${fullname}$(exec_suffix); then rm -f gawk$(exec_suffix); fi ; \
+- rm -f $(bindir)/$${fullname}$(exec_suffix))
++ rm -f $(bindir)/$(binprefix)gawk$(exec_suffix))
+ cd doc && $(MAKE) uninstall
+ cd awklib && $(MAKE) uninstall
diff --git a/lang/ja-gawk/patches/patch-ab b/lang/ja-gawk/patches/patch-ab
new file mode 100644
index 00000000000..a8c7163f67d
--- /dev/null
+++ b/lang/ja-gawk/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 13:00:45 seb Exp $
+
+--- awklib/Makefile.in.orig Mon Oct 11 21:30:42 1999
++++ awklib/Makefile.in Mon Oct 11 21:36:58 1999
+@@ -35,5 +35,5 @@
+ exec_prefix = @exec_prefix@
+ exec_suffix = @exec_suffix@
+-binprefix =
++binprefix = j
+ manprefix =
+
+@@ -76,5 +76,5 @@
+
+ install: igawk $(AUXPROGS) $(AUXAWK)
+- $(INSTALL_PROGRAM) igawk $(bindir)/igawk
++ $(INSTALL_PROGRAM:-s=) igawk $(bindir)/$(binprefix)igawk
+ for i in $(AUXPROGS) ; do \
+ $(INSTALL_PROGRAM) $$i $(libexecdir)/$$i ; \
+@@ -88,5 +88,5 @@
+ uninstall:
+ rm -fr $(libexecdir)/* $(datadir)/*
+- rm -f $(bindir)/igawk
++ rm -f $(bindir)/$(binprefix)igawk
+
+ clean:
diff --git a/lang/ja-gawk/patches/patch-ac b/lang/ja-gawk/patches/patch-ac
new file mode 100644
index 00000000000..080f18d7106
--- /dev/null
+++ b/lang/ja-gawk/patches/patch-ac
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 13:00:45 seb Exp $
+
+--- doc/Makefile.in.orig Wed Apr 28 23:21:56 1999
++++ doc/Makefile.in Mon Oct 11 21:38:08 1999
+@@ -31,5 +31,5 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ binprefix =
+-manprefix =
++manprefix = j
+
+@@ -83,16 +83,13 @@
+ $(INSTALL_DATA) $$i $(infodir)/$$i ; \
+ done; \
+- if $(SHELL) -c 'install-info --version' > /dev/null 2>&1 ; \
+- then install-info --info-dir=$(infodir) gawk.info ; \
+- else true ; fi; exit 0
+
+ $(mandir)/gawk$(manext):: gawk.1
+- $(INSTALL_DATA) $(srcdir)/gawk.1 $(mandir)/gawk$(manext)
++ $(INSTALL_DATA) $(srcdir)/gawk.1 $(mandir)/$(manprefix)gawk$(manext)
+
+ $(mandir)/igawk$(manext):: igawk.1
+- $(INSTALL_DATA) $(srcdir)/igawk.1 $(mandir)/igawk$(manext)
++ $(INSTALL_DATA) $(srcdir)/igawk.1 $(mandir)/$(manprefix)igawk$(manext)
+
+ uninstall:
+- rm -f $(mandir)/gawk$(manext) $(mandir)/igawk$(manext) $(infodir)/gawk.info*
++ rm -f $(mandir)/$(manprefix)gawk$(manext) $(mandir)/$(manprefix)igawk$(manext) $(infodir)/gawk.info*
+
+ dvi: gawk.dvi