Help making a port for a (somewhat) restricted program
Robert Huff
roberthuff at rcn.com
Sat Mar 28 08:34:49 PDT 2009
Vitaly Magerya writes:
> > 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).
I just re-compiled jdk-1.6 (all 6 hours of it) yesterday.
After unpacking the tarball(s) but before config. it popped up the
Sun license and asked for a "yes/no". I have no idea exactly how.
Robert Huff
More information about the freebsd-ports
mailing list