diff options
author | imura <imura@FreeBSD.org> | 1999-12-10 14:11:15 +0800 |
---|---|---|
committer | imura <imura@FreeBSD.org> | 1999-12-10 14:11:15 +0800 |
commit | c976ed38e517d3646bd3ee999ec068bbc836445a (patch) | |
tree | c4deafce77030fc09e79e53ff820788f4ac6fbb1 /japanese/dvipsk-vflib | |
parent | a0411f44f5a51194a9ae6669914ad90163baa9cf (diff) | |
download | freebsd-ports-gnome-c976ed38e517d3646bd3ee999ec068bbc836445a.tar.gz freebsd-ports-gnome-c976ed38e517d3646bd3ee999ec068bbc836445a.tar.zst freebsd-ports-gnome-c976ed38e517d3646bd3ee999ec068bbc836445a.zip |
Add missing post-configure script.
PR: 15172
Submitted by: Maintainer
Diffstat (limited to 'japanese/dvipsk-vflib')
-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 |