summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-07-16 11:02:10 +0000
committerrafan <rafan@FreeBSD.org>2007-07-16 11:02:10 +0000
commit0b14d2a21b9fa8ae7cf5c940be7a9d8a29d89222 (patch)
tree214c23b09f408bcc93dd1075bfd67fad56fb9d7f /japanese
parentcff237a07b50dd237a11079360a240ce5dde2fb5 (diff)
downloadFreeBSD-ports-0b14d2a21b9fa8ae7cf5c940be7a9d8a29d89222.zip
FreeBSD-ports-0b14d2a21b9fa8ae7cf5c940be7a9d8a29d89222.tar.gz
- 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
Diffstat (limited to 'japanese')
-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 2096293..247f800 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 \
OpenPOWER on IntegriCloud