[prev in list] [next in list] [prev in thread] [next in thread]
List: fink-devel
Subject: Re: [Fink-devel] Conditional use of InfoDocs: in .info file
From: Philip Lamb <phil () eden ! net ! nz>
Date: 2007-09-27 0:00:12
Message-ID: D2E27DE0-B4EA-4348-9D4F-BE4E3BA99179 () eden ! net ! nz
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On 27/09/2007, at 7:27 AM, Alexander Hansen wrote:
> On 9/25/07, Philip Lamb <phil@eden.net.nz> wrote:
>> Is there some other means to allow conditional use of the InfoDocs
>> field?
> You might have to resort to a manual install of the Info files in
> that case.
OK, for reference for anyone else who might need to do this in
future, a line in the package .info file:
InfoDocs: FOO.info BAR.info
is currently (Fink version 0.27.6) approximately equivalent to:
PostInstScript: <<
if [ -f %p/share/info/dir ]; then
if [ -f %p/sbin/install-info ]; then
%p/sbin/install-info --infodir=%p/share/info %p/share/info/
FOO.info
%p/sbin/install-info --infodir=%p/share/info %p/share/info/
BAR.info
elif [ -f %p/bootstrap/sbin/install-info ]; then
%p/bootstrap/sbin/install-info --infodir=%p/share/info %p/
share/info/FOO.info
%p/bootstrap/sbin/install-info --infodir=%p/share/info %p/
share/info/BAR.info
fi
fi
<<
PreRmScript: <<
if [ -f %p/share/info/dir ]; then
%p/sbin/install-info --infodir=%p/share/info --remove FOO.info
%p/sbin/install-info --infodir=%p/share/info --remove BAR.info
fi
<<
Regards,
Phil.
["smime.p7s" (application/pkcs7-signature)]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic