aboutsummaryrefslogtreecommitdiff
path: root/lang/huc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-07-30 20:57:30 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-07-30 20:57:30 +0000
commita2968589008c6f4ed29ab21bff546fa19b0a947c (patch)
tree02c32b86c9c9ca786d947c465b13672482d04796 /lang/huc
parent8cd5162190496a8ac03c66c79602b2344effc7a6 (diff)
downloadports-a2968589008c6f4ed29ab21bff546fa19b0a947c.tar.gz
ports-a2968589008c6f4ed29ab21bff546fa19b0a947c.zip
- Fix file permissions
PR: ports/100960 Submitted by: Stanislav Sedov <ssedov(at)mbsd.msk.ru> Approved by: krion (mentor)
Notes
Notes: svn path=/head/; revision=169144
Diffstat (limited to 'lang/huc')
-rw-r--r--lang/huc/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/huc/Makefile b/lang/huc/Makefile
index b4db8c4e27f2..0e22bdd66f21 100644
--- a/lang/huc/Makefile
+++ b/lang/huc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= huc
PORTVERSION= 3.20
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang emulators
MASTER_SITES= http://www.zeograd.com/download/
DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/.//}
@@ -28,12 +28,15 @@ do-install:
@${MKDIR} ${PREFIX}/include/${PORTNAME}
${TAR} -C ${WRKSRC}/include --exclude "CVS" -cf - . | \
${TAR} -C ${PREFIX}/include/${PORTNAME} --unlink -xf -
- @${CHOWN} ${SHAREOWN}:${SHAREMODE} ${PREFIX}/include/${PORTNAME}
+ @${CHOWN} -R ${SHAREOWN} ${PREFIX}/include/${PORTNAME}
+ @${FIND} ${PREFIX}/include/${PORTNAME}/ -type f -exec ${CHMOD} \
+ ${SHAREMODE} {} \;
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${TAR} -C ${WRKSRC}/doc --exclude "CVS" -cf - . | \
${TAR} -C ${DOCSDIR} --unlink -xf -
- @${CHOWN} ${SHAREOWN}:${SHAREMODE} ${DOCSDIR}
+ @${CHOWN} -R ${SHAREOWN} ${DOCSDIR}
+ @${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
.endif
@${CAT} ${PKGMESSAGE}