1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/japanese/xdvik/scripts/post-configure
1999-06-11 19:03:45 +00:00

14 lines
302 B
Bash

#!/bin/sh
chgdirs=". texk texk/kpathsea texk/xdvik"
cd ${WRKSRC}
for dir in ${chgdirs}; do
${MV} -f ${dir}/Makefile ${dir}/Makefile.bak
${SED} \
-e 's@^prefix[ ]*=.*$@prefix=${PREFIX}@' \
-e 's@^texmf[ ]*=.*$@texmf=${PREFIX}/share/texmf@' \
< ${dir}/Makefile.bak > ${dir}/Makefile
done