summaryrefslogtreecommitdiff
path: root/print/apsfilter/scripts/pre-configure
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2001-12-17 18:47:36 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2001-12-17 18:47:36 +0000
commit4c3cb8b3d95ff7255c77ba825c7bc03664746a5a (patch)
treee7a1d874808e13f67d2b9782a8f1230ff7866056 /print/apsfilter/scripts/pre-configure
parentUpdate jp pack. (diff)
Unluckily FreeBSD's shell isn't able to read from/write to /dev/stdin
and stdout. Therefore we have to use bash as shell for /usr/local/bin/aps2file program. Arrange things with patch and pre-configure command, so that this port stays prefix-clean. The patch inserts !!PREFIX!!/bin/bash and configure configures in the current PREFIX settings. I'd whish somebody could fix our shell to remove the dependency from bash.
Notes
Notes: svn path=/head/; revision=51679
Diffstat (limited to '')
-rw-r--r--print/apsfilter/scripts/pre-configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/print/apsfilter/scripts/pre-configure b/print/apsfilter/scripts/pre-configure
new file mode 100644
index 000000000000..35c8ac22508d
--- /dev/null
+++ b/print/apsfilter/scripts/pre-configure
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+perl -pi -e "s|!!PREFIX!!|$PREFIX|" ${WRKSRC}/bin/aps2file
+
+exit 0