1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add missing post-configure script.

PR:		15172
Submitted by:	Maintainer
This commit is contained in:
R. Imura 1999-12-10 06:11:15 +00:00
parent b707cff847
commit 284ed9060a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23712
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#!/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

View File

@ -0,0 +1,13 @@
#!/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