summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorgrant <grant>2003-06-11 18:24:52 +0000
committergrant <grant>2003-06-11 18:24:52 +0000
commit7bd8288921bdac23e2ab4252acf97dbfc07d6bfe (patch)
tree68e05181c34cbc63a1f2561021aa624c27a96481 /www
parent98cc617c686d79a1c8161994f4923e2815dc65cf (diff)
downloadpkgsrc-7bd8288921bdac23e2ab4252acf97dbfc07d6bfe.tar.gz
clean up permission fixing in do-install target, ala
mozilla-bin-nightly.
Diffstat (limited to 'www')
-rw-r--r--www/mozilla-bin/Makefile11
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: