diff options
author | kiri <kiri@FreeBSD.org> | 2002-07-29 10:53:16 +0000 |
---|---|---|
committer | kiri <kiri@FreeBSD.org> | 2002-07-29 10:53:16 +0000 |
commit | 8e0bb80a63d721d8c85809799f0a9213502e03df (patch) | |
tree | 12e601b14da0fc53b23e8617de10c16954b94366 /textproc/smartdoc-devel/files | |
parent | 285caabe37d142b88e8cf30ce468ba74ef692072 (diff) | |
download | FreeBSD-ports-8e0bb80a63d721d8c85809799f0a9213502e03df.zip FreeBSD-ports-8e0bb80a63d721d8c85809799f0a9213502e03df.tar.gz |
New port for SmartDoc development version(Beta). First, put
beta of 1.0.0 at 1/7/2002(1.0.1b) with 1.0.0.20020701.
Diffstat (limited to 'textproc/smartdoc-devel/files')
-rw-r--r-- | textproc/smartdoc-devel/files/catalog | 1 | ||||
-rw-r--r-- | textproc/smartdoc-devel/files/sdoc.in | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/textproc/smartdoc-devel/files/catalog b/textproc/smartdoc-devel/files/catalog new file mode 100644 index 0000000..632495e --- /dev/null +++ b/textproc/smartdoc-devel/files/catalog @@ -0,0 +1 @@ +PUBLIC "-//Tomoharu Asami//DTD PureSmartDoc XML V0.6.9//EN" "PureSmartDoc.dtd" diff --git a/textproc/smartdoc-devel/files/sdoc.in b/textproc/smartdoc-devel/files/sdoc.in new file mode 100644 index 0000000..0480130 --- /dev/null +++ b/textproc/smartdoc-devel/files/sdoc.in @@ -0,0 +1,12 @@ +#! /bin/sh + +INSTALLDIR=%%JAVALIBDIR%%/classes +JAVA_VERSION=`javavm -version 2>&1 | grep "^java.* version" | sed -e 's/^.* version "\([0-9]*\.[0-9]*\)\..*"$/\1/'` + +if [ "$JAVA_VERSION" = '1.1' ]; then + echo "SmartDoc requires Java newer than 1.2." + echo "Fix %%LOCALBASE%%/etc/javavms properly, or set the environment variable JAVAVM to a correct JavaVM." + exit 1 +fi + +exec javavm -jar $INSTALLDIR/SmartDoc.jar $* |