aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2006-05-06 14:06:14 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2006-05-06 14:06:14 +0000
commitef8c3160f2584bce754d7afefa9e0be26eebdb23 (patch)
treee8e22eafbed3eaa4242d7f333cdd09654c5f953b /japanese
parent9862452177155d48da37aead9aadf6cc70cd3a39 (diff)
downloadports-ef8c3160f2584bce754d7afefa9e0be26eebdb23.tar.gz
ports-ef8c3160f2584bce754d7afefa9e0be26eebdb23.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/nkf/Makefile10
-rw-r--r--japanese/nkf/distinfo6
-rw-r--r--japanese/nkf/files/patch-aa22
-rw-r--r--japanese/p5-nkf/Makefile8
4 files changed, 27 insertions, 19 deletions
diff --git a/japanese/nkf/Makefile b/japanese/nkf/Makefile
index 68e68cbb6849..788898547e70 100644
--- a/japanese/nkf/Makefile
+++ b/japanese/nkf/Makefile
@@ -6,15 +6,19 @@
#
PORTNAME= nkf
-PORTVERSION= 2.05
+PORTVERSION= 2.06
+DISTVERSION= a
CATEGORIES?= japanese
-MASTER_SITES= http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= ${PORTNAME}/19481
PKGNAMEPREFIX?= ja-
-DISTNAME= ${PORTNAME}${PORTVERSION:S/.//:S/./-/}
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//:S/./-/}${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT?= Network Kanji code conversion Filter
+WRKSRC?= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//:S/./-/}
+
.if ${PKGNAMEPREFIX} != "ja-p5-"
MAN1= nkf.1
MANLANG= "" ja
diff --git a/japanese/nkf/distinfo b/japanese/nkf/distinfo
index d66af6fd38b8..953afd81ccbf 100644
--- a/japanese/nkf/distinfo
+++ b/japanese/nkf/distinfo
@@ -1,3 +1,3 @@
-MD5 (nkf205.tar.gz) = e34d936b20aaf581da5759fbaf0438f3
-SHA256 (nkf205.tar.gz) = 6065063f89a921f30e71af7e0717577277c6ceb4fe4353aca4990547cc723cd4
-SIZE (nkf205.tar.gz) = 149809
+MD5 (nkf206a.tar.gz) = f4b07268b238ac85551e2777fa2c3836
+SHA256 (nkf206a.tar.gz) = 8b0e93dcc1270a13cd7fc74d65f636f036de554c1f46e93629cf5a932650ea49
+SIZE (nkf206a.tar.gz) = 244822
diff --git a/japanese/nkf/files/patch-aa b/japanese/nkf/files/patch-aa
index ef5ea8c669d3..08798d31a662 100644
--- a/japanese/nkf/files/patch-aa
+++ b/japanese/nkf/files/patch-aa
@@ -1,11 +1,11 @@
---- Makefile.orig Sun Apr 10 06:01:54 2005
-+++ Makefile Tue May 10 17:03:31 2005
-@@ -1,19 +1,27 @@
+--- Makefile.orig Mon Mar 27 21:46:57 2006
++++ Makefile Sat May 6 22:40:48 2006
+@@ -1,17 +1,27 @@
-CC = cc
--CFLAGS = -O
+-CFLAGS = -O -Wall
+PREFIX?= /usr/local
+CC?= cc
-+CFLAGS?= -O
++CFLAGS?= -O -Wall
# CFLAGS = -O3
SHAR = shar
# SHAR = shar -T
@@ -14,9 +14,9 @@
+PERL?= perl
+RM?= rm -rf
+INSTALL?= /usr/bin/install
- VERSION = 205
- EXIST = test -f
- #EXIST = exist #nmake
++BSD_INSTALL_PROGRAM?= ${INSTALL} -s -o root -g wheel -m 555
++BSD_INSTALL_MAN?= ${INSTALL} -o root -g wheel -m 444
+ VERSION = 206
nkf : nkf.c config.h utf8tbl.o
$(CC) $(CFLAGS) -o nkf nkf.c utf8tbl.o
@@ -26,9 +26,9 @@
$(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
++ ${BSD_INSTALL_PROGRAM} nkf ${PREFIX}/bin
++ ${BSD_INSTALL_MAN} nkf.1 ${PREFIX}/man/man1/nkf.1
++ ${BSD_INSTALL_MAN} nkf.1j.euc ${PREFIX}/man/ja/man1/nkf.1
clean:
-$(RM) nkf.o nkf nkf.in nkf.out nkf$(VERSION) *~ *.bad utf8tbl.o
diff --git a/japanese/p5-nkf/Makefile b/japanese/p5-nkf/Makefile
index 3d9bb97074f7..717ba3fd5ae6 100644
--- a/japanese/p5-nkf/Makefile
+++ b/japanese/p5-nkf/Makefile
@@ -7,13 +7,17 @@
CATEGORIES= japanese perl5
PKGNAMEPREFIX= ja-p5-
+
COMMENT= A perl extension module to use NKF
+
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
+
PERL_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/NKF.mod
+WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//:S/./-/}/NKF.mod
PATCHDIR= ${.CURDIR}/files
MAN3= NKF.3
+
MASTERDIR= ${.CURDIR}/../nkf
-.include "${MASTERDIR}/../nkf/Makefile"
+.include "${MASTERDIR}/Makefile"