From owner-freebsd-ports@FreeBSD.ORG Thu Apr 22 01:01:16 2010 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 D73381065673 for ; Thu, 22 Apr 2010 01:01:16 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id AD4E08FC19 for ; Thu, 22 Apr 2010 01:01:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 590AB170EF for ; Wed, 21 Apr 2010 21:01:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received:received; s=aegis; t=1271898076; bh=dn2OCxZgQBXn7dVhce66MeCKaNw4GLEHsWm8sbloyz0=; b= XxGklwYkxurtEfroclwy108usOFpK3Rl5dUB9FBNZBcpmI+6IBFSi9nrAMoFL751 ibVp5H2ug11Vgo8zijm1GvSOXWSn74NXiuQzHIvRgaNeG4gcacqTaLMydAHfs/uJ Manc5drjTkSzAescHU6CqnmJCfLumUYhHqgCxz2mCn0= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id NXdhe9al9g-D for ; Wed, 21 Apr 2010 21:01:16 -0400 (EDT) Received: from magic.hamla.org (cpe-69-201-179-80.nyc.res.rr.com [69.201.179.80]) by spartan.hamla.org (Postfix) with ESMTPSA id D0BC917042 for ; Wed, 21 Apr 2010 21:01:15 -0400 (EDT) Date: Wed, 21 Apr 2010 21:01:13 -0400 From: Sahil Tandon To: freebsd-ports@freebsd.org Message-ID: <20100422010113.GA5766@magic.hamla.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Dynamic plists X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 01:01:16 -0000 On Wed, 21 Apr 2010, Rob Farmer wrote: > I maintain math/scilab and am preparing to update it. This port has a > huge plist (slightly under 15000 lines), hundreds of which change > depending on what options are selected. It is a bit of a pain to > update. The porters handbook makes vague reference to dynamic plists - > so I was wondering, would this be a good idea? And if so, what is the > best way to make one? The reference is vague probably because static plists are generally preferred. :-) But you can start by studying ports that pipe to ${TMPPLIST}; grep through the tree to find them. Also be sure to review the "advanced pkg-plist practices" section of the Porter's Handbook. -- Sahil Tandon