summaryrefslogtreecommitdiff
path: root/converters/nkf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/nkf/Makefile')
-rw-r--r--converters/nkf/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/converters/nkf/Makefile b/converters/nkf/Makefile
index b0d8f38ab84..7e79ea3da67 100644
--- a/converters/nkf/Makefile
+++ b/converters/nkf/Makefile
@@ -1,19 +1,16 @@
-# $NetBSD: Makefile,v 1.11 2008/01/13 13:13:42 obache Exp $
+# $NetBSD: Makefile,v 1.12 2009/01/22 08:50:12 obache Exp $
-DISTNAME= nkf-2.0.8b
-PKGNAME= nkf-2.08b
+.include "${.CURDIR}/Makefile.common"
+
+PKGNAME= nkf-2.09
CATEGORIES= japanese converters
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=nkf/26243/}
MAINTAINER= cjs@NetBSD.org
-HOMEPAGE= http://sourceforge.jp/projects/nkf/
COMMENT= Convert between various Japanese character encodings
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
-WRKSRC= ${WRKDIR}/nkf-2.0.8
-
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
BUILD_TARGET= nkf
@@ -22,4 +19,11 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nkf ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/nkf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
+USE_TOOLS+= perl
+TEST_TARGET= test
+.endif
+
.include "../../mk/bsd.pkg.mk"