SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,23 @@
COMMENT= helper script for launching java applications
GH_ACCOUNT= bsdkurt
GH_PROJECT= javaPathHelper
GH_TAGNAME= 2.2
CATEGORIES= java
MAINTAINER= Kurt Miller <kurt@openbsd.org>
# BSD
PERMIT_PACKAGE= Yes
NO_BUILD= Yes
NO_TEST= Yes
do-install:
@sed -e "s+%%LOCALBASE%%+${TRUEPREFIX}+g" \
-e "s+%%PKG_DBDIR%%+${PKG_DBDIR}+g" \
${WRKBUILD}/javaPathHelper.in > ${WRKBUILD}/javaPathHelper
${INSTALL_SCRIPT} ${WRKBUILD}/javaPathHelper ${PREFIX}/bin
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (javaPathHelper-2.2.tar.gz) = WZW94ygPqLyALwQSDDlPLOfOALE2T0YLIKemWqnHUt4=
SIZE (javaPathHelper-2.2.tar.gz) = 2095

View file

@ -0,0 +1,10 @@
javaPathHelper is a script that java applications can use to provide a
consistent and familiar method for launching java applications on
OpenBSD. The use of JAVACMD, JAVA_HOME and PATH environment variables are
well known methods for users to control which JVM is used to launch a
java application. When a user sets up their environment javaPathHelper
will use it. No attempt is made to prevent the user from running an
application that requires a particular JVM version with a lower version.
When the user's environment has not be setup, javaPathHelper falls back
to inspecting which JDK or JVM satisfied the RUN_DEPENDS for the
package.

View file

@ -0,0 +1 @@
bin/javaPathHelper