aboutsummaryrefslogtreecommitdiffstats
path: root/lang/huc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/huc/Makefile')
-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}