aboutsummaryrefslogtreecommitdiff
path: root/japanese/FreeWnn-lib
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-07-16 11:02:10 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-07-16 11:02:10 +0000
commit58b9e699770f7e90132efb733a0e3b2b92650e98 (patch)
tree397d45868e96a00780e27511e1c5db8aeaebd422 /japanese/FreeWnn-lib
parent505427c489b3a049bf4e3923a04471cffeac3d0a (diff)
- Patch makefile for localized manual pages location instead of passing
--mandir to configure which will be conflict with the default --mandir in bsd.port.mk (exp run on pointyhat now) Reported by: pointyhat exp run
Notes
Notes: svn path=/head/; revision=195721
Diffstat (limited to 'japanese/FreeWnn-lib')
-rw-r--r--japanese/FreeWnn-lib/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/japanese/FreeWnn-lib/Makefile b/japanese/FreeWnn-lib/Makefile
index 20962935fa88..247f80039db6 100644
--- a/japanese/FreeWnn-lib/Makefile
+++ b/japanese/FreeWnn-lib/Makefile
@@ -41,7 +41,12 @@ PKGINSTALL= ${WRKDIR}/pkg-install
.if (${WNN} == Wnn)
CONFIGURE_ARGS+= --enable-cWnn=no --enable-kWnn=no
MANLANG= ja
-CONFIGURE_ARGS+= --mandir=${PREFIX}/man/ja
+
+# localized manual pages live in ${MANPREFIX}/man/${MANLANG}
+post-patch:
+ @${REINPLACE_CMD} -e 's#@mandir@/#@mandir@/ja/#' \
+ ${WRKSRC}/makerule.mk.in
+
.if (${PKGNAMESUFFIX} == -lib)
MAN3+= \
jl_bun_suu.3 \