mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
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.
This commit is contained in:
parent
bbce558ec0
commit
ebefc0e78c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76640
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user