From 20aba8b57a317e5b6f7238a0703eedebc59ae2d8 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Tue, 26 Oct 2004 14:28:42 +0000 Subject: Add ja-kcode, a handy utility to show codepoint information of given characters. --- japanese/kcode/Makefile | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 japanese/kcode/Makefile (limited to 'japanese/kcode/Makefile') diff --git a/japanese/kcode/Makefile b/japanese/kcode/Makefile new file mode 100644 index 000000000000..cc153633d173 --- /dev/null +++ b/japanese/kcode/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: kcode +# Date created: 26 October 2004 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= kcode +PORTVERSION= 1.0 +CATEGORIES= japanese +MASTER_SITES= http://www.irori.org/dl/tool/ +DISTFILES= ${PORTNAME}-${PORTVERSION}.gz +EXTRACT_ONLY= ${DISTFILES} + +MAINTAINER= knu@FreeBSD.org +COMMENT= A handy utility to show codepoint information of given characters + +RUN_DEPENDS= ${_RUN_DEPENDS} + +USE_PERL= yes + +NO_WRKSUBDIR= yes +NO_BUILD= yes + +MANLANG= ja +MAN1= kcode.1 +MANCOMPRESSED= no + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= This port requires perl 5.6.0 or later +.elif ${PERL_LEVEL} < 500800 +_RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode +.endif + +do-extract: + ${MKDIR} ${WRKSRC} + ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} > ${WRKSRC}/kcode + pod2man ${WRKSRC}/kcode ${WRKSRC}/kcode.1 + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/kcode ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/kcode.1 ${MAN1PREFIX}/man/ja/man1/ + +.include -- cgit v1.2.3