aboutsummaryrefslogtreecommitdiff
path: root/japanese/kcode
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2014-09-20 06:38:37 +0000
committerAndrej Zverev <az@FreeBSD.org>2014-09-20 06:38:37 +0000
commit60bc65ec61f2145e40ecc70dd1c154e200b041d5 (patch)
treef0e2e61bce4ca5a48f230f43405c5e911002cfa8 /japanese/kcode
parentff975e3fba5454b27406975177086b84b10a2905 (diff)
downloadports-60bc65ec61f2145e40ecc70dd1c154e200b041d5.tar.gz
ports-60bc65ec61f2145e40ecc70dd1c154e200b041d5.zip
fix build with perl 5.18
PR: 193064
Notes
Notes: svn path=/head/; revision=368620
Diffstat (limited to 'japanese/kcode')
-rw-r--r--japanese/kcode/Makefile2
-rw-r--r--japanese/kcode/files/patch-kcode10
2 files changed, 11 insertions, 1 deletions
diff --git a/japanese/kcode/Makefile b/japanese/kcode/Makefile
index 3ed94763574b..1b204265b9ef 100644
--- a/japanese/kcode/Makefile
+++ b/japanese/kcode/Makefile
@@ -25,10 +25,10 @@ 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
+ pod2man ${WRKSRC}/kcode ${WRKSRC}/kcode.1
${INSTALL_MAN} ${WRKSRC}/kcode.1 ${STAGEDIR}${MANPREFIX}/man/ja/man1
.include <bsd.port.mk>
diff --git a/japanese/kcode/files/patch-kcode b/japanese/kcode/files/patch-kcode
new file mode 100644
index 000000000000..a5ea70602375
--- /dev/null
+++ b/japanese/kcode/files/patch-kcode
@@ -0,0 +1,10 @@
+--- ./kcode.orig 2014-09-20 02:00:07.356860273 +0400
++++ ./kcode 2014-09-20 02:00:18.458870406 +0400
+@@ -5,6 +5,7 @@
+ # Copyright (c) 2004 HIROSE, Masaaki. All rights reserved.
+ #
+
++=encoding utf8
+ =head1 NAME
+
+ B<kcode> - 各種文字コードを表示する