From owner-freebsd-ports@FreeBSD.ORG Wed Mar 9 11:37:02 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D709B16A4CE for ; Wed, 9 Mar 2005 11:37:02 +0000 (GMT) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B84843D5D for ; Wed, 9 Mar 2005 11:37:01 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 28431 invoked from network); 9 Mar 2005 11:31:31 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 9 Mar 2005 11:31:31 -0000 Received: (qmail 32371 invoked by uid 89); 9 Mar 2005 11:43:18 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (82.76.1.117) by 0 with SMTP; 9 Mar 2005 11:43:18 -0000 Received: from buh.cameradicommercio.ro (localhost [127.0.0.1]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 46A3660DC; Wed, 9 Mar 2005 13:36:58 +0200 (EET) Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 9B8B960CA; Wed, 9 Mar 2005 13:36:57 +0200 (EET) Received: from it.buh.cameradicommercio.ro (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id E76BF35; Wed, 9 Mar 2005 13:36:59 +0200 (EET) Date: Wed, 9 Mar 2005 13:36:58 +0200 From: Ion-Mihai Tetcu To: "A. Nooitgedagt" Message-ID: <20050309133658.10ebaf2b@it.buh.cameradicommercio.ro> In-Reply-To: References: X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AV-Checked: on buh by ClamAV using ClamSMTP cc: freebsd-ports@freebsd.org Subject: Re: pkg-plist: substitutions and large DIR X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 11:37:02 -0000 On Wed, 9 Mar 2005 11:16:34 +0100 "A. Nooitgedagt" wrote: > Hello, > After creating a new port, I'm at the point of managing the pkg-plist. > > However, I cannot find good info on all PLIST substitutions. > Can anybody point me to the right docs and/or a good example. > > For example, all files seem to become prefixed with ${LOCALBASE}, but what > if I have something in /var ? Porters Handbook and bsd.port.mk :) There are 2 categories of plist subtitutions: automatic, like for PORTDOCS and those that you define manually. See mail/dspam-devel/{Makefile|pkg-plist} for an idea. > Furthermore, currently the automatically created plist is almost 8000 lines > long! But all files/dirs are in one main directory! Ideally this shouldn't happen, your port should obey hier(7). > The plist is hard to > manage this way if I have to specify all files. How should I deal with it? What is hard to manage ? Creating the plist or ? > Is it possible to delete the main directory in one line and not to list all > files separately. No, you can't do that, we need to know what files each port installs. Send me your port on private if you like and I'll try to do the plist for you. -- IOnut Unregistered ;) FreeBSD "user"