math/atlas: Fix build by removing empty directories

It was installing some empty directories under DATADIR which PORTDATA=* doesn't handle.
This commit is contained in:
Yuri Victorovich 2018-10-14 18:07:46 +00:00
parent d4e3c772df
commit a009e6c779
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482101

View file

@ -227,6 +227,7 @@ do-install:
(cd ${WRKSRC}/${opt}/ARCHS; \
${COPYTREE_SHARE} "*" ${STAGEDIR}${DATADIR}/${opt} \
"! -name Makefile -and ! -name *.tgz")
@${FIND} ${STAGEDIR}${DATADIR}/${opt} -type d -empty -delete
. endif
.endfor
.if ${PORT_OPTIONS:MDOCS}