diff options
author | marcus <marcus@FreeBSD.org> | 2002-04-14 01:06:30 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-04-14 01:06:30 +0800 |
commit | 1caadb6517f2445949ddd167e1934429c8a29a64 (patch) | |
tree | 88a6c657616965969da0e297fed2adfb14135b8c /www | |
parent | 51f19cd19f8734caa6d726efd82cc0f70ffdad01 (diff) | |
download | freebsd-ports-gnome-1caadb6517f2445949ddd167e1934429c8a29a64.tar.gz freebsd-ports-gnome-1caadb6517f2445949ddd167e1934429c8a29a64.tar.zst freebsd-ports-gnome-1caadb6517f2445949ddd167e1934429c8a29a64.zip |
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
Diffstat (limited to 'www')
-rw-r--r-- | www/mozilla-devel/Makefile | 4 | ||||
-rw-r--r-- | www/mozilla-headers-devel/Makefile | 5 | ||||
-rw-r--r-- | www/mozilla-headers-vendor/Makefile | 5 | ||||
-rw-r--r-- | www/mozilla-headers/Makefile | 5 | ||||
-rw-r--r-- | www/mozilla-vendor/Makefile | 4 | ||||
-rw-r--r-- | www/mozilla/Makefile | 4 | ||||
-rw-r--r-- | www/seamonkey/Makefile | 4 | ||||
-rw-r--r-- | www/seamonkey2/Makefile | 4 |
8 files changed, 19 insertions, 16 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile index c8b1ac83feb1..6ccbee4bf62c 100644 --- a/www/mozilla-devel/Makefile +++ b/www/mozilla-devel/Makefile @@ -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 diff --git a/www/mozilla-headers-devel/Makefile b/www/mozilla-headers-devel/Makefile index 6d584cc42f88..993322d945d8 100644 --- a/www/mozilla-headers-devel/Makefile +++ b/www/mozilla-headers-devel/Makefile @@ -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> diff --git a/www/mozilla-headers-vendor/Makefile b/www/mozilla-headers-vendor/Makefile index 6d584cc42f88..993322d945d8 100644 --- a/www/mozilla-headers-vendor/Makefile +++ b/www/mozilla-headers-vendor/Makefile @@ -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> diff --git a/www/mozilla-headers/Makefile b/www/mozilla-headers/Makefile index 6d584cc42f88..993322d945d8 100644 --- a/www/mozilla-headers/Makefile +++ b/www/mozilla-headers/Makefile @@ -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> diff --git a/www/mozilla-vendor/Makefile b/www/mozilla-vendor/Makefile index c8b1ac83feb1..6ccbee4bf62c 100644 --- a/www/mozilla-vendor/Makefile +++ b/www/mozilla-vendor/Makefile @@ -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 diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index c8b1ac83feb1..6ccbee4bf62c 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -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 diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index c8b1ac83feb1..6ccbee4bf62c 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -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 diff --git a/www/seamonkey2/Makefile b/www/seamonkey2/Makefile index c8b1ac83feb1..6ccbee4bf62c 100644 --- a/www/seamonkey2/Makefile +++ b/www/seamonkey2/Makefile @@ -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 |