From: Charlie Kester on
On Sat 02 Jan 2010 at 09:14:11 PST Julien Laffaye wrote:
>2010/1/2 Nikola Le??i?? <nikola.lecic(a)anthesphoria.net>:
>> Hello,
>>
>> portmaster's feature to print collected pkg-message files after
>> successful installation is very useful. However, there are many ports
>> that echo messages from inside Makefile, usually in post-install phase
>> (but not exclusively there).
>>
>> A simple question: would it be possible (or better, would it be
>> desirable) to collect that text as well and to include it in the final
>> output in the same way it is done with pkg-messages?
>>
>
>Hi,
>
>It's better to correct these ports to make them use pkg-message, so it
>will be printed by portmaster *and* pkg_add (dont forget packages !)

Sometimes whether a message is echoed depends on a knob. The porter's
handbook includes examples of this. Is there a way to get the same
effect with pkg-messages?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Wesley Shields on
On Sat, Jan 02, 2010 at 01:11:38PM -0800, Charlie Kester wrote:
> On Sat 02 Jan 2010 at 09:14:11 PST Julien Laffaye wrote:
> >2010/1/2 Nikola Le??i?? <nikola.lecic(a)anthesphoria.net>:
> >> Hello,
> >>
> >> portmaster's feature to print collected pkg-message files after
> >> successful installation is very useful. However, there are many ports
> >> that echo messages from inside Makefile, usually in post-install phase
> >> (but not exclusively there).
> >>
> >> A simple question: would it be possible (or better, would it be
> >> desirable) to collect that text as well and to include it in the final
> >> output in the same way it is done with pkg-messages?
> >>
> >
> >Hi,
> >
> >It's better to correct these ports to make them use pkg-message, so it
> >will be printed by portmaster *and* pkg_add (dont forget packages !)
>
> Sometimes whether a message is echoed depends on a knob. The porter's
> handbook includes examples of this. Is there a way to get the same
> effect with pkg-messages?

See devel/git for an example of displaying pkg-message depending upon a
knob. I'm sure with a bit of creativity you could display only a portion
of pkg-message depending upon a knob.

-- WXS
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Charlie Kester on
On Sat 02 Jan 2010 at 13:32:05 PST Wesley Shields wrote:
>On Sat, Jan 02, 2010 at 01:11:38PM -0800, Charlie Kester wrote:
>>
>> Sometimes whether a message is echoed depends on a knob. The porter's
>> handbook includes examples of this. Is there a way to get the same
>> effect with pkg-messages?
>
>See devel/git for an example of displaying pkg-message depending upon a
>knob. I'm sure with a bit of creativity you could display only a
>portion of pkg-message depending upon a knob.

Thanks. I just checked the handbook again and couldn't find the
examples I thought I had seen there. I'll take a look at devel/git.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"