From owner-freebsd-questions@FreeBSD.ORG Mon Mar 14 18:39:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47ECA16A4CE for ; Mon, 14 Mar 2005 18:39:07 +0000 (GMT) Received: from prosporo.hedron.org (hedron.org [66.11.182.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E62643D1D for ; Mon, 14 Mar 2005 18:39:06 +0000 (GMT) (envelope-from ean@hedron.org) Received: from www.hedron.org (localhost.hedron.org [127.0.0.1]) by prosporo.hedron.org (Postfix) with ESMTP id 15F55C12C; Mon, 14 Mar 2005 13:39:37 -0500 (EST) Received: from 216.220.59.169 (SquirrelMail authenticated user ean); by www.hedron.org with HTTP; Mon, 14 Mar 2005 13:39:37 -0500 (EST) Message-ID: <1095.216.220.59.169.1110825577.squirrel@216.220.59.169> In-Reply-To: <4235CF25.5000708@163.com> References: <4235CF25.5000708@163.com> Date: Mon, 14 Mar 2005 13:39:37 -0500 (EST) From: "Ean Kingston" To: "heccj" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: freebsd-questions@freebsd.org Subject: Re: The options when you install a port! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 18:39:07 -0000 > Hi! > How could i know the options of a port?And Could i set some default > options?I meet this problem when i setup a big port like gnome2,it needs > a lot of time,and a lot of confirm dialog will pop out.If i know these > options and set the values,i can setup these ports without interact! Read the port makefile. There is usually instructions at the top explaining the available options. These can be put into /etc/make.conf (I'm not sure of the syntax). For example, I recently built mplayer. At the top of /usr/ports/multimedia/mplayer it says: # New ports collection makefile for: mplayer # Date created: 10 August 2001 nstalL# Whom: Thomas E. Zander # with lots of help from Vladimir Kushnir # $FreeBSD: ports/multimedia/mplayer/Makefile,v 1.111 2005/03/06 10:34:15 oliver Exp $ # # There are many knobs to tune mplayer towards your specific wishes # and preferences. # You can activate a knob by typing something like # "make -DKNOB" or "make KNOB=yes" instead of just "make" # It then goes on to explain what all the 'KNOB's are. -- Ean Kingston E-Mail: ean_AT_hedron_DOT_org PGP KeyID: 1024D/CBC5D6BB URL: http://www.hedron.org/