From 5787756967ac4c955ba6baf159964acc0bd99f97 Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 23 Feb 2003 17:18:52 +0000 Subject: [PATCH] Update to version 1.92. --- japanese/nkf/Makefile | 31 +++++++++++++++++++++---------- japanese/nkf/distinfo | 6 +++--- japanese/nkf/pkg/PLIST | 11 +++++++++-- 3 files changed, 33 insertions(+), 15 deletions(-) diff --git a/japanese/nkf/Makefile b/japanese/nkf/Makefile index d146776f001..a049b561355 100644 --- a/japanese/nkf/Makefile +++ b/japanese/nkf/Makefile @@ -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 @@ -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 diff --git a/japanese/nkf/distinfo b/japanese/nkf/distinfo index ebbbb03014d..8bbea9775c2 100644 --- a/japanese/nkf/distinfo +++ b/japanese/nkf/distinfo @@ -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 diff --git a/japanese/nkf/pkg/PLIST b/japanese/nkf/pkg/PLIST index 950d10d3b87..6891bd7ef63 100644 --- a/japanese/nkf/pkg/PLIST +++ b/japanese/nkf/pkg/PLIST @@ -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