aboutsummaryrefslogtreecommitdiff
path: root/japanese/dvipsk
diff options
context:
space:
mode:
authorR. Imura <imura@FreeBSD.org>1999-12-10 06:11:15 +0000
committerR. Imura <imura@FreeBSD.org>1999-12-10 06:11:15 +0000
commit284ed9060a1a444786455f9700ceb6fa4441ee0a (patch)
treec18bf24d31845d3c5a6af75ea5791419366f9dda /japanese/dvipsk
parentb707cff847c85c767afd7a302f7941f523f67fe0 (diff)
downloadports-284ed9060a1a444786455f9700ceb6fa4441ee0a.tar.gz
ports-284ed9060a1a444786455f9700ceb6fa4441ee0a.zip
Notes
Diffstat (limited to 'japanese/dvipsk')
-rw-r--r--japanese/dvipsk/scripts/post-configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/japanese/dvipsk/scripts/post-configure b/japanese/dvipsk/scripts/post-configure
new file mode 100644
index 000000000000..b2bdfde1d822
--- /dev/null
+++ b/japanese/dvipsk/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