Update to version 1.92.

This commit is contained in:
espie 2003-02-23 17:18:52 +00:00
parent ba7ea3f211
commit 5787756967
3 changed files with 33 additions and 15 deletions

View File

@ -1,13 +1,16 @@
# very loosely based on FreeBSD 2.2.7
# $OpenBSD: Makefile,v 1.11 2002/10/27 00:50:30 naddy Exp $
# $OpenBSD: Makefile,v 1.12 2003/02/23 17:18:52 espie Exp $
COMMENT= "Network Kanji code conversion Filter"
DISTNAME= nkf-1.62
PKGNAME= ja-nkf-1.62
VERSION= 1.92
DISTNAME= nkf-${VERSION}
PKGNAME= ja-nkf-${VERSION}
CATEGORIES= japanese textproc
DISTFILES= nkf192.shar
MASTER_SITES= http://www.sfc.wide.ad.jp/~max/FreeBSD/ports/distfiles/
HOMEPAGE= http://www.ie.u-ryukyu.ac.jp/~kono/nkf/
MASTER_SITES= http://www.ie.u-ryukyu.ac.jp/~kono/nkf/dist/
MAINTAINER= Marc Espie <espie@openbsd.org>
@ -16,15 +19,23 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FILE=${FILESDIR}/Makefile
ALL_TARGET=nkf
WRKDIST=${WRKDIR}
WRKSRC=${WRKDIR}/NKF
CONFIGURE_STYLE=perl
pre-extract:
@mkdir -p ${WRKSRC}
pre-build:
cd ${WRKDIST} && ${CC} ${CFLAGS} -o nkf nkf.c
# 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
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
do-regress:
cd ${WRKSRC} && perl nkf_test.pl

View File

@ -1,3 +1,3 @@
MD5 (nkf-1.62.tar.gz) = dc718ce2be8da8f592b68fc024ab3ec1
RMD160 (nkf-1.62.tar.gz) = f9e85dc6f7ce104b36dd73d3e99292c68e7d1e2a
SHA1 (nkf-1.62.tar.gz) = 3f8373578f7e06638d533b815c902804d27fdef1
MD5 (nkf192.shar) = 2e560387657d5d7c725875e548394b0f
RMD160 (nkf192.shar) = 6fb282a664dfc2ad0a35d75baa320916d56c5742
SHA1 (nkf192.shar) = a5d80bfd821a5358ac7c3830eb40f28ac2441f40

View File

@ -1,4 +1,11 @@
@comment $OpenBSD: PLIST,v 1.3 2002/04/07 01:54:50 naddy Exp $
@comment $OpenBSD: PLIST,v 1.4 2003/02/23 17:18:52 espie Exp $
bin/nkf
man/man1/nkf.1
${P5ARCH}/NKF.pm
${P5ARCH}/auto/NKF/NKF.bs
${P5ARCH}/auto/NKF/NKF.so
man/ja_JP.EUC/cat1/nkf.0
man/man1/nkf.1
man/man3p/NKF.3p
@dirrm man/man3p
@dirrm ${P5ARCH}/auto/NKF
@dirrm ${P5ARCH}/auto