- Fix handling of empty directories in documentation

PR:		207368
Submitted by:	amdmi3
Approved by:	maintainer timeout (office, > 1 month)
This commit is contained in:
Dmitry Marakasov 2016-04-01 20:15:05 +00:00
parent 6bd03c7210
commit c338624cd9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412370

View File

@ -41,5 +41,7 @@ do-install:
post-install:
@cd ${WRKSRC}/opt/${PORTNAME}${PORTVERSION:R} && \
${FIND} -s * -not -type d \
-exec ${ECHO_CMD} "lib/${PORTNAME}/{} " \; >> ${TMPPLIST}
${FIND} -s * -not -type d \
-exec ${ECHO_CMD} "lib/${PORTNAME}/{}" \; >> ${TMPPLIST} && \
${FIND} -d * -type d -empty \
-exec ${ECHO_CMD} "@dir lib/${PORTNAME}/{}" \; >> ${TMPPLIST}