summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2001-08-06 14:07:47 +0000
committerSADA Kenji <sada@FreeBSD.org>2001-08-06 14:07:47 +0000
commitf0267c266ff12f5798afcc48bb417ee5e9cc80a6 (patch)
treeefdb046f38f4acccf375afd69ce56fe90f04adfb /japanese
parentUnbroke wsetfont in Japanese/Korean environment. (diff)
Cope with update of bsd.man.mk .
Submitted by: sf [FreeBSD-users-jp 63159] Reported by: Yasuhito KAMINAGA <kaminaga@nat.gunma-ct.ac.jp>
Notes
Notes: svn path=/head/; revision=45881
Diffstat (limited to 'japanese')
-rw-r--r--japanese/xjman-3/Makefile7
-rw-r--r--japanese/xjman-3/scripts/configure2
-rw-r--r--japanese/xjman/Makefile7
-rw-r--r--japanese/xjman/scripts/configure2
4 files changed, 14 insertions, 4 deletions
diff --git a/japanese/xjman-3/Makefile b/japanese/xjman-3/Makefile
index 0bdeee0e8c71..a7788587b8cf 100644
--- a/japanese/xjman-3/Makefile
+++ b/japanese/xjman-3/Makefile
@@ -27,6 +27,11 @@ post-extract:
.for i in Makefile Makefile.inc
@${CP} ${FILESDIR}/$i ${WRKSRC}
.endfor
+.for sec in ${MANSECS}
+ (cd ${WRKSRC}/man${sec}; \
+ for f in *.${sec}x; do ${CP} $$f $${f%x}; done; \
+ ${PERL} -pi -e 's/^(\.so .*)x$$/$$1/' *.${sec})
+.endfor
post-build:
@${RM} -f ${PLIST}
@@ -34,7 +39,7 @@ post-build:
if [ -d ${WRKSRC}/man$${sec} ]; then \
cd ${WRKSRC}/man$${sec}; \
list=`${MAKE} pages-list`; \
- set `${ECHO} $$list " "|${SED} 's/\.\([0-9]\)x /.\1x \1 /g'`; \
+ set `${ECHO} $$list " "|${SED} 's/\.\([0-9]\) /.\1 \1 /g'`; \
while : ; do \
case $$# in \
0) break;; \
diff --git a/japanese/xjman-3/scripts/configure b/japanese/xjman-3/scripts/configure
index eb66aa645232..8da3fb55d313 100644
--- a/japanese/xjman-3/scripts/configure
+++ b/japanese/xjman-3/scripts/configure
@@ -11,7 +11,7 @@ for $sec (@MANSECS) {
@manpages = ();
@mlinks = ();
- for $manpage (<*.${sec}x>) {
+ for $manpage (<*.${sec}>) {
open(F, $manpage) || die "cannot open $manpage: $!\n";
$_ = <F>;
chop;
diff --git a/japanese/xjman/Makefile b/japanese/xjman/Makefile
index 0bdeee0e8c71..a7788587b8cf 100644
--- a/japanese/xjman/Makefile
+++ b/japanese/xjman/Makefile
@@ -27,6 +27,11 @@ post-extract:
.for i in Makefile Makefile.inc
@${CP} ${FILESDIR}/$i ${WRKSRC}
.endfor
+.for sec in ${MANSECS}
+ (cd ${WRKSRC}/man${sec}; \
+ for f in *.${sec}x; do ${CP} $$f $${f%x}; done; \
+ ${PERL} -pi -e 's/^(\.so .*)x$$/$$1/' *.${sec})
+.endfor
post-build:
@${RM} -f ${PLIST}
@@ -34,7 +39,7 @@ post-build:
if [ -d ${WRKSRC}/man$${sec} ]; then \
cd ${WRKSRC}/man$${sec}; \
list=`${MAKE} pages-list`; \
- set `${ECHO} $$list " "|${SED} 's/\.\([0-9]\)x /.\1x \1 /g'`; \
+ set `${ECHO} $$list " "|${SED} 's/\.\([0-9]\) /.\1 \1 /g'`; \
while : ; do \
case $$# in \
0) break;; \
diff --git a/japanese/xjman/scripts/configure b/japanese/xjman/scripts/configure
index eb66aa645232..8da3fb55d313 100644
--- a/japanese/xjman/scripts/configure
+++ b/japanese/xjman/scripts/configure
@@ -11,7 +11,7 @@ for $sec (@MANSECS) {
@manpages = ();
@mlinks = ();
- for $manpage (<*.${sec}x>) {
+ for $manpage (<*.${sec}>) {
open(F, $manpage) || die "cannot open $manpage: $!\n";
$_ = <F>;
chop;