Date: Sun, 21 Sep 2014 13:43:47 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368753 - head/lang/linux-j Message-ID: <201409211343.s8LDhlnj095978@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Sep 21 13:43:47 2014 New Revision: 368753 URL: http://svnweb.freebsd.org/changeset/ports/368753 QAT: https://qat.redports.org/buildarchive/r368753/ Log: Allow staging as a regular user Modified: head/lang/linux-j/Makefile Modified: head/lang/linux-j/Makefile ============================================================================== --- head/lang/linux-j/Makefile Sun Sep 21 13:39:32 2014 (r368752) +++ head/lang/linux-j/Makefile Sun Sep 21 13:43:47 2014 (r368753) @@ -38,12 +38,10 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/j${PORTVERSION:S/b//g}/system/extras/help/man/jconsole.1 ${STAGEDIR}${PREFIX}/man/man1/${MAN1} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/j cd ${WRKSRC}/j${PORTVERSION:S/b//g} && \ - ${TAR} -cf - system user profile.ijs j.jar | \ - ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/lib/j - @${FIND} ${STAGEDIR}${PREFIX}/lib/j/ -type f -exec ${CHMOD} ${SHAREMODE} {} \; - @${FIND} ${STAGEDIR}${PREFIX}/lib/j/ -type f -exec ${CHOWN} ${SHAREOWN} {} \; + ${COPYTREE_SHARE} "system user profile.ijs j.jar" \ + ${STAGEDIR}${PREFIX}/lib/j + ${BRANDELF} -t Linux ${WRKSRC}/j${PORTVERSION:S/b//g}/jconsole ${INSTALL_PROGRAM} ${WRKSRC}/j${PORTVERSION:S/b//g}/jconsole ${STAGEDIR}${PREFIX}/lib/j/jconsole - ${BRANDELF} -t Linux ${STAGEDIR}${PREFIX}/lib/j/jconsole post-install: ${MV} ${STAGEDIR}${PREFIX}/man/man1/jconsole.1 ${STAGEDIR}${PREFIX}/man/man1/j-jconsole.1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409211343.s8LDhlnj095978>