1999-03-29 20:15:09 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
1999-08-30 12:09:14 +00:00
|
|
|
# $FreeBSD$
|
1999-03-29 20:15:09 +00:00
|
|
|
|
|
|
|
cd ${WRKSRC}/man
|
|
|
|
|
|
|
|
for f in ${MAN1} ; do
|
|
|
|
mv man1/$f man1/$f.bak && \
|
2000-11-14 06:28:58 +00:00
|
|
|
soelim man1/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man1/$f
|
1999-03-29 20:15:09 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
for f in ${MAN5} ; do
|
|
|
|
mv man5/$f man5/$f.bak && \
|
2000-11-14 06:28:58 +00:00
|
|
|
soelim man5/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man5/$f
|
1999-03-29 20:15:09 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
for f in ${MAN8} ; do
|
|
|
|
mv man8/$f man8/$f.bak && \
|
2000-11-14 06:28:58 +00:00
|
|
|
soelim man8/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man8/$f
|
|
|
|
done
|
|
|
|
|
|
|
|
for f in `grep -r "\!\!PREFIX\!\!" ${WRKSRC} | cut -f 1 -d ':' | uniq` ; do \
|
|
|
|
mv $f $f.orig && sed s+!!PREFIX!!+$PREFIX+g < $f.orig > $f && \
|
|
|
|
rm $f.orig
|
1999-03-29 20:15:09 +00:00
|
|
|
done
|