From owner-freebsd-ports@FreeBSD.ORG Wed Feb 16 16:53:09 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 6A78916A4CE for ; Wed, 16 Feb 2005 16:53:09 +0000 (GMT) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 5582B43D2D for ; Wed, 16 Feb 2005 16:53:08 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 20011 invoked from network); 16 Feb 2005 16:48:19 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 16 Feb 2005 16:48:19 -0000 Received: (qmail 15051 invoked by uid 89); 16 Feb 2005 16:57:09 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (82.76.1.117) by 0 with SMTP; 16 Feb 2005 16:57:09 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 0470560B4; Wed, 16 Feb 2005 18:53:03 +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 81298112; Wed, 16 Feb 2005 18:53:01 +0200 (EET) Date: Wed, 16 Feb 2005 18:53:01 +0200 From: Ion-Mihai Tetcu To: Scot Hetzel Message-ID: <20050216185301.51d621b5@it.buh.cameradicommercio.ro> In-Reply-To: <790a9fff050216084266bb5a40@mail.gmail.com> References: <20050216154212.55c3fe88@it.buh.cameradicommercio.ro> <790a9fff050216084266bb5a40@mail.gmail.com> 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 cc: ports@freebsd.org Subject: Re: @unexec equivalent in Makefile ? 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, 16 Feb 2005 16:53:09 -0000 On Wed, 16 Feb 2005 10:42:04 -0600 Scot Hetzel wrote: > On Wed, 16 Feb 2005 15:42:12 +0200, Ion-Mihai Tetcu > wrote: > > Hi, > > > > I have a port that installs 8 files (3 of them being PORTDOCS), so I > > rather not use a pkg-plist file. ^^^^^^^^^^^ > > But I need to remove a .conf file on > > deinstall if it's identical to the distributed one, and I'm not aware of > > a way to do it in the Makefile; we don't have pre|post-deinstall targets > > and using a pkg-deinstall doesn't make sense just for this. > > > You don't need to worry about deinstall targets in the Makefile, as > pkg_delete is called to remove your port. > > Just place an @unexec to remove the file in the ports pkg-plist, for [ ... ] Thanks, I do it like that in mail/dspam* ports. -- IOnut Unregistered ;) FreeBSD "user"