aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-07-07 01:31:36 +0800
committermax <max@FreeBSD.org>1997-07-07 01:31:36 +0800
commit0f4a21c4d3a56cad35d66059849e58fedecd1c6d (patch)
treec59b6fe1aacb43b85dbe3c8b6a0c0cd170e0affc /japanese
parent56c4ac901f26f32386dc2c90203656651b1cd5bc (diff)
downloadfreebsd-ports-gnome-0f4a21c4d3a56cad35d66059849e58fedecd1c6d.tar.gz
freebsd-ports-gnome-0f4a21c4d3a56cad35d66059849e58fedecd1c6d.tar.zst
freebsd-ports-gnome-0f4a21c4d3a56cad35d66059849e58fedecd1c6d.zip
Integrate extension patch by Hajime BABA (-w option).
Suggested by: sanpei@jp.freebsd.org
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kakasi/Makefile26
-rw-r--r--japanese/kakasi/distinfo1
-rw-r--r--japanese/kakasi/pkg-plist1
3 files changed, 18 insertions, 10 deletions
diff --git a/japanese/kakasi/Makefile b/japanese/kakasi/Makefile
index 7e7ffca7928b..bd8604b251bb 100644
--- a/japanese/kakasi/Makefile
+++ b/japanese/kakasi/Makefile
@@ -3,36 +3,42 @@
# Date created: 26 Mar. 1996
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.8 1996/11/11 10:12:00 max Exp $
+# $Id: Makefile,v 1.9 1996/12/12 05:08:32 max Exp $
#
DISTNAME= kakasi-2.2.5
PKGNAME= jp-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/ \
ftp://etlport.etl.go.jp/pub/mule/contrib/ \
ftp://ftp.cs.buffalo.edu/pub/mule/contrib/ \
ftp://sh.wide.ad.jp/JAPAN/mule/contrib/ \
ftp://ftp.funet.fi/pub/gnu/funet/emacs/mule/contrib/ \
ftp://ftp.iij.ad.jp/pub/misc/mule/contrib/
-DISTFILES = kakasi-2.2.5.tar.gz kakasidict.940620.gz
+DISTFILES = ${DISTNAME}${EXTRACT_SUFX} kakasidict.940620.gz \
+ kakasi-ext.tar.gz
MAINTAINER= max@FreeBSD.ORG
-EXTRACT_ONLY= kakasi-2.2.5.tar.gz
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
-MANLANG= ja_JP.EUC
-MAN1= kakasi.1
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} kakasi-ext.tar.gz
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+PATCH_DIST_STRIP= -p1
+MANLANG= ja_JP.EUC
+MAN1= kakasi.1
post-extract:
- @gzip -cd ${DISTDIR}/kakasidict.940620.gz > ${WRKSRC}/kakasidict
+ @${GZCAT} ${DISTDIR}/kakasidict.940620.gz > ${WRKSRC}/kakasidict
+
+pre-patch:
+ @${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/kakasi-ext/patch.kakasi-2.2.5
post-install:
${INSTALL_MAN} ${WRKSRC}/kakasi.1 ${PREFIX}/man/${MANLANG}/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/kakasi
-.for f in README README.jpn
- ${INSTALL_DATA} ${WRKSRC}/../$f ${PREFIX}/share/doc/kakasi
-.endfor
+ ${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>
diff --git a/japanese/kakasi/distinfo b/japanese/kakasi/distinfo
index 2c6336986f7a..82d20c1d0f87 100644
--- a/japanese/kakasi/distinfo
+++ b/japanese/kakasi/distinfo
@@ -1,2 +1,3 @@
MD5 (kakasi-2.2.5.tar.gz) = b65739665a2e43d2dbf4c1f5b2e5ad0e
MD5 (kakasidict.940620.gz) = 33fc2427d7f3d3787d6bf1ef23c3f8c9
+MD5 (kakasi-ext.tar.gz) = fd136b54f8dfeaf59c4e93dcc44a67fd
diff --git a/japanese/kakasi/pkg-plist b/japanese/kakasi/pkg-plist
index 28d2faf33bd0..6b50ec53f434 100644
--- a/japanese/kakasi/pkg-plist
+++ b/japanese/kakasi/pkg-plist
@@ -7,5 +7,6 @@ lib/kakasi/kanwadict
man/ja_JP.EUC/man1/kakasi.1.gz
share/doc/kakasi/README
share/doc/kakasi/README.jpn
+share/doc/kakasi/kakasi-ext.doc
@dirrm share/doc/kakasi
@dirrm lib/kakasi