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.
27 lines
627 B
Makefile
27 lines
627 B
Makefile
# $NetBSD: Makefile,v 1.17 2009/01/22 08:50:12 obache Exp $
|
|
#
|
|
|
|
.include "../../converters/nkf/Makefile.common"
|
|
|
|
PKGNAME= p5-nkf-2.09
|
|
SVR4_PKGNAME= p5nkf
|
|
CATEGORIES= japanese converters perl5
|
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
|
COMMENT= Perl library for Network Kanji code conversion Filter
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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"
|