aboutsummaryrefslogtreecommitdiffstats
path: root/lang/huc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-07-31 04:57:30 +0800
committermiwi <miwi@FreeBSD.org>2006-07-31 04:57:30 +0800
commit863d14a100797a9621c0b786e49e35d287e157ff (patch)
treeb47341c27efbf781e677695d88bb298cf694d53a /lang/huc
parent517073b71aa598ab712bbc80a8fb6dd02ca02f52 (diff)
downloadfreebsd-ports-graphics-863d14a100797a9621c0b786e49e35d287e157ff.tar.gz
freebsd-ports-graphics-863d14a100797a9621c0b786e49e35d287e157ff.tar.zst
freebsd-ports-graphics-863d14a100797a9621c0b786e49e35d287e157ff.zip
- Fix file permissions
PR: ports/100960 Submitted by: Stanislav Sedov <ssedov(at)mbsd.msk.ru> Approved by: krion (mentor)
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 b4db8c4e27f..0e22bdd66f2 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}