summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-02-21 00:54:24 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-02-21 00:54:24 +0000
commitb0d00b0ab76e81c5cfecea00042779b7196cc17f (patch)
treed402f304a110b3b7cb47aa6f4252536ff34f2991 /japanese
parentDistfile replaced for a bug fix. (diff)
Make this port LOCALBASE clean.
Submitted by: Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp> PR: ports/34903
Notes
Notes: svn path=/head/; revision=55008
Diffstat (limited to 'japanese')
-rw-r--r--japanese/man/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/japanese/man/Makefile b/japanese/man/Makefile
index 14697bfb7647..6a7e69c634d7 100644
--- a/japanese/man/Makefile
+++ b/japanese/man/Makefile
@@ -30,6 +30,15 @@ MAN1= jman.1 jmanpath.1 japropos.1 \
MAN8= jmakewhatis.local.8 jcatman.local.8
MANCOMPRESSED= yes
+post-patch:
+.for file in apropos/apropos.sh catman/catman.perl \
+ makewhatis/jmakewhatis.local.man \
+ makewhatis/jmakewhatis.local.man.eng \
+ makewhatis/makewhatis.local.sh \
+ man/locale.c manpath/manpath.config
+ ${PERL} -pi -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/${file}
+.endfor
+
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL