Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 22:27:54 +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: r348896 - in head/java/linux-sun-jre16: . files
Message-ID:  <201403232227.s2NMRsXM030392@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Mar 23 22:27:53 2014
New Revision: 348896
URL: http://svnweb.freebsd.org/changeset/ports/348896
QAT: https://qat.redports.org/buildarchive/r348896/

Log:
  - Move commands from files/pkg-install.in into post-install
  - Kill files/
  
  Submitted by:	Johannes Jost Meixner <xmj@chaot.net> (via irc)

Deleted:
  head/java/linux-sun-jre16/files/
Modified:
  head/java/linux-sun-jre16/Makefile

Modified: head/java/linux-sun-jre16/Makefile
==============================================================================
--- head/java/linux-sun-jre16/Makefile	Sun Mar 23 22:27:21 2014	(r348895)
+++ head/java/linux-sun-jre16/Makefile	Sun Mar 23 22:27:53 2014	(r348896)
@@ -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>



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