openbsd-ports/japanese/nkf/Makefile

33 lines
824 B
Makefile
Raw Normal View History

# very loosely based on FreeBSD 2.2.7
# $OpenBSD: Makefile,v 1.9 2001/05/06 01:11:41 lebel Exp $
COMMENT= "Network Kanji code conversion Filter"
DISTNAME= nkf-1.62
PKGNAME= ja-nkf-1.62
CATEGORIES= japanese textproc
NEED_VERSION= 1.402
2000-03-10 22:28:13 -05:00
MASTER_SITES= http://www.sfc.wide.ad.jp/~max/FreeBSD/ports/distfiles/
2000-10-09 20:40:20 -04:00
MAINTAINER= Marc Espie <espie@openbsd.org>
2000-02-12 01:29:49 -05:00
2000-10-09 20:40:20 -04:00
# BSD
2000-03-10 22:28:13 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-22 12:08:31 -05:00
MAKE_FILE=${FILESDIR}/Makefile
ALL_TARGET=nkf
# original english man page was rather difficult to follow
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nkf ${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/nkf.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/nkf.doc ${PREFIX}/man/ja_JP.EUC/cat1/nkf.0
test: build
cd ${WRKSRC} && perl nkf_test.pl
.include <bsd.port.mk>