Allow installed files to have correct permissions when built by a non-root
user. PR: 35980 Submitted by: Alan Eldridge <ports@geeksrus.net> Reviewed by: sobomax Approved by: sobomax
This commit is contained in:
parent
1bbd6ef5f2
commit
7058cbdec0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57663
8 changed files with 19 additions and 16 deletions
|
@ -86,8 +86,8 @@ post-build:
|
|||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/lib/mozilla
|
||||
cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \
|
||||
${TAR} -xf - -C ${PREFIX}/lib/mozilla
|
||||
cd ${WRKSRC}/dist/bin && ${FIND} . | \
|
||||
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin
|
||||
${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
|
||||
${PREFIX}/lib/mozilla/plugins/libjavaplugin_oji.so
|
||||
|
|
|
@ -27,9 +27,10 @@ USE_GMAKE= yes
|
|||
ALL_TARGET= export
|
||||
|
||||
do-install:
|
||||
-${RM} -fr ${PREFIX}/include/mozilla
|
||||
${MKDIR} ${PREFIX}/include/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/include/mozilla
|
||||
${TAR} -C ${WRKSRC}/dist/include -chf - . | \
|
||||
${TAR} -C ${PREFIX}/include/mozilla --unlink -xf -
|
||||
cd ${WRKSRC}/dist/include && ${FIND} . | \
|
||||
cpio -pdm -L -R ${INCOWN}:${INCGRP} ${PREFIX}/include/mozilla
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -27,9 +27,10 @@ USE_GMAKE= yes
|
|||
ALL_TARGET= export
|
||||
|
||||
do-install:
|
||||
-${RM} -fr ${PREFIX}/include/mozilla
|
||||
${MKDIR} ${PREFIX}/include/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/include/mozilla
|
||||
${TAR} -C ${WRKSRC}/dist/include -chf - . | \
|
||||
${TAR} -C ${PREFIX}/include/mozilla --unlink -xf -
|
||||
cd ${WRKSRC}/dist/include && ${FIND} . | \
|
||||
cpio -pdm -L -R ${INCOWN}:${INCGRP} ${PREFIX}/include/mozilla
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -27,9 +27,10 @@ USE_GMAKE= yes
|
|||
ALL_TARGET= export
|
||||
|
||||
do-install:
|
||||
-${RM} -fr ${PREFIX}/include/mozilla
|
||||
${MKDIR} ${PREFIX}/include/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/include/mozilla
|
||||
${TAR} -C ${WRKSRC}/dist/include -chf - . | \
|
||||
${TAR} -C ${PREFIX}/include/mozilla --unlink -xf -
|
||||
cd ${WRKSRC}/dist/include && ${FIND} . | \
|
||||
cpio -pdm -L -R ${INCOWN}:${INCGRP} ${PREFIX}/include/mozilla
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -86,8 +86,8 @@ post-build:
|
|||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/lib/mozilla
|
||||
cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \
|
||||
${TAR} -xf - -C ${PREFIX}/lib/mozilla
|
||||
cd ${WRKSRC}/dist/bin && ${FIND} . | \
|
||||
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin
|
||||
${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
|
||||
${PREFIX}/lib/mozilla/plugins/libjavaplugin_oji.so
|
||||
|
|
|
@ -86,8 +86,8 @@ post-build:
|
|||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/lib/mozilla
|
||||
cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \
|
||||
${TAR} -xf - -C ${PREFIX}/lib/mozilla
|
||||
cd ${WRKSRC}/dist/bin && ${FIND} . | \
|
||||
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin
|
||||
${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
|
||||
${PREFIX}/lib/mozilla/plugins/libjavaplugin_oji.so
|
||||
|
|
|
@ -86,8 +86,8 @@ post-build:
|
|||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/lib/mozilla
|
||||
cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \
|
||||
${TAR} -xf - -C ${PREFIX}/lib/mozilla
|
||||
cd ${WRKSRC}/dist/bin && ${FIND} . | \
|
||||
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin
|
||||
${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
|
||||
${PREFIX}/lib/mozilla/plugins/libjavaplugin_oji.so
|
||||
|
|
|
@ -86,8 +86,8 @@ post-build:
|
|||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/lib/mozilla
|
||||
cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \
|
||||
${TAR} -xf - -C ${PREFIX}/lib/mozilla
|
||||
cd ${WRKSRC}/dist/bin && ${FIND} . | \
|
||||
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin
|
||||
${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
|
||||
${PREFIX}/lib/mozilla/plugins/libjavaplugin_oji.so
|
||||
|
|
Loading…
Reference in a new issue