summaryrefslogtreecommitdiff
path: root/textproc/gxditview/scripts/pre-configure
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-07-20 03:45:24 +0000
committerSteve Price <steve@FreeBSD.org>1998-07-20 03:45:24 +0000
commitde7418aad0bd36109e9398f2fdb3f7d5e96f435d (patch)
tree78358f031b11ddb8ea24afacdc945b7e684d77dd /textproc/gxditview/scripts/pre-configure
parentUpdate to version 3.0-p17. (diff)
Port to build gxditview that is part of the base OS' groff code.
PR: 7260 Submitted by: Dom Mitchell <dom@myrddin.demon.co.uk>
Notes
Notes: svn path=/head/; revision=11997
Diffstat (limited to '')
-rw-r--r--textproc/gxditview/scripts/pre-configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/gxditview/scripts/pre-configure b/textproc/gxditview/scripts/pre-configure
new file mode 100644
index 000000000000..be4c2b82bebf
--- /dev/null
+++ b/textproc/gxditview/scripts/pre-configure
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Set up the Imakefile correctly for gxditview.
+#
+# $Id$
+#
+
+cd $WRKSRC
+sed -e 's|^GROFF_LIBDIR.*|GROFF_LIBDIR=/usr/share|' \
+ -e 's|^GROFF_FONTDIR.*|GROFF_FONTDIR=/usr/share/groff_font|' \
+ -e 's|^GROFF_FONTPATH.*|GROFF_FONTPATH=.:$(GROFF_FONTDIR)|' \
+ Imakefile > Imakefile.new
+mv Imakefile.new Imakefile