summaryrefslogtreecommitdiff
path: root/converters/p5-nkf
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-01-22 08:50:12 +0000
committerobache <obache@pkgsrc.org>2009-01-22 08:50:12 +0000
commit5f1dfd5d76db2a36e3bf63a88f00e1de0eb66ccd (patch)
tree8dae9e28dc3f1ed5f717bf4aea263627ca117378 /converters/p5-nkf
parent462b9e477dcb74b6be07fc65adf80d1289db07eb (diff)
downloadpkgsrc-5f1dfd5d76db2a36e3bf63a88f00e1de0eb66ccd.tar.gz
Update nkf to 2.09.
While here, add support of self test if PKGSRC_RUN_TEST=YES, and let p5-nkf to sync with nkf. Changes: * Add -Z4 option. Convert JIS X 0208 KANA to JIS X 0201 KANA (ZENKAKU to HANKAKU). * Add -g=0, -g=1, --guess=0 and --guess=1 option. guesses linefeed code. * Add some comple option. See also config.h for more information. * Some bug fixes. * Change license from original one to zlib's one. * Change SCM from CVS to Git.
Diffstat (limited to 'converters/p5-nkf')
-rw-r--r--converters/p5-nkf/Makefile20
-rw-r--r--converters/p5-nkf/distinfo5
2 files changed, 13 insertions, 12 deletions
diff --git a/converters/p5-nkf/Makefile b/converters/p5-nkf/Makefile
index bad418cb0cf..ef75af9f98a 100644
--- a/converters/p5-nkf/Makefile
+++ b/converters/p5-nkf/Makefile
@@ -1,21 +1,27 @@
-# $NetBSD: Makefile,v 1.16 2008/10/19 19:17:42 he Exp $
+# $NetBSD: Makefile,v 1.17 2009/01/22 08:50:12 obache Exp $
#
-DISTNAME= nkf205
-PKGNAME= p5-nkf-2.05
-PKGREVISION= 2
+.include "../../converters/nkf/Makefile.common"
+
+PKGNAME= p5-nkf-2.09
SVR4_PKGNAME= p5nkf
CATEGORIES= japanese converters perl5
-MASTER_SITES= http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
-HOMEPAGE= http://sourceforge.jp/projects/nkf/
COMMENT= Perl library for Network Kanji code conversion Filter
PKG_DESTDIR_SUPPORT= user-destdir
-WRKSRC= ${WRKDIR}/${DISTNAME}/NKF.mod
+USE_LANGUAGES= c
+
+PERL5_CONFIGURE_DIRS= NKF.mod
+BUILD_DIRS= ${PERL5_CONFIGURE_DIRS}
PERL5_PACKLIST= auto/NKF/.packlist
+SUBST_CLASSES+= sp
+SUBST_STAGE.sp= pre-configure
+SUBST_FILES.sp= nkf.c
+SUBST_SED.sp= -e 's/SP/SPSP/g'
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/p5-nkf/distinfo b/converters/p5-nkf/distinfo
deleted file mode 100644
index 6d2f702fbde..00000000000
--- a/converters/p5-nkf/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/06/25 03:26:15 taca Exp $
-
-SHA1 (nkf205.tar.gz) = 78f1321d0dec16dd9bb6f046a349aadc86c027b4
-RMD160 (nkf205.tar.gz) = 55d48e281f6491c299897c3f22c3f0a2b2a13b16
-Size (nkf205.tar.gz) = 149809 bytes