1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Add empty directories to plist

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-09-15 16:27:23 +00:00
parent 5e6708073d
commit d877f20d7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396999

View File

@ -28,5 +28,7 @@ post-install:
${MV} ${STAGEDIR}${PREFIX}/examples ${STAGEDIR}${PREFIX}/share/
@(cd ${STAGEDIR}${PREFIX} ; \
${FIND} * \( -type f -or -type l \) | ${SORT} >> ${TMPPLIST})
@(cd ${STAGEDIR}${PREFIX} ; \
${FIND} * -type d -empty | ${SORT} -r | sed -e 's|^|@dir |' >> ${TMPPLIST})
.include <bsd.port.mk>