summaryrefslogtreecommitdiff
path: root/java/java-checkstyle/files/checkstyle.sh.in
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2006-02-15 13:41:03 +0000
committerHerve Quiroz <hq@FreeBSD.org>2006-02-15 13:41:03 +0000
commitfe610a59ea69a885c13f347522e6549613c9a0a7 (patch)
treea841dc60891b4e9c61cb65e3f239922f7395f3cf /java/java-checkstyle/files/checkstyle.sh.in
parentUpdate to 0.20 (diff)
- Update to 4.1
- Use SUB_FILES to configure the launcher shell script - Set JAVA_VERSION in the launcher - STYLEDIR -> DATADIR (%%DATADIR%% already in SUB_LIST and PLIST_SUB) PR: 93339 Submitted by: me Approved by: maintainer
Notes
Notes: svn path=/head/; revision=156122
Diffstat (limited to 'java/java-checkstyle/files/checkstyle.sh.in')
-rw-r--r--java/java-checkstyle/files/checkstyle.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/java-checkstyle/files/checkstyle.sh.in b/java/java-checkstyle/files/checkstyle.sh.in
new file mode 100644
index 000000000000..d78dce28be03
--- /dev/null
+++ b/java/java-checkstyle/files/checkstyle.sh.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/checkstyle.jar:%%JAVAJARDIR%%/checkstyle-optional.jar" com.puppycrawl.tools.checkstyle.Main "$@"