1998-11-25 11:39:59 -05:00
|
|
|
# very loosely based on FreeBSD 2.2.7
|
2005-02-22 08:52:25 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2005/02/22 13:52:25 alek Exp $
|
2004-01-17 10:58:06 -05:00
|
|
|
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
1998-11-25 11:39:59 -05:00
|
|
|
|
2001-05-05 21:11:37 -04:00
|
|
|
COMMENT= "Network Kanji code conversion Filter"
|
1998-11-25 11:39:59 -05:00
|
|
|
|
2003-02-23 12:18:52 -05:00
|
|
|
VERSION= 1.92
|
|
|
|
DISTNAME= nkf-${VERSION}
|
|
|
|
PKGNAME= ja-nkf-${VERSION}
|
1998-11-25 11:39:59 -05:00
|
|
|
CATEGORIES= japanese textproc
|
2003-02-23 12:18:52 -05:00
|
|
|
DISTFILES= nkf192.shar
|
2002-10-26 20:50:30 -04:00
|
|
|
|
2003-02-23 12:18:52 -05:00
|
|
|
HOMEPAGE= http://www.ie.u-ryukyu.ac.jp/~kono/nkf/
|
|
|
|
MASTER_SITES= http://www.ie.u-ryukyu.ac.jp/~kono/nkf/dist/
|
1998-11-25 11:39:59 -05:00
|
|
|
|
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
|
2005-02-22 08:52:25 -05:00
|
|
|
WANTLIB= c
|
1998-11-25 11:39:59 -05:00
|
|
|
|
2003-02-23 12:18:52 -05:00
|
|
|
WRKDIST=${WRKDIR}
|
|
|
|
WRKSRC=${WRKDIR}/NKF
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=perl
|
|
|
|
|
|
|
|
pre-extract:
|
|
|
|
@mkdir -p ${WRKSRC}
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
cd ${WRKDIST} && ${CC} ${CFLAGS} -o nkf nkf.c
|
1998-11-25 11:39:59 -05:00
|
|
|
|
|
|
|
# original english man page was rather difficult to follow
|
2003-02-23 12:18:52 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIST}/nkf ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/nkf.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/nkf.doc ${PREFIX}/man/ja_JP.EUC/cat1/nkf.0
|
1998-11-25 11:39:59 -05:00
|
|
|
|
2002-10-26 20:50:30 -04:00
|
|
|
do-regress:
|
1998-11-25 11:39:59 -05:00
|
|
|
cd ${WRKSRC} && perl nkf_test.pl
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|