diff options
author | znerd <znerd@FreeBSD.org> | 2002-08-10 18:54:06 +0800 |
---|---|---|
committer | znerd <znerd@FreeBSD.org> | 2002-08-10 18:54:06 +0800 |
commit | d91f8ddfd7f71c3d23682751cf1a5b37bb42107c (patch) | |
tree | 7072fe7b6e73ba294085c9630b1959d905ccbcac /java | |
parent | 2b3addefd3bc4700a7f7634178f0e212ea5d7186 (diff) | |
download | freebsd-ports-gnome-d91f8ddfd7f71c3d23682751cf1a5b37bb42107c.tar.gz freebsd-ports-gnome-d91f8ddfd7f71c3d23682751cf1a5b37bb42107c.tar.zst freebsd-ports-gnome-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')
-rw-r--r-- | java/bluej/Makefile | 2 | ||||
-rw-r--r-- | java/linux-sun-jdk14/Makefile | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/java/bluej/Makefile b/java/bluej/Makefile index a020ea811cb9..b6d5d1925c51 100644 --- a/java/bluej/Makefile +++ b/java/bluej/Makefile @@ -23,7 +23,7 @@ NO_BUILD= yes # Called MY_JDK and MY_JDK_PORT so not to conflict with any other possible # definitions in the ports system. -MY_JDK= linux-sun-jdk1.4.0.01 +MY_JDK= linux-sun-jdk1.4.0 MY_JDK_PORT= linux-sun-jdk14 RUN_DEPENDS= ${LOCALBASE}/${MY_JDK}/bin/java:${PORTSDIR}/java/${MY_JDK_PORT} diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile index f537da8a9f0a..6fc38e241bec 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> |