summaryrefslogtreecommitdiff
path: root/graphics/urt
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-11-24 08:55:20 +0000
committertron <tron@pkgsrc.org>2001-11-24 08:55:20 +0000
commit745affa1b61a46b73654e5686892a0c5daa0574b (patch)
tree68144592533c57ade893493b528c9cebdcb17e79 /graphics/urt
parent3200d221e02cb4df4b1eb5e1d6250764817ff378 (diff)
downloadpkgsrc-745affa1b61a46b73654e5686892a0c5daa0574b.tar.gz
Fix permission problems in installed files:
- "man/man1/rletotarga.1" should be world readable. - There is no reason why the example directory and the files in it should be group writable.
Diffstat (limited to 'graphics/urt')
-rw-r--r--graphics/urt/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
index ca00a96bb39..24e9585b784 100644
--- a/graphics/urt/Makefile
+++ b/graphics/urt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2001/09/27 23:18:13 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2001/11/24 08:55:20 tron Exp $
# FreeBSD Id: Makefile,v 1.6 1998/02/11 08:48:26 tg Exp
DISTNAME= urt
@@ -28,6 +28,9 @@ HAS_CONFIGURE= yes
MAKEFILE= makefile
ALL_TARGET=
+post-extract:
+ ${CHMOD} 644 ${WRKSRC}/man/man1/rletotarga.1
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/urt ${PREFIX}/share/examples/urt
cd ${PREFIX}/share/doc/urt && (\
@@ -39,7 +42,7 @@ post-install:
cd ${PREFIX}/share/examples/urt && (\
${GTAR} xf ${DISTDIR}/urt-img.tar; \
${CHOWN} -R root:wheel . ; \
- ${FIND} . -type d -exec ${CHMOD} 775 '{}' \; ; \
- ${FIND} . -type f -exec ${CHMOD} 664 '{}' \;)
+ ${FIND} . -type d -exec ${CHMOD} 755 '{}' \; ; \
+ ${FIND} . -type f -exec ${CHMOD} 644 '{}' \;)
.include "../../mk/bsd.pkg.mk"