1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Fix file permissions

PR:		ports/100960
Submitted by:	Stanislav Sedov <ssedov(at)mbsd.msk.ru>
Approved by:	krion (mentor)
This commit is contained in:
Martin Wilke 2006-07-30 20:57:30 +00:00
parent 8cd5162190
commit a296858900
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169144

View File

@ -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}