1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Set the correct permissions of the files in DATADIR.

This commit is contained in:
Alejandro Pulver 2006-09-13 20:27:57 +00:00
parent 2bf63900c9
commit 588fbb3792
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172975

View File

@ -155,6 +155,10 @@ post-install:
.if defined(WITH_MODELS)
${CP} -r ${WRKDIR}/basev ${DATADIR}
.endif
.if defined(WITH_DEVEL) || defined(WITH_MODELS)
@${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} ${BINMODE}
@${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/vavoom.txt ${DOCSDIR}