From owner-freebsd-ports Sun Jan 19 16:29:19 2003 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 AB5DB37B401 for ; Sun, 19 Jan 2003 16:29:18 -0800 (PST) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD2E443ED8 for ; Sun, 19 Jan 2003 16:29:17 -0800 (PST) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 7116A2B848; Mon, 20 Jan 2003 01:29:05 +0100 (CET) Received: by k7.mavetju (Postfix, from userid 1001) id DABC96A712B; Mon, 20 Jan 2003 11:29:00 +1100 (EST) Date: Mon, 20 Jan 2003 11:29:00 +1100 From: Edwin Groothuis To: Craig Rodrigues Cc: freebsd-ports@freebsd.org Subject: Re: Determining the correct pkg-plist Message-ID: <20030120002900.GO50581@k7.mavetju> References: <20030120000651.GA81951@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030120000651.GA81951@attbi.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jan 19, 2003 at 07:06:51PM -0500, Craig Rodrigues wrote: > As a new porter, does anyone have any hints for a general procedure > for determining the correct pkg-plist? I run this before each port-install and after each deinstall: #!/bin/sh if [ $0 = "/usr/local/bin/before" ]; then find /usr/local > /tmp/before exit fi find /usr/local | diff /tmp/before - No output is good :-) It doesn't work for ports installed in /usr/X11R6, but that's an easy fix. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message