aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/man
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2002-02-21 08:54:24 +0800
committerkuriyama <kuriyama@FreeBSD.org>2002-02-21 08:54:24 +0800
commite03894dad0cb237639b0ee67d2b57835b844e248 (patch)
tree1d57824542de97a3641e382fff37b472cf1b3823 /japanese/man
parent56c2a26cac2779c9e86f1dc3c8edfcb134de8e7e (diff)
downloadfreebsd-ports-gnome-e03894dad0cb237639b0ee67d2b57835b844e248.tar.gz
freebsd-ports-gnome-e03894dad0cb237639b0ee67d2b57835b844e248.tar.zst
freebsd-ports-gnome-e03894dad0cb237639b0ee67d2b57835b844e248.zip
Make this port LOCALBASE clean.
Submitted by: Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp> PR: ports/34903
Diffstat (limited to 'japanese/man')
-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