summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-06-08 09:57:48 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-06-08 09:57:48 +0000
commit4250bf389751ed4a3683b584c21220edf35b6628 (patch)
tree2a1e23c788db78a4994ba4ac344cd8d946bdc9ab /japanese
parent41c9a9d8feaaed47e2cab1f02213c416c911c053 (diff)
downloadpkgsrc-4250bf389751ed4a3683b584c21220edf35b6628.tar.gz
Adapt this package to NetBSD.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kakasi/Makefile30
-rw-r--r--japanese/kakasi/files/md52
-rw-r--r--japanese/kakasi/patches/patch-aa69
-rw-r--r--japanese/kakasi/patches/patch-ab2
-rw-r--r--japanese/kakasi/pkg/PLIST2
5 files changed, 45 insertions, 60 deletions
diff --git a/japanese/kakasi/Makefile b/japanese/kakasi/Makefile
index cf659599379..cfb01bbe276 100644
--- a/japanese/kakasi/Makefile
+++ b/japanese/kakasi/Makefile
@@ -1,13 +1,7 @@
-# New ports collection makefile for: kakasi
-# Version required: 2.2.5
-# Date created: 26 Mar. 1996
-# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
-#
-# $Id: Makefile,v 1.1.1.1 1999/06/08 09:54:35 sakamoto Exp $
-#
+# $NetBSD: Makefile,v 1.2 1999/06/08 09:57:48 sakamoto Exp $
+# FreeBSD Id: Makefile,v 1.14 1998/04/05 04:46:33 max Exp $
DISTNAME= kakasi-2.2.5
-PKGNAME= ja-kakasi-2.2.5
CATEGORIES= japanese
MASTER_SITES= ftp://sunsite.sut.ac.jp/pub/asia-info/japanese-src/packages/ \
ftp://ftp.kusastro.kyoto-u.ac.jp/pub/baba/wais/ \
@@ -19,13 +13,12 @@ MASTER_SITES= ftp://sunsite.sut.ac.jp/pub/asia-info/japanese-src/packages/ \
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} kakasidict.940620.gz \
kakasi-ext.tar.gz
-MAINTAINER= max@FreeBSD.ORG
-
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} kakasi-ext.tar.gz
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
PATCH_DIST_STRIP= -p1
-MANLANG= ja
-MAN1= kakasi.1
+
+MAINTAINER= tech-pkg-ja@jp.netbsd.org
+
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} kakasi-ext.tar.gz
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
post-extract:
@${GZCAT} ${DISTDIR}/kakasidict.940620.gz > ${WRKSRC}/kakasidict
@@ -33,16 +26,11 @@ pre-patch:
@${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/kakasi-ext/patch.kakasi-2.2.5
post-install:
-.for f in mkkanwa atoc-conv rdic-conv
- @/usr/bin/strip ${PREFIX}/lib/kakasi/$f
-.endfor
- ${INSTALL_MAN} ${WRKSRC}/kakasi.1 ${PREFIX}/man/${MANLANG}/man1
-.if !defined(NOPORTDOCS)
+ ${INSTALL_MAN} ${WRKSRC}/kakasi.1 ${PREFIX}/man/ja_JP.EUC/man1
${MKDIR} ${PREFIX}/share/doc/kakasi
${INSTALL_DATA} ${WRKSRC}/JISYO ${PREFIX}/share/doc/kakasi
${INSTALL_DATA} ${WRKSRC}/../README* ${PREFIX}/share/doc/kakasi
${INSTALL_DATA} ${WRKDIR}/kakasi-ext/KAKASI.DOC \
${PREFIX}/share/doc/kakasi/kakasi-ext.doc
-.endif
-.include <bsd.port.mk>
+.include "../../mk/bsd.pkg.mk"
diff --git a/japanese/kakasi/files/md5 b/japanese/kakasi/files/md5
index a6e381d4528..fa586fbb94b 100644
--- a/japanese/kakasi/files/md5
+++ b/japanese/kakasi/files/md5
@@ -1,3 +1,5 @@
+$NetBSD: md5,v 1.2 1999/06/08 09:57:49 sakamoto Exp $
+
MD5 (kakasi-2.2.5.tar.gz) = b65739665a2e43d2dbf4c1f5b2e5ad0e
MD5 (kakasidict.940620.gz) = 33fc2427d7f3d3787d6bf1ef23c3f8c9
MD5 (kakasi-ext.tar.gz) = 47837bb1777f68bd8f6c4309616b3807
diff --git a/japanese/kakasi/patches/patch-aa b/japanese/kakasi/patches/patch-aa
index ca002376e20..59ea445e708 100644
--- a/japanese/kakasi/patches/patch-aa
+++ b/japanese/kakasi/patches/patch-aa
@@ -1,39 +1,30 @@
-*** Makefile.orig Mon Jul 7 01:55:05 1997
---- Makefile Mon Jul 7 01:55:33 1997
-***************
-*** 27,33 ****
- # Please assign next values.
-
- # Directories of Dictionary and Utilities installed
-! PREFIX=/usr/local
-
- # Preferable Compiler and Options on your system
- CC=cc
---- 27,33 ----
- # Please assign next values.
-
- # Directories of Dictionary and Utilities installed
-! PREFIX?=/usr/local
-
- # Preferable Compiler and Options on your system
- CC=cc
-***************
-*** 73,79 ****
- lint $(CFLAGS) $(SOURCES)
-
- install: kakasi mkkanwa atoc-conv rdic-conv
-! cp kakasi $(BINDIR)
- cp $(STDDICTS) mkkanwa atoc-conv rdic-conv $(LIBDIR)
- ./mkkanwa $(LIBDIR)/kanwadict kakasidict
-
---- 73,82 ----
- lint $(CFLAGS) $(SOURCES)
-
- install: kakasi mkkanwa atoc-conv rdic-conv
-! @(for f in ${BINDIR} ${LIBDIR}; do \
-! if [ ! -d "$$f" ]; then mkdir -p "$$f"; fi; \
-! done)
-! install -s -c -o bin -g bin -m 755 kakasi $(BINDIR)
- cp $(STDDICTS) mkkanwa atoc-conv rdic-conv $(LIBDIR)
- ./mkkanwa $(LIBDIR)/kanwadict kakasidict
-
+$NetBSD: patch-aa,v 1.2 1999/06/08 09:57:49 sakamoto Exp $
+
+--- Makefile.orig Tue Jun 8 16:57:09 1999
++++ Makefile Tue Jun 8 17:22:45 1999
+@@ -27,7 +27,7 @@
+ # Please assign next values.
+
+ # Directories of Dictionary and Utilities installed
+-PREFIX=/usr/local
++PREFIX?=/usr/local
+
+ # Preferable Compiler and Options on your system
+ CC=cc
+@@ -73,8 +73,14 @@
+ lint $(CFLAGS) $(SOURCES)
+
+ install: kakasi mkkanwa atoc-conv rdic-conv
+- cp kakasi $(BINDIR)
+- cp $(STDDICTS) mkkanwa atoc-conv rdic-conv $(LIBDIR)
++ @(for f in ${BINDIR} ${LIBDIR}; do \
++ if [ ! -d "$$f" ]; then mkdir -p "$$f"; fi; \
++ done)
++ install -s -c -o bin -g bin -m 755 kakasi $(BINDIR)
++ install -s -c -o bin -g bin -m 755 mkkanwa $(LIBDIR)
++ install -s -c -o bin -g bin -m 755 atoc-conv $(LIBDIR)
++ install -s -c -o bin -g bin -m 755 rdic-conv $(LIBDIR)
++ cp $(STDDICTS) $(LIBDIR)
+ ./mkkanwa $(LIBDIR)/kanwadict kakasidict
+
+ clean:
diff --git a/japanese/kakasi/patches/patch-ab b/japanese/kakasi/patches/patch-ab
index 30ba0fddf73..572085e18aa 100644
--- a/japanese/kakasi/patches/patch-ab
+++ b/japanese/kakasi/patches/patch-ab
@@ -1,3 +1,5 @@
+$NetBSD: patch-ab,v 1.2 1999/06/08 09:57:49 sakamoto Exp $
+
--- ./dict.c.org Sun Jun 19 17:05:23 1994
+++ ./dict.c Thu Mar 28 20:51:18 1996
@@ -28,7 +28,7 @@
diff --git a/japanese/kakasi/pkg/PLIST b/japanese/kakasi/pkg/PLIST
index f65a89c0862..125cbbc6353 100644
--- a/japanese/kakasi/pkg/PLIST
+++ b/japanese/kakasi/pkg/PLIST
@@ -1,9 +1,11 @@
+@comment $NetBSD: PLIST,v 1.2 1999/06/08 09:57:49 sakamoto Exp $
bin/kakasi
lib/kakasi/rdic-conv
lib/kakasi/atoc-conv
lib/kakasi/mkkanwa
lib/kakasi/itaijidict
lib/kakasi/kanwadict
+man/ja_JP.EUC/man1/kakasi.1
share/doc/kakasi/README
share/doc/kakasi/README.jpn
share/doc/kakasi/kakasi-ext.doc