diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-06-23 17:21:25 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-06-23 17:21:25 +0800 |
commit | 35d14bd6a749ee9949fa8945f3fc08961c6ac0f3 (patch) | |
tree | 8d2218f4e1cfe91f411d55d4b0bbae24d439318a /java/jre | |
parent | 021dd427e400c5b0be873975f8f337afd2e2f2c3 (diff) | |
download | freebsd-ports-gnome-35d14bd6a749ee9949fa8945f3fc08961c6ac0f3.tar.gz freebsd-ports-gnome-35d14bd6a749ee9949fa8945f3fc08961c6ac0f3.tar.zst freebsd-ports-gnome-35d14bd6a749ee9949fa8945f3fc08961c6ac0f3.zip |
Create/remove shared among Java ports ditrectories.
Submitted by: bento
Diffstat (limited to 'java/jre')
-rw-r--r-- | java/jre/Makefile | 2 | ||||
-rw-r--r-- | java/jre/pkg-plist | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/java/jre/Makefile b/java/jre/Makefile index 22c201009e34..58b0d85a6c8e 100644 --- a/java/jre/Makefile +++ b/java/jre/Makefile @@ -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 && \ diff --git a/java/jre/pkg-plist b/java/jre/pkg-plist index 8488d837c18a..d3d2b702df0b 100644 --- a/java/jre/pkg-plist +++ b/java/jre/pkg-plist @@ -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 |