diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-09-21 13:43:47 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-09-21 13:43:47 +0000 |
commit | 2add65ad06bbe0217a26ac60ef86da058d52563a (patch) | |
tree | 34342046aa91da32bf5a514eeb115f0dbfde8273 /lang | |
parent | - Update to 0.07 (diff) |
Allow staging as a regular user
Notes
Notes:
svn path=/head/; revision=368753
Diffstat (limited to 'lang')
-rw-r--r-- | lang/linux-j/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/linux-j/Makefile b/lang/linux-j/Makefile index 87f08a36e384..516e7796351b 100644 --- a/lang/linux-j/Makefile +++ b/lang/linux-j/Makefile @@ -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 |