aboutsummaryrefslogtreecommitdiff
path: root/japanese/nkf
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>2005-05-10 08:58:42 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>2005-05-10 08:58:42 +0000
commite3361bb17accb10bd23bc80d2dc733ccc4fd6017 (patch)
tree2b447287f09d4cfd4d65bd93d9a205c938e58e1b /japanese/nkf
parent5f35726c43458e6a17511fab92fcac14b5926663 (diff)
downloadports-e3361bb17accb10bd23bc80d2dc733ccc4fd6017.tar.gz
ports-e3361bb17accb10bd23bc80d2dc733ccc4fd6017.zip
Update to 2.05, and also, make ja-p5-nkf a slave port of ja-nkf.
Notes
Notes: svn path=/head/; revision=134976
Diffstat (limited to 'japanese/nkf')
-rw-r--r--japanese/nkf/Makefile9
-rw-r--r--japanese/nkf/distinfo4
-rw-r--r--japanese/nkf/files/patch-aa17
3 files changed, 17 insertions, 13 deletions
diff --git a/japanese/nkf/Makefile b/japanese/nkf/Makefile
index a3302d39e094..b5cfe245b345 100644
--- a/japanese/nkf/Makefile
+++ b/japanese/nkf/Makefile
@@ -6,17 +6,20 @@
#
PORTNAME= nkf
-PORTVERSION= 2.04
-CATEGORIES= japanese
+PORTVERSION= 2.05
+CATEGORIES?= japanese
MASTER_SITES= http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/
+PKGNAMEPREFIX?= ja-
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//:S/./-/}
MAINTAINER= max@FreeBSD.org
-COMMENT= Network Kanji code conversion Filter
+COMMENT?= Network Kanji code conversion Filter
+.if ${PKGNAMEPREFIX} != "ja-p5-"
MAN1= nkf.1
MANLANG= "" ja
PLIST_FILES= bin/nkf
ALL_TARGET= nkf
+.endif
.include <bsd.port.mk>
diff --git a/japanese/nkf/distinfo b/japanese/nkf/distinfo
index bbbba31f1a04..1f69e027aad5 100644
--- a/japanese/nkf/distinfo
+++ b/japanese/nkf/distinfo
@@ -1,2 +1,2 @@
-MD5 (nkf204.tar.gz) = e1e0624a81dbc8a6f4516307704f5f8a
-SIZE (nkf204.tar.gz) = 107085
+MD5 (nkf205.tar.gz) = e34d936b20aaf581da5759fbaf0438f3
+SIZE (nkf205.tar.gz) = 149809
diff --git a/japanese/nkf/files/patch-aa b/japanese/nkf/files/patch-aa
index a62b393ad2f3..ef5ea8c669d3 100644
--- a/japanese/nkf/files/patch-aa
+++ b/japanese/nkf/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Sat Jan 25 09:09:12 2003
-+++ Makefile Mon Feb 3 17:03:15 2003
-@@ -1,18 +1,26 @@
+--- Makefile.orig Sun Apr 10 06:01:54 2005
++++ Makefile Tue May 10 17:03:31 2005
+@@ -1,19 +1,27 @@
-CC = cc
-CFLAGS = -O
+PREFIX?= /usr/local
@@ -11,10 +11,12 @@
# SHAR = shar -T
-PERL = perl
-RM = rm -rf
-+PERL?= perl5
++PERL?= perl
+RM?= rm -rf
+INSTALL?= /usr/bin/install
- VERSION = 204
+ VERSION = 205
+ EXIST = test -f
+ #EXIST = exist #nmake
nkf : nkf.c config.h utf8tbl.o
$(CC) $(CFLAGS) -o nkf nkf.c utf8tbl.o
@@ -22,12 +24,11 @@
utf8tbl.o : utf8tbl.c config.h
$(CC) $(CFLAGS) -c utf8tbl.c
-
++
+install:
+ ${INSTALL} -c -o root -g wheel -m 555 nkf ${PREFIX}/bin
+ ${INSTALL} -c -o root -g wheel -m 444 nkf.1 ${PREFIX}/man/man1/nkf.1
+ ${INSTALL} -c -o root -g wheel -m 444 nkf.1j.euc ${PREFIX}/man/ja/man1/nkf.1
-+
+
clean:
-$(RM) nkf.o nkf nkf.in nkf.out nkf$(VERSION) *~ *.bad utf8tbl.o
- cd NKF.mod; make clean