aboutsummaryrefslogtreecommitdiff
path: root/java/linux-sun-jdk14/Makefile
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-10-11 05:39:21 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-10-11 05:39:21 +0000
commit42189f5a5d603e3cd08ac794a485455f64da2413 (patch)
tree3aaebb9ecc4c9466bc0df24d29dd7296ea36f4cc /java/linux-sun-jdk14/Makefile
parentf41b10ff4ad463b007745e28bdd7e574fede1aa5 (diff)
downloadports-42189f5a5d603e3cd08ac794a485455f64da2413.tar.gz
ports-42189f5a5d603e3cd08ac794a485455f64da2413.zip
Notes
Diffstat (limited to 'java/linux-sun-jdk14/Makefile')
-rw-r--r--java/linux-sun-jdk14/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile
index 3ca4219504ee..752a7bcbacac 100644
--- a/java/linux-sun-jdk14/Makefile
+++ b/java/linux-sun-jdk14/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jdk
PORTVERSION= ${INSTALL_JDK_VERSION}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= java devel
MASTER_SITES= #
PKGNAMEPREFIX= linux-sun-
@@ -71,6 +71,11 @@ do-install:
${RM} -f ${APP_HOME}/`dirname $$i`/`basename $$i .jar`.pack; \
fi \
done
+
+post-install:
${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-Sun-JDK${PORTVERSION}"
+ ${SED} -e "s:%%JRE_HOME%%:${APP_HOME}/jre:g" \
+ < ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>