diff options
author | grant <grant> | 2003-06-11 18:24:52 +0000 |
---|---|---|
committer | grant <grant> | 2003-06-11 18:24:52 +0000 |
commit | 7d8e0e62ae96a846f956d75a52943418514bdd9c (patch) | |
tree | 68e05181c34cbc63a1f2561021aa624c27a96481 /www/mozilla-bin | |
parent | 853aca06b27d721a3c97dbaa649852e5078f1a2e (diff) | |
download | pkgsrc-7d8e0e62ae96a846f956d75a52943418514bdd9c.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: |