summaryrefslogtreecommitdiff
path: root/textproc/smartdoc/scripts/configure
diff options
context:
space:
mode:
authorKiriyama Kazuhiko <kiri@FreeBSD.org>2001-03-19 10:27:31 +0000
committerKiriyama Kazuhiko <kiri@FreeBSD.org>2001-03-19 10:27:31 +0000
commit1075df73aa39921d071914621bd093f4b5adfbe6 (patch)
tree46562f745798412e441c071a5a4cc80f9bae7b84 /textproc/smartdoc/scripts/configure
parentReplace Freetype1-specific call with one sutable to freetype2, (diff)
Import new port textproc/smartdoc. SmartDoc is the XML utility to create
various documents.
Diffstat (limited to '')
-rw-r--r--textproc/smartdoc/scripts/configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/textproc/smartdoc/scripts/configure b/textproc/smartdoc/scripts/configure
new file mode 100644
index 000000000000..cbee4dc4f031
--- /dev/null
+++ b/textproc/smartdoc/scripts/configure
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+export JAVADIR JDKDIR
+
+perl -pi -e 's|%%JAVADIR%%|$ENV{JAVADIR}|g;s|%%JDKDIR%%|$ENV{JDKDIR}|g;' ${WRKSRC}/bin/sdoc