1998-11-25 11:39:59 -05:00
|
|
|
# very loosely based on FreeBSD 2.2.7
|
2000-06-10 21:53:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2000/06/11 01:53:49 espie Exp $
|
1998-11-25 11:39:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
DISTNAME= nkf-1.62
|
|
|
|
PKGNAME= ja-nkf-1.62
|
|
|
|
CATEGORIES= japanese textproc
|
2000-02-22 12:08:31 -05:00
|
|
|
NEED_VERSION= 1.210
|
2000-03-10 22:28:13 -05:00
|
|
|
MASTER_SITES= http://www.sfc.wide.ad.jp/~max/FreeBSD/ports/distfiles/
|
1998-11-25 11:39:59 -05:00
|
|
|
|
|
|
|
MAINTAINER= espie@openbsd.org
|
2000-02-12 01:29:49 -05:00
|
|
|
|
|
|
|
LICENSE_TYPE= 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
|
1998-11-25 11:39:59 -05:00
|
|
|
|
|
|
|
ALL_TARGET=nkf
|
|
|
|
|
|
|
|
# original english man page was rather difficult to follow
|
1999-10-26 14:08:13 -04:00
|
|
|
do-install:
|
1998-11-25 11:39:59 -05:00
|
|
|
${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>
|