blob: 3ed94763574b0cd13fabecab2954520aefaf3859 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= kcode
PORTVERSION= 1.0
CATEGORIES= japanese
MASTER_SITES= http://www.irori.org/dl/tool/
DISTFILES= ${PORTNAME}-${PORTVERSION}.gz
EXTRACT_ONLY= ${DISTFILES}
MAINTAINER= ports@FreeBSD.org
COMMENT= Handy utility to show codepoint information of given characters
USES= shebangfix perl5
USE_PERL5= extract run
NO_WRKSUBDIR= yes
NO_BUILD= yes
SHEBANG_FILES= kcode
perl_OLD_CMD= /usr/bin/env perl
PLIST_FILES= bin/kcode man/ja/man1/kcode.1.gz
RUN_DEPENDS= ja-p5-Jcode>=0:${PORTSDIR}/japanese/p5-Jcode
do-extract:
${MKDIR} ${WRKSRC}
${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} > ${WRKSRC}/kcode
pod2man ${WRKSRC}/kcode ${WRKSRC}/kcode.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/kcode ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/kcode.1 ${STAGEDIR}${MANPREFIX}/man/ja/man1
.include <bsd.port.mk>
|