1
0
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:
Maxim Sobolev 2003-02-28 15:41:37 +00:00
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

View File

@ -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

View File

@ -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"