From owner-freebsd-ports Sun Jan 19 16:50:15 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 C7B7C37B401 for ; Sun, 19 Jan 2003 16:50:14 -0800 (PST) Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 5218243F1E for ; Sun, 19 Jan 2003 16:50:14 -0800 (PST) (envelope-from negative@magnesium.net) Received: (qmail 38233 invoked by uid 1224); 20 Jan 2003 00:50:13 -0000 Date: 19 Jan 2003 16:50:13 -0800 Date: Sun, 19 Jan 2003 16:50:13 -0800 From: Jim Geovedi To: Edwin Groothuis Cc: Craig Rodrigues , freebsd-ports@freebsd.org Subject: Re: Determining the correct pkg-plist Message-ID: <20030120005013.GA31842@toxic.magnesium.net> References: <20030120000651.GA81951@attbi.com> <20030120002900.GO50581@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030120002900.GO50581@k7.mavetju> User-Agent: Mutt/1.4i X-URL: http://www.magnesium.net/~negative/ 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. I believe http://docs.freebsd.org/tutorials/en/4.5R/porters-handbook/\ porting-autoplist.html has better answer. And yes, still need manual intervention. ;) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message