svn commit: r348882 - in head/java/linux-sun-jdk17: . files
Steve Wills
swills at FreeBSD.org
Sun Mar 23 19:43:08 UTC 2014
Author: swills
Date: Sun Mar 23 19:43:08 2014
New Revision: 348882
URL: http://svnweb.freebsd.org/changeset/ports/348882
QAT: https://qat.redports.org/buildarchive/r348882/
Log:
- Move commands from files/pkg-install.in into post-install
- Kill files/
PR: ports/187535 (second half)
Submitted by: Johannes Jost Meixner <xmj at chaot.net>
Deleted:
head/java/linux-sun-jdk17/files/
Modified:
head/java/linux-sun-jdk17/Makefile
Modified: head/java/linux-sun-jdk17/Makefile
==============================================================================
--- head/java/linux-sun-jdk17/Makefile Sun Mar 23 19:38:31 2014 (r348881)
+++ head/java/linux-sun-jdk17/Makefile Sun Mar 23 19:43:08 2014 (r348882)
@@ -22,7 +22,6 @@ PKGNAMESUFFIX= 17
WRKSRC= ${WRKDIR}/jdk${DL_JDK_VERSION}
PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
-PKGINSTALL= ${WRKDIR}/pkg-install
NO_BUILD= yes
USE_LINUX= yes
@@ -90,9 +89,10 @@ do-install:
.endfor
post-install:
- @${SED} -e "s:%%JRE_HOME%%:${APP_HOME}/jre:g; \
- s:%%STAGEDIR%%:${STAGEDIR}:g" \
- < ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
- @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ ${MKDIR} ${STAGEDIR}${APP_HOME}/jre/.systemPrefs
+ ${TOUCH} ${STAGEDIR}${APP_HOME}/jre/.systemPrefs/.system.lock
+ ${TOUCH} ${STAGEDIR}${APP_HOME}/jre/.systemPrefs/.systemRootModFile
+ ${CHMOD} 644 ${STAGEDIR}${APP_HOME}/jre/.systemPrefs/.system.lock
+ ${CHMOD} 644 ${STAGEDIR}${APP_HOME}/jre/.systemPrefs/.systemRootModFile
.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list