diff options
author | grant <grant@pkgsrc.org> | 2003-06-11 18:24:52 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-06-11 18:24:52 +0000 |
commit | a8f96d8aaf3264ec3b371ebd6be534e3270955b1 (patch) | |
tree | 68e05181c34cbc63a1f2561021aa624c27a96481 /www/mozilla-bin | |
parent | 419202b8d998521450a2269f6176c11dc871eb28 (diff) | |
download | pkgsrc-a8f96d8aaf3264ec3b371ebd6be534e3270955b1.tar.gz |
clean up permission fixing in do-install target, ala
mozilla-bin-nightly.
Diffstat (limited to 'www/mozilla-bin')
-rw-r--r-- | www/mozilla-bin/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/www/mozilla-bin/Makefile b/www/mozilla-bin/Makefile index 9e315074c47..0c66ff20d77 100644 --- a/www/mozilla-bin/Makefile +++ b/www/mozilla-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2003/06/11 17:17:19 grant Exp $ +# $NetBSD: Makefile,v 1.6 2003/06/11 18:24:52 grant Exp $ # DISTNAME= # see Makefile.${OPSYS}.${ARCH} @@ -32,9 +32,12 @@ post-build: do-install: ${INSTALL_DATA_DIR} ${MOZILLA_LIB} cd ${WRKSRC} && ${PAX} -rw -pm . ${MOZILLA_LIB} - cd ${MOZILLA_LIB} && \ - ${FIND} . -perm -u+x | ${XARGS} ${CHMOD} +x; \ - ${FIND} . -perm -u+r | ${XARGS} ${CHMOD} +r + @${FIND} ${MOZILLA_LIB} -type f -print \ + | ${XARGS} ${CHMOD} a+r + @${FIND} ${MOZILLA_LIB} \( -type f -o -perm +x \) -print \ + | ${XARGS} ${CHMOD} a+rx + @${FIND} ${MOZILLA_LIB} -type d -print \ + | ${XARGS} ${CHMOD} a+rx ${INSTALL_SCRIPT} ${WRKDIR}/mozilla.sh ${PREFIX}/bin/mozilla-${PLATFORM} post-install: |