svn commit: r379314 - head/print/foxitreader
Boris Samorodov
bsam at passap.ru
Fri Feb 20 06:27:59 UTC 2015
20.02.2015 00:10, Adam Weinberger пишет:
>> On 19 Feb, 2015, at 13:33, Boris Samorodov <bsam at passap.ru> wrote:
>>
>> 19.02.2015 00:18, Nicola Vitale пишет:
>>> Author: nivit
>>> Date: Wed Feb 18 21:18:41 2015
>>> New Revision: 379314
>>> URL: https://svnweb.freebsd.org/changeset/ports/379314
>>> QAT: https://qat.redports.org/buildarchive/r379314/
>>>
>>> Log:
>>> - Fix installation when DOCS option is off
>>>
>>> PR: 197807
>>> Submitted by: xmj
>>>
>>> Modified:
>>> head/print/foxitreader/Makefile
>>>
>>> Modified: head/print/foxitreader/Makefile
>>> ==============================================================================
>>> --- head/print/foxitreader/Makefile Wed Feb 18 20:49:13 2015 (r379313)
>>> +++ head/print/foxitreader/Makefile Wed Feb 18 21:18:41 2015 (r379314)
>>> @@ -46,7 +46,9 @@ do-install:
>>> ${INSTALL_DATA} ${WRKSRC}/po/${locale}/FoxitReader.mo ${STAGEDIR}${PREFIX}/share/locale/${locale}/LC_MESSAGES/
>>> .endfor
>>> .endif
>>> +.if ${PORT_OPTIONS:MDOCS}
>>> @${MKDIR} ${STAGEDIR}${DOCSDIR}
>>> ${INSTALL_DATA} ${DISTDIR}/FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf ${STAGEDIR}${DOCSDIR}
>>> +.endif
>>>
>>> .include <bsd.port.mk>
>>
>> I was under an impression that this should be automagically
>> treated by staging.
>
> In general, you're right, but in this case, the DOCS option adds an extra DISTFILE containing the manual.
Got it, interesting use case. Thanks!
--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
More information about the svn-ports-all
mailing list