Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2009 17:16:11 +0200
From:      Vitaly Magerya <vmagerya@gmail.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Help making a port for a (somewhat) restricted program
Message-ID:  <accd96830903280816y1d03b1auc52d630a53480eed@mail.gmail.com>
In-Reply-To: <18894.14202.11046.741193@jerusalem.litteratus.org>
References:  <accd96830903280648q21c0c398i8decab2903c86340@mail.gmail.com> <18894.14202.11046.741193@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>       Look at how java/jdk-* does it.

java/jdk* uses ${PRINTF} (/usr/bin/printf) to display a message about
you having to go and download some of the restricted files, and then exits.
Once you've downloaded the files (and that implies that you've accepted
the license), the message no longer appears, and you can proceed with
installation.
(This seems to be the common way of treating restricted ports).

The difference with Petite Chez is that you do not need to accept anything
to download sources (no restriction on redistribution), so this part can be
automated; but you do have to read and accept the license before
installing it. ${PRINTF} won't help too much, as you can't display a
file with it;
and license is too big to fit on one screen anyway (that's why I'd use a pager).



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