aboutsummaryrefslogtreecommitdiffstats
path: root/java/linux-sun-jre16/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/linux-sun-jre16/Makefile')
-rw-r--r--java/linux-sun-jre16/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/linux-sun-jre16/Makefile b/java/linux-sun-jre16/Makefile
index 5c207af42c42..e2381ace96b0 100644
--- a/java/linux-sun-jre16/Makefile
+++ b/java/linux-sun-jre16/Makefile
@@ -20,7 +20,6 @@ PKGNAMESUFFIX= 16
WRKSRC= ${WRKDIR}/jre${DL_JRE_VERSION}
PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
-PKGINSTALL= ${WRKDIR}/pkg-install
NO_BUILD= yes
USE_LINUX= yes
@@ -65,9 +64,10 @@ do-install:
| ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${STAGEDIR}${APP_HOME}
post-install:
- ${SED} -e "s:%%JRE_HOME%%:${APP_HOME}:g; \
- s:%%STAGEDIR%%:${STAGEDIR}:" \
- < ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
- ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ ${MKDIR} ${STAGEDIR}${APP_HOME}/.systemPrefs
+ ${TOUCH} ${STAGEDIR}${APP_HOME}/.systemPrefs/.system.lock
+ ${TOUCH} ${STAGEDIR}${APP_HOME}/.systemPrefs/.systemRootModFile
+ ${CHMOD} 644 ${STAGEDIR}${APP_HOME}/.systemPrefs/.system.lock
+ ${CHMOD} 644 ${STAGEDIR}${APP_HOME}/.systemPrefs/.systemRootModFile
.include <bsd.port.post.mk>