summaryrefslogtreecommitdiff
path: root/japanese/kakasi/Makefile
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/kakasi/Makefile
parent41c9a9d8feaaed47e2cab1f02213c416c911c053 (diff)
downloadpkgsrc-4250bf389751ed4a3683b584c21220edf35b6628.tar.gz
Adapt this package to NetBSD.
Diffstat (limited to 'japanese/kakasi/Makefile')
-rw-r--r--japanese/kakasi/Makefile30
1 files changed, 9 insertions, 21 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"