From owner-freebsd-ports@FreeBSD.ORG Tue Jan 2 20:29:12 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FC5B16A407 for ; Tue, 2 Jan 2007 20:29:12 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 1E0BB13C428 for ; Tue, 2 Jan 2007 20:29:11 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id D5E725C57; Tue, 2 Jan 2007 15:29:20 -0500 (EST) Date: Tue, 2 Jan 2007 15:29:20 -0500 From: Wesley Shields To: Beech Rintoul Message-ID: <20070102202920.GA97191@atarininja.org> References: <200701021117.08873.freebsd@alaskaparadise.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200701021117.08873.freebsd@alaskaparadise.com> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-ports@freebsd.org Subject: Re: PLIST_FILES question 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: Tue, 02 Jan 2007 20:29:12 -0000 On Tue, Jan 02, 2007 at 11:17:04AM -0900, Beech Rintoul wrote: > Can someone give me the proper syntax for PLIST_FILES in a port Makefile? > The handbook isn't really clear on how to use it. PLIST_FILES is useful if you only have a handful of files to list in the plist. It saves an inode (see the archives for this) at the expense of being able to grep for things in pkg-plist. The syntax is exactly what is shown in the handbook... PLIST_FILES= bin/foo bin/bar include/example/foo.h include/example/bar.h PLIST_DIRS= include/example This is the equivalent of having the following in pkg-plist: bin/foo bin/bar include/example/foo.h include/example/foo.bar @dirrm include/example If you are looking to do substitutions in the plist I'd recommend using pkg-plist not PLIST_FILES or PLIST_DIRS as I'm not sure if substitutions are done on the latter. Please feel free to correct me if I am wrong (I have not experimented to find out). -- WXS