aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2014-09-20 14:38:37 +0800
committeraz <az@FreeBSD.org>2014-09-20 14:38:37 +0800
commit7f5282f92170195c5ef8d545af23407557cf59fb (patch)
treef0e2e61bce4ca5a48f230f43405c5e911002cfa8 /japanese
parenta7101becb3e232fb500b113468cb8bbc933bcdeb (diff)
downloadfreebsd-ports-gnome-7f5282f92170195c5ef8d545af23407557cf59fb.tar.gz
freebsd-ports-gnome-7f5282f92170195c5ef8d545af23407557cf59fb.tar.zst
freebsd-ports-gnome-7f5282f92170195c5ef8d545af23407557cf59fb.zip
fix build with perl 5.18
PR: 193064
Diffstat (limited to 'japanese')
-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> - 各種文字コードを表示する