From owner-freebsd-ports@FreeBSD.ORG Tue Jul 19 17:35:27 2005 Return-Path: X-Original-To: ports@freebsd.org 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 1CF6416A41F for ; Tue, 19 Jul 2005 17:35:27 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id D518943D4C for ; Tue, 19 Jul 2005 17:35:26 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id 79D4B388E58 for ; Tue, 19 Jul 2005 12:35:26 -0500 (CDT) Date: Tue, 19 Jul 2005 12:35:26 -0500 From: Paul Schmehl To: ports@freebsd.org Message-ID: In-Reply-To: <1121793497.3319.3.camel@cream.xbsd.org> References: <1121793497.3319.3.camel@cream.xbsd.org> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Re: pkg-plist problems 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, 19 Jul 2005 17:35:27 -0000 --On Tuesday, July 19, 2005 19:18:17 +0200 Florent Thoumie =20 wrote: > Le Lundi 18 juillet 2005 =E0 16:13 -0500, Paul Schmehl a =E9crit : >> I'm working on a new port, and I'm having a strange problem with >> pkg-plist. I created pkg-plist per the instructions in Chapter 19 of >> the Porters Handbook. When I run make deinstall >> PREFIX=3D/var/tmp/port-name, the deinstall complains that the files in >> $DOCSDIR don't exist. Yet they do. >> >> Here's the error I'm getting (in part): >> >> pkg_delete: file '/var/tmp/sguild/share/doc/sguil-sensor' doesn't really >> exist >> pkg_delete: unable to completely remove directory >> '/var/tmp/sguild/share/doc/sguil-sensor' >> pkg_delete: couldn't entirely delete package (perhaps the packing list = is >> incorrectly specified?) > > You should have posted the entire port, but reading that, I > guess you're using PORTDOCS in Makefile. PORTDOCS automatically > adds "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" to the packing list, so > the one you added in pkg-plist isn't necessary. > That's exactly what the problem was. I removed the lines from pkg-plist=20 and ran install and deinstall and checked for the docdir, and it was=20 installed and removed every time. Gracias mucho Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/