aboutsummaryrefslogtreecommitdiffstats
path: root/java/linux-sun-jdk14
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-08-10 18:54:06 +0800
committerznerd <znerd@FreeBSD.org>2002-08-10 18:54:06 +0800
commitd91f8ddfd7f71c3d23682751cf1a5b37bb42107c (patch)
tree7072fe7b6e73ba294085c9630b1959d905ccbcac /java/linux-sun-jdk14
parent2b3addefd3bc4700a7f7634178f0e212ea5d7186 (diff)
downloadfreebsd-ports-graphics-d91f8ddfd7f71c3d23682751cf1a5b37bb42107c.tar.gz
freebsd-ports-graphics-d91f8ddfd7f71c3d23682751cf1a5b37bb42107c.tar.zst
freebsd-ports-graphics-d91f8ddfd7f71c3d23682751cf1a5b37bb42107c.zip
Changed the installation directory of the Sun JDK 1.4.x
for Linux from linux-sun-jdk1.4.0.01 to linux-sun-jdk1.4.0. This is more like the installation directories for the other JDK ports. PR: 41424
Diffstat (limited to 'java/linux-sun-jdk14')
-rw-r--r--java/linux-sun-jdk14/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile
index f537da8a9f0..6fc38e241be 100644
--- a/java/linux-sun-jdk14/Makefile
+++ b/java/linux-sun-jdk14/Makefile
@@ -30,16 +30,16 @@ EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= # empty
WRKSRC= ${WRKDIR}/j2sdk1.4.0_01
-PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
+PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
NO_BUILD= yes
USE_LINUX= yes
DL_JDK_VERSION= 1.4.0_01
INSTALL_JDK_VERSION= ${DL_JDK_VERSION:S/_/./g}
ONLY_FOR_ARCHS= i386
-TARGET_DIR?= ${PREFIX}/${PKGBASE}${PORTVERSION}
DOWNLOAD_URL?= http://java.sun.com/Download6?url=/Download6&config-file=j2sdk-${DL_JDK_VERSION:S/./_/g}.config&platform=linux-i586
PORTTITLE= Java 2 Development Kit ${INSTALL_JDK_VERSION} for Linux
+APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${INSTALL_JDK_VERSION:R}
.include <bsd.port.pre.mk>
@@ -54,8 +54,8 @@ post-patch:
find ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f
do-install:
- ${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${PORTVERSION}
- ${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${PORTVERSION} -xpf-
- ${LOCALBASE}/bin/registervm "${TARGET_DIR}/bin/java # Linux-Sun-JDK${PORTVERSION}"
+ ${MKDIR} ${APP_HOME}
+ ${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${APP_HOME} -xpf-
+ ${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-Sun-JDK${PORTVERSION}"
.include <bsd.port.post.mk>