aboutsummaryrefslogtreecommitdiff
path: root/java/linux-sun-jdk14/Makefile
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-08-10 10:54:06 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-08-10 10:54:06 +0000
commit5d2630c7f4f11724e6a5b9d78fe629b4b70aaa44 (patch)
tree28ddc219ffd16b94347adde1665a56cc8e942f4e /java/linux-sun-jdk14/Makefile
parentb0efcd4f99ad11e596c5c38cfd73c11281e4c19a (diff)
downloadports-5d2630c7f4f11724e6a5b9d78fe629b4b70aaa44.tar.gz
ports-5d2630c7f4f11724e6a5b9d78fe629b4b70aaa44.zip
Notes
Diffstat (limited to 'java/linux-sun-jdk14/Makefile')
-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 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>