Create/remove shared among Java ports ditrectories.
Submitted by: bento
This commit is contained in:
parent
f2cd82bc9d
commit
64111d7db5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29801
2 changed files with 7 additions and 0 deletions
|
@ -65,6 +65,8 @@ do-build:
|
|||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/jre${JRE_VERSION}
|
||||
${MKDIR} ${PREFIX}/share/java/classes
|
||||
${MKDIR} ${PREFIX}/share/doc/java
|
||||
(cd ${WRKSRC} && ${TAR} -c -f - .) \
|
||||
| (cd ${PREFIX}/jre${JRE_VERSION} && ${TAR} --unlink -x -f -)
|
||||
cd ${PREFIX}/jre${JRE_VERSION}/bin && \
|
||||
|
|
|
@ -47,6 +47,11 @@ jre%%JRE_VERSION%%/lib/psfont.properties.ja
|
|||
jre%%JRE_VERSION%%/lib/rt.jar
|
||||
jre%%JRE_VERSION%%/lib/security/java.security
|
||||
jre%%JRE_VERSION%%/lib/serialver.properties
|
||||
@exec mkdir -p %D/share/java/classes
|
||||
@exec mkdir -p %D/share/doc/java
|
||||
@unexec rmdir %D/share/java/classes
|
||||
@unexec rmdir %D/share/java
|
||||
@unexec rmdir %D/share/doc/java
|
||||
@exec %D/bin/registervm "%D/jre%%JRE_VERSION%%/bin/java # JRE%%JRE_VERSION%%"
|
||||
@unexec %D/bin/unregistervm JRE%%JRE_VERSION%%
|
||||
@dirrm jre%%JRE_VERSION%%/lib/security
|
||||
|
|
Loading…
Reference in a new issue