summaryrefslogtreecommitdiff
path: root/textproc/smartdoc-devel/scripts/configure
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/smartdoc-devel/scripts/configure')
-rw-r--r--textproc/smartdoc-devel/scripts/configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/textproc/smartdoc-devel/scripts/configure b/textproc/smartdoc-devel/scripts/configure
new file mode 100644
index 000000000000..a2703a536bda
--- /dev/null
+++ b/textproc/smartdoc-devel/scripts/configure
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+export JAVALIBDIR
+
+perl -pi -e 's|%%JAVALIBDIR%%|$ENV{JAVALIBDIR}|g;s|%%LOCALBASE%%|$ENV{LOCALBASE}|g;' ${WRKSRC}/bin/sdoc