Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2015 09:27:51 +0300
From:      Boris Samorodov <bsam@passap.ru>
To:        Adam Weinberger <adamw@adamw.org>
Cc:        Nicola Vitale <nivit@FreeBSD.org>, svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r379314 - head/print/foxitreader
Message-ID:  <54E6D3E7.9080306@passap.ru>
In-Reply-To: <A9009BB0-CF00-4C16-A6B6-29790007868A@adamw.org>
References:  <201502182118.t1ILIfDZ009172@svn.freebsd.org> <54E648B3.7040502@passap.ru> <A9009BB0-CF00-4C16-A6B6-29790007868A@adamw.org>

next in thread | previous in thread | raw e-mail | index | archive | help
20.02.2015 00:10, Adam Weinberger пишет:
>> On 19 Feb, 2015, at 13:33, Boris Samorodov <bsam@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E6D3E7.9080306>