Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 19:43:08 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348882 - in head/java/linux-sun-jdk17: . files
Message-ID:  <201403231943.s2NJh8u1063824@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403231943.s2NJh8u1063824>