aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/dvipsk-vflib
diff options
context:
space:
mode:
authorimura <imura@FreeBSD.org>1999-12-10 14:11:15 +0800
committerimura <imura@FreeBSD.org>1999-12-10 14:11:15 +0800
commitc976ed38e517d3646bd3ee999ec068bbc836445a (patch)
treec4deafce77030fc09e79e53ff820788f4ac6fbb1 /japanese/dvipsk-vflib
parenta0411f44f5a51194a9ae6669914ad90163baa9cf (diff)
downloadfreebsd-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-configure13
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