mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04: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
2 changed files with 4 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= jdk
|
PORTNAME= jdk
|
||||||
PORTVERSION= ${JDK_VERSION}.${JDK_REVISION}
|
PORTVERSION= ${JDK_VERSION}.${JDK_REVISION}
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= java devel
|
CATEGORIES= java devel
|
||||||
MASTER_SITES= #
|
MASTER_SITES= #
|
||||||
PKGNAMEPREFIX= linux-sun-
|
PKGNAMEPREFIX= linux-sun-
|
||||||
|
@ -22,7 +23,8 @@ NO_CDROM= "License does not allow distribution with fee"
|
||||||
RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}${JDK_VERSION}_${JDK_REVISION}
|
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
|
NO_BUILD= yes
|
||||||
USE_LINUX= yes
|
USE_LINUX= yes
|
||||||
|
|
|
@ -955,4 +955,5 @@
|
||||||
@dirrm %%T%%/man/ja_JP.eucJP
|
@dirrm %%T%%/man/ja_JP.eucJP
|
||||||
@dirrm %%T%%/man
|
@dirrm %%T%%/man
|
||||||
@dirrm %%T%%
|
@dirrm %%T%%
|
||||||
|
@exec %D/bin/registervm "%D/%%T%%/bin/java # Linux-JDK%%JDK_VERSION%%"
|
||||||
@unexec %D/bin/unregistervm "%D/%%T%%/bin/java"
|
@unexec %D/bin/unregistervm "%D/%%T%%/bin/java"
|
||||||
|
|
Loading…
Add table
Reference in a new issue