1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/japanese/dvipsk/scripts/post-configure
R. Imura 284ed9060a Add missing post-configure script.
PR:		15172
Submitted by:	Maintainer
1999-12-10 06:11:15 +00:00

14 lines
288 B
Bash

#!/bin/sh
chgdirs=". kpathsea dvipsk"
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