ports/185128: update japanese/nkf
Tsurutani Naoki
turutani at scphys.kyoto-u.ac.jp
Mon Dec 23 10:10:00 UTC 2013
>Number: 185128
>Category: ports
>Synopsis: update japanese/nkf
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 23 10:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Tsurutani Naoki
>Release: FreeBSD 8.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.4-PRERELEASE FreeBSD 8.4-PRERELEASE #26 r249149: Fri Apr 5 22:13:25 JST 2013 turutani at h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386
>Description:
japanese/nkf has been updated. v2.13 is available.
>How-To-Repeat:
>Fix:
here is a patch;
diff -urN nkf/Makefile nkf.new/Makefile
--- nkf/Makefile 2013-12-23 18:41:17.000000000 +0900
+++ nkf.new/Makefile 2013-12-23 17:02:37.000000000 +0900
@@ -1,11 +1,11 @@
# Created by: asami
# $FreeBSD$
PORTNAME= nkf
-PORTVERSION= 2.1.2
+PORTVERSION= 2.1.3
PORTEPOCH= 1
CATEGORIES?= japanese
-MASTER_SITES= SFJP/${PORTNAME}/53171
+MASTER_SITES= SFJP/${PORTNAME}/59912
MAINTAINER= hrs at FreeBSD.org
COMMENT= Network Kanji code conversion Filter
diff -urN nkf/distinfo nkf.new/distinfo
--- nkf/distinfo 2013-12-23 18:41:45.000000000 +0900
+++ nkf.new/distinfo 2013-12-23 17:04:09.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (nkf-2.1.2.tar.gz) = 034e8b676160fa7cfaf023ad130ce2d7a7309e917c8f41b308e9dc2f6218a0a6
-SIZE (nkf-2.1.2.tar.gz) = 158127
+SHA256 (nkf-2.1.3.tar.gz) = 8cb430ae69a1ad58b522eb4927b337b5b420bbaeb69df255919019dc64b72fc2
+SIZE (nkf-2.1.3.tar.gz) = 195020
diff -urN nkf/files/patch-Makefile nkf.new/files/patch-Makefile
--- nkf/files/patch-Makefile 2013-05-03 06:57:28.000000000 +0900
+++ nkf.new/files/patch-Makefile 2013-12-23 17:12:10.000000000 +0900
@@ -1,24 +1,28 @@
---- Makefile.orig 2009-11-17 09:33:04.000000000 +0900
-+++ Makefile 2010-02-15 23:02:44.471546444 +0900
-@@ -1,18 +1,22 @@
+--- Makefile.orig 2013-11-22 14:17:36.000000000 +0900
++++ Makefile 2013-12-23 17:11:38.000000000 +0900
+@@ -1,20 +1,24 @@
-CC = cc
-CFLAGS = -g -O2 -Wall -pedantic
-+CC?= cc
-+CFLAGS?= -g -O2 -Wall -pedantic
++CC? = cc
++CFLAGS? = -g -O2 -Wall -pedantic
# CFLAGS = -O3
SHAR = shar
# SHAR = shar -T
-PERL = perl
-RM = rm -rf
-+PERL?= perl
-+RM?= rm -rf
- VERSION = 2.1.2
++PERL? = perl
++RM? = rm -rf
+ VERSION = 2.1.3
MKDIR = mkdir
-prefix = /usr/local
+-PYTHON2 = python
+-PYTHON3 = python
+PREFIX?= /usr/local
+INSTALL?= /usr/bin/install
+BSD_INSTALL_PROGRAM?= ${INSTALL} -s -o root -g wheel -m 555
+BSD_INSTALL_MAN?= ${INSTALL} -o root -g wheel -m 444
++PYTHON2 = python2
++PYTHON3 = python3
.PHONY: clean install test tar shar
@@ -28,8 +32,8 @@
nkf.o : nkf.c nkf.h utf8tbl.h config.h
$(CC) $(CFLAGS) -c nkf.c
-@@ -34,14 +38,14 @@
- make test )
+@@ -44,14 +48,14 @@
+ $(PYTHON3) setup.py build )
install:
- -$(MKDIR) $(prefix)/bin
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list