aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2007-04-21 15:29:15 +0800
committerstas <stas@FreeBSD.org>2007-04-21 15:29:15 +0800
commit541523552e64b3bd391d1b60fdfd2b4fdf7028f6 (patch)
tree7c762c0960b05921d1a22e67b5b7a6f5e5aab07b /lang
parent75f0c3178a19c7ff7f92d58f8d9c47baeaece9ad (diff)
downloadfreebsd-ports-gnome-541523552e64b3bd391d1b60fdfd2b4fdf7028f6.tar.gz
freebsd-ports-gnome-541523552e64b3bd391d1b60fdfd2b4fdf7028f6.tar.zst
freebsd-ports-gnome-541523552e64b3bd391d1b60fdfd2b4fdf7028f6.zip
- Set correct permissions and gid on install.
Reported by: kris
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby-programmingruby/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/ruby-programmingruby/Makefile b/lang/ruby-programmingruby/Makefile
index fcae4e01b448..a8e48750bd6b 100644
--- a/lang/ruby-programmingruby/Makefile
+++ b/lang/ruby-programmingruby/Makefile
@@ -31,7 +31,8 @@ do-install:
${MKDIR} ${RUBY_MODDOCDIR}
@${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} -C ${RUBY_MODDOCDIR}
@${FIND} ${RUBY_MODDOCDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
- @${FIND} ${RUBY_MODDOCDIR}/ -type f -exec ${CHOWN} ${SHAREOWN} {} \;
+ @${FIND} ${RUBY_MODDOCDIR}/ -type d -exec ${CHMOD} 755 {} \;
+ @${FIND} ${RUBY_MODDOCDIR}/ -exec ${CHOWN} ${SHAREOWN}:${SHAREGRP} {} \;
@${FIND} -d ${RUBY_MODDOCDIR}/ -type f | \
${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} -d ${RUBY_MODDOCDIR}/ -type d | \