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