summaryrefslogtreecommitdiff
path: root/converters/nkf/Makefile
blob: 683c6ea82366d6af2aa4c53244ba2d789c0a05ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:00:35 seb Exp $

DISTNAME=	nkf-1.7
CATEGORIES=	japanese converters
MASTER_SITES=	ftp://ftp.sra.co.jp/pub/cmd/nkf/

PATCH_SITES=	http://www.rs.civil.tohoku.ac.jp/~ito/ws/
PATCHFILES=	nkf.patch.txt

MAINTAINER=	kay@kaynet.or.jp
COMMENT=	Network Kanji code conversion Filter

ALL_TARGET=	nkf
PATCH_DIST_ARGS+= -R -d ${WRKSRC}

post-extract:
	@cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/nkf.post-extract
	@${RM} -rf ${WRKSRC}/NKF

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nkf ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/nkf.1 ${PREFIX}/man/man1

.include "../../mk/bsd.pkg.mk"