Upgrade from 1.2.2.012 to 1.2.2.013. Note that the JPDA JAR
file is now no longer distributed with this JDK. Also slightly changed the output from the do-install target.
This commit is contained in:
parent
78436998f8
commit
3ced7394a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64587
3 changed files with 10 additions and 13 deletions
|
@ -7,11 +7,10 @@
|
|||
|
||||
PORTNAME= jdk
|
||||
PORTVERSION= ${JDK_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= java
|
||||
MASTER_SITES= #
|
||||
PKGNAMEPREFIX= linux-sun-
|
||||
DISTNAME= ${PORTNAME}-${JDK_VERSION:S/./_/g}-linux-${ARCH}
|
||||
DISTNAME= ${PORTNAME}-${JDK_VERSION:S/./_/g}-linux-i586
|
||||
|
||||
MAINTAINER= znerd@FreeBSD.org
|
||||
|
||||
|
@ -23,7 +22,7 @@ PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///}
|
|||
|
||||
NO_BUILD= yes
|
||||
USE_LINUX= yes
|
||||
JDK_VERSION= 1.2.2.012
|
||||
JDK_VERSION= 1.2.2.013
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
NO_CDROM= "License doesn\'t allow distribution with fee"
|
||||
|
@ -34,7 +33,7 @@ IGNORE= "You can not legally distribute binaries"
|
|||
.endif
|
||||
|
||||
APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}jdk1.2.2
|
||||
DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSION:S/./_/g}.config&platform=linux-${ARCH}
|
||||
DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSION:S/./_/g}.config&platform=linux-i586
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -46,16 +45,16 @@ post-patch:
|
|||
@${FIND} ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f
|
||||
|
||||
do-install:
|
||||
@${ECHO} -n "Creating destination directory ${APP_HOME}..."
|
||||
@${ECHO_CMD} -n ">> Creating destination directory ${APP_HOME}..."
|
||||
@${MKDIR} ${APP_HOME}
|
||||
@${ECHO} " [ DONE ]"
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO} -n "Copying files..."
|
||||
@${ECHO_CMD} -n ">> Copying files..."
|
||||
@${CP} -R ${WRKSRC}/* ${APP_HOME}
|
||||
@${ECHO} " [ DONE ]"
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO} -n "Registering with javavm..."
|
||||
@${ECHO_CMD} -n ">> Registering with javavm..."
|
||||
@${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Sun-JDK${PORTVERSION}_${PORTREVISION}"
|
||||
@${ECHO} " [ DONE ]"
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (jdk-1_2_2_012-linux-i386.tar.gz) = c4c97bcc3c7c41c8d6cd520b643a39f0
|
||||
MD5 (jdk-1_2_2_013-linux-i586.tar.gz) = 2dbab10da79232c55b6a7420d1a94085
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
@exec %%LOCALBASE%%/bin/registervm "%D/%%T%%/bin/java"
|
||||
@unexec %%LOCALBASE%%/bin/unregistervm "%D/%%T%%/bin/java"
|
||||
%%T%%/CHANGES
|
||||
%%T%%/COPYRIGHT
|
||||
|
@ -719,7 +718,6 @@
|
|||
%%T%%/lib/dt.jar
|
||||
%%T%%/lib/i386/libdt_socket.so
|
||||
%%T%%/lib/i386/libjdwp.so
|
||||
%%T%%/lib/jpda.jar
|
||||
%%T%%/lib/tools.jar
|
||||
%%T%%/src.jar
|
||||
@dirrm %%T%%/bin/i386/green_threads
|
||||
|
|
Loading…
Reference in a new issue