1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Fix install with DOCS option disabled

PR:		ports/185161
Submitted by:	Anton Yuzhaninov
This commit is contained in:
Chris Rees 2013-12-24 15:45:28 +00:00
parent 0e991db8af
commit e27965f569
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337362

View File

@ -268,13 +268,11 @@ do-install:
${STAGEDIR}/${PREFIX}/man/man1/${PORTNAME}.1
@${INSTALL_MAN} ${WRKSRC}/doc/mpd.conf.5 \
${STAGEDIR}/${PREFIX}/man/man5/${PORTNAME}.conf.5
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
. for doc in ${PORTDOCS}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}/${DOCSDIR}/
. endfor
.endfor
@${INSTALL_DATA} ${WRKSRC}/doc/mpdconf.example \
${STAGEDIR}/${PREFIX}/etc/${PORTNAME}.conf.sample
.endif
.include <bsd.port.post.mk>