diff options
author | R. Imura <imura@FreeBSD.org> | 1999-12-10 06:11:15 +0000 |
---|---|---|
committer | R. Imura <imura@FreeBSD.org> | 1999-12-10 06:11:15 +0000 |
commit | 284ed9060a1a444786455f9700ceb6fa4441ee0a (patch) | |
tree | c18bf24d31845d3c5a6af75ea5791419366f9dda /japanese/dvipsk-vflib/scripts | |
parent | Fix one of the MASTER_SITES (diff) |
Add missing post-configure script.
PR: 15172
Submitted by: Maintainer
Notes
Notes:
svn path=/head/; revision=23712
Diffstat (limited to 'japanese/dvipsk-vflib/scripts')
-rw-r--r-- | japanese/dvipsk-vflib/scripts/post-configure | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/japanese/dvipsk-vflib/scripts/post-configure b/japanese/dvipsk-vflib/scripts/post-configure new file mode 100644 index 000000000000..b2bdfde1d822 --- /dev/null +++ b/japanese/dvipsk-vflib/scripts/post-configure @@ -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 |