From owner-freebsd-questions@FreeBSD.ORG Fri May 25 06:18:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86F5E106566C for ; Fri, 25 May 2012 06:18:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 42FBD8FC0C for ; Fri, 25 May 2012 06:18:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx02.qsc.de (Postfix) with ESMTP id C1C2723EDC; Fri, 25 May 2012 08:18:49 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q4P6InJq009101; Fri, 25 May 2012 08:18:49 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 25 May 2012 08:18:49 +0200 From: Polytropon To: freebsd@dreamchaser.org Message-Id: <20120525081849.80fecc52.freebsd@edvax.de> In-Reply-To: <4FBF1EC5.3050702@dreamchaser.org> References: <4FBBF32D.9070505@dreamchaser.org> <20120522234510.a406941d.goksin.akdeniz@gmail.com> <4FBD7BA0.7070502@dreamchaser.org> <4FBEE05A.6000909@dreamchaser.org> <20120525035108.a3af81c1.freebsd@edvax.de> <4FBF1EC5.3050702@dreamchaser.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: automating menu options in ports (and other ports build questions) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 06:18:51 -0000 On Thu, 24 May 2012 23:55:17 -0600, Gary Aitken wrote: > >> 5. It looks like the options which show up using sysinstall are from the > >> OPTIONS variable in the Makefile. > > > > Excuse me, where exactly do you see compile-time options in the > > sysinstall program? I know it can select and install packages, > > but PORTS? > > What I mean is the OPTIONS variable is what shows up when > make config > is done (now that I understand it a little better) The menu functionality is provided by the ncurses-based "dialog" program and defined in /usr/ports/Mk/bsd.port.mk line 5953 +/- (version 1.692 here). > Unfortunately, lots-o-computers but only one screen :-( I know this situation very well. One just _cannot_ be familiar with all the many option names (that sometimes just sound like logorrhea) and that make _no_ sense unless you know what they mean. There are names where the meaning can be concluded, and so the question "Do I need it?" can be answered; sadly that's not always the case, especially when dealing with "modern" software and their partially ridiculous naming habits. > >> Or is this a documentation project in the offing? > > > > I would welcome a kind of text file that lists all the strange > > names with a short description of what they are and what you > > need them for, being more informative than the short "one liners" > > in the options dialog. > > Can someone point me at the code that puts up the menu? See /usr/ports/Mk/bsd.port.mk as mentioned above. The "dialog" program also offers some examples which belong to the base system, see /usr/share/examples/dialog, and of course see "man dialog". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...