1996-03-29 05:05:18 +00:00
|
|
|
# New ports collection makefile for: kakasi
|
|
|
|
# Version required: 2.2.5
|
|
|
|
# Date created: 26 Mar. 1996
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.org>
|
1996-03-29 05:05:18 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1996-03-29 05:05:18 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= kakasi-2.2.5
|
1997-09-14 21:36:25 +00:00
|
|
|
PKGNAME= ja-kakasi-2.2.5
|
1996-11-11 10:13:07 +00:00
|
|
|
CATEGORIES= japanese
|
1996-03-29 05:05:18 +00:00
|
|
|
MASTER_SITES= ftp://sunsite.sut.ac.jp/pub/asia-info/japanese-src/packages/ \
|
1997-07-06 17:31:36 +00:00
|
|
|
ftp://ftp.kusastro.kyoto-u.ac.jp/pub/baba/wais/ \
|
1996-03-29 05:05:18 +00:00
|
|
|
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/
|
1997-07-06 17:47:44 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} kakasidict.940620.gz \
|
1997-07-06 17:31:36 +00:00
|
|
|
kakasi-ext.tar.gz
|
1996-03-29 05:05:18 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= max@FreeBSD.org
|
1996-03-29 05:05:18 +00:00
|
|
|
|
1997-07-06 17:31:36 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} kakasi-ext.tar.gz
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
PATCH_DIST_STRIP= -p1
|
1998-04-05 04:47:11 +00:00
|
|
|
MANLANG= ja
|
1997-07-06 17:31:36 +00:00
|
|
|
MAN1= kakasi.1
|
1996-03-29 05:05:18 +00:00
|
|
|
post-extract:
|
1997-07-06 17:31:36 +00:00
|
|
|
@${GZCAT} ${DISTDIR}/kakasidict.940620.gz > ${WRKSRC}/kakasidict
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/kakasi-ext/patch.kakasi-2.2.5
|
1996-03-29 05:05:18 +00:00
|
|
|
|
1996-10-19 04:03:22 +00:00
|
|
|
post-install:
|
1997-12-28 17:51:10 +00:00
|
|
|
.for f in mkkanwa atoc-conv rdic-conv
|
|
|
|
@/usr/bin/strip ${PREFIX}/lib/kakasi/$f
|
|
|
|
.endfor
|
1996-12-12 05:08:33 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/kakasi.1 ${PREFIX}/man/${MANLANG}/man1
|
|
|
|
.if !defined(NOPORTDOCS)
|
1996-11-02 05:28:19 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/kakasi
|
1997-12-28 17:51:10 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/JISYO ${PREFIX}/share/doc/kakasi
|
1997-07-06 17:31:36 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../README* ${PREFIX}/share/doc/kakasi
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/kakasi-ext/KAKASI.DOC \
|
|
|
|
${PREFIX}/share/doc/kakasi/kakasi-ext.doc
|
1996-12-12 05:08:33 +00:00
|
|
|
.endif
|
1996-10-19 04:03:22 +00:00
|
|
|
|
1996-03-29 05:05:18 +00:00
|
|
|
.include <bsd.port.mk>
|