Don't install documentation if NOPORTDOCS is defined.

Reported by:	itetcu
This commit is contained in:
Florent Thoumie 2008-06-18 13:56:39 +00:00
parent 55b476ce87
commit c3a8fc3370
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215073

View file

@ -48,10 +48,12 @@ post-patch:
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc ${EXAMPLESDIR}/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>