diff options
author | max <max@FreeBSD.org> | 2001-10-28 23:25:08 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 2001-10-28 23:25:08 +0800 |
commit | c3b66d227d72166bdc6726841c59955de063ca67 (patch) | |
tree | 3ff2502b594bc9e288e8f97aecc5608c7ecc2a88 /japanese | |
parent | 0ece32779c3353e527739cf008f2d36bfec2da23 (diff) | |
download | freebsd-ports-gnome-c3b66d227d72166bdc6726841c59955de063ca67.tar.gz freebsd-ports-gnome-c3b66d227d72166bdc6726841c59955de063ca67.tar.zst freebsd-ports-gnome-c3b66d227d72166bdc6726841c59955de063ca67.zip |
Update to 1.92.
Submitted by: TOGAWA Satoshi <toga@puyo.org>
PR: 31287 (1/2)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/nkf/Makefile | 16 | ||||
-rw-r--r-- | japanese/nkf/distinfo | 2 | ||||
-rw-r--r-- | japanese/nkf/files/patch-aa | 24 |
3 files changed, 27 insertions, 15 deletions
diff --git a/japanese/nkf/Makefile b/japanese/nkf/Makefile index e745df764ba0..f5a95e3bfa3b 100644 --- a/japanese/nkf/Makefile +++ b/japanese/nkf/Makefile @@ -6,11 +6,9 @@ # PORTNAME= nkf -PORTVERSION= 1.71 +PORTVERSION= 1.92 CATEGORIES= japanese -MASTER_SITES= ftp://ftp.ie.u-ryukyu.ac.jp/pub/software/kono/ \ - ftp://ftp.win.ne.jp/pub/misc/ \ - ftp://ftp.eos.hokudai.ac.jp/pub/tools/code-conv/nkf/ +MASTER_SITES= ftp://ftp.ie.u-ryukyu.ac.jp/pub/software/kono/ EXTRACT_SUFX= .shar DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} @@ -24,4 +22,14 @@ NO_WRKSUBDIR= yes MAN1= nkf.1 ../ja/man1/nkf.1 ALL_TARGET= nkf +do-extract: + @${RM} -rf ${WRKDIR} + @${MKDIR} ${WRKDIR}/NKF + @for file in ${EXTRACT_ONLY}; do \ + if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\ + then \ + exit 1; \ + fi \ + done + .include <bsd.port.mk> diff --git a/japanese/nkf/distinfo b/japanese/nkf/distinfo index 54fcc6d2d45e..a8f51407ae98 100644 --- a/japanese/nkf/distinfo +++ b/japanese/nkf/distinfo @@ -1 +1 @@ -MD5 (nkf171.shar) = 15c8a80760f5da0416c89cce1690c870 +MD5 (nkf192.shar) = 2e560387657d5d7c725875e548394b0f diff --git a/japanese/nkf/files/patch-aa b/japanese/nkf/files/patch-aa index cf31cbd019f7..8aa357694f57 100644 --- a/japanese/nkf/files/patch-aa +++ b/japanese/nkf/files/patch-aa @@ -1,16 +1,19 @@ ---- Makefile.orig Mon Nov 16 19:21:45 1998 -+++ Makefile Sun Mar 5 05:33:25 2000 -@@ -1,14 +1,22 @@ +--- Makefile.orig Sun Oct 28 07:30:22 2001 ++++ Makefile Sun Oct 28 07:34:31 2001 +@@ -1,13 +1,21 @@ -CC = cc -CFLAGS = -O -+PREFIX?=/usr/local ++PREFIX?= /usr/local +CC?= cc +CFLAGS?= -O SHAR = shar -T # SHAR = shar -PERL = perl5 +-RM = rm -rf +PERL?= perl5 -+INSTALL?=/usr/bin/install ++RM?= rm -rf ++INSTALL?= /usr/bin/install + VERSION = 19 nkf : nkf.c $(CC) $(CFLAGS) -o nkf nkf.c @@ -22,8 +25,9 @@ + ${INSTALL} -c -o root -g wheel -m 444 nkf.1j.euc ${PREFIX}/man/ja/man1/nkf.1 clean: -- rm -fr nkf.o nkf nkf.in nkf.out nkf17 *~ -+ rm -fr nkf.o nkf nkf.in nkf.out nkf17 nkf.1j.euc *~ - test: nkf - perl nkf_test.pl - + -$(RM) nkf.o nkf nkf.in nkf.out nkf$(VERSION) *~ *.bad +@@ -30,3 +38,4 @@ + done + ( cd nkf$(VERSION) ; $(SHAR) `cat ../MANIFEST` ) > nkf$(VERSION).shar + -$(RM) nkf$(VERSION) ++ |