From owner-freebsd-ports@FreeBSD.ORG Sat Mar 28 15:34:49 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DAD11065674 for ; Sat, 28 Mar 2009 15:34:49 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id C38098FC0C for ; Sat, 28 Mar 2009 15:34:48 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 28 Mar 2009 11:34:49 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.10.4-GA) with ESMTP id KTB82938; Sat, 28 Mar 2009 11:34:31 -0400 (EDT) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 28 Mar 2009 11:34:31 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18894.17286.871672.263565@jerusalem.litteratus.org> Date: Sat, 28 Mar 2009 11:34:30 -0400 To: Vitaly Magerya In-Reply-To: References: <18894.14202.11046.741193@jerusalem.litteratus.org> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Cc: Robert Huff , freebsd-ports@freebsd.org Subject: Re: Help making a port for a (somewhat) restricted program X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2009 15:34:49 -0000 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