aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-02-28 23:41:37 +0800
committersobomax <sobomax@FreeBSD.org>2003-02-28 23:41:37 +0800
commit5ed8d64b42fc8e7c5e1f67117befc59eaf400019 (patch)
tree92055066289c29efd56170c7d7f2a615da488744 /java
parent0dfc006d3b6e30f06b37494bea656b554ad0f5d4 (diff)
downloadfreebsd-ports-gnome-5ed8d64b42fc8e7c5e1f67117befc59eaf400019.tar.gz
freebsd-ports-gnome-5ed8d64b42fc8e7c5e1f67117befc59eaf400019.tar.zst
freebsd-ports-gnome-5ed8d64b42fc8e7c5e1f67117befc59eaf400019.zip
Add missed `@exec registervm' into pkg-plist, because while the port doesn't
packaged by bento cluster due to legal restrictions, user still can create his own custom package to simplify internal deployment. Sponsored by: Porta Software Ltd.
Diffstat (limited to 'java')
-rw-r--r--java/linux-sun-jdk13/Makefile4
-rw-r--r--java/linux-sun-jdk13/pkg-plist1
2 files changed, 4 insertions, 1 deletions
diff --git a/java/linux-sun-jdk13/Makefile b/java/linux-sun-jdk13/Makefile
index ea302d7e8089..db005a730ba2 100644
--- a/java/linux-sun-jdk13/Makefile
+++ b/java/linux-sun-jdk13/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}.${JDK_REVISION}
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= #
PKGNAMEPREFIX= linux-sun-
@@ -22,7 +23,8 @@ NO_CDROM= "License does not allow distribution with fee"
RESTRICTED= "Redistribution of repackaged binaries not permitted"
WRKSRC= ${WRKDIR}/${PORTNAME}${JDK_VERSION}_${JDK_REVISION}
-PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
+PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} \
+ JDK_VERSION=${JDK_VERSION}
NO_BUILD= yes
USE_LINUX= yes
diff --git a/java/linux-sun-jdk13/pkg-plist b/java/linux-sun-jdk13/pkg-plist
index 5db6cb233585..a955f32dd8ab 100644
--- a/java/linux-sun-jdk13/pkg-plist
+++ b/java/linux-sun-jdk13/pkg-plist
@@ -955,4 +955,5 @@
@dirrm %%T%%/man/ja_JP.eucJP
@dirrm %%T%%/man
@dirrm %%T%%
+@exec %D/bin/registervm "%D/%%T%%/bin/java # Linux-JDK%%JDK_VERSION%%"
@unexec %D/bin/unregistervm "%D/%%T%%/bin/java"