From owner-freebsd-ports Thu Nov 23 23:17: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from zombie.antar.bryansk.ru (zombie.antar.bryansk.ru [195.239.214.68]) by hub.freebsd.org (Postfix) with ESMTP id 87BB837B479; Thu, 23 Nov 2000 23:17:02 -0800 (PST) Received: (from kappa@localhost) by zombie.antar.bryansk.ru (8.11.1/8.11.1) id eAO7HCI88611; Fri, 24 Nov 2000 10:17:12 +0300 (MSK) (envelope-from kappa@antar.bryansk.ru) X-Authentication-Warning: zombie.antar.bryansk.ru: kappa set sender to kappa@antar.bryansk.ru using -f Date: Fri, 24 Nov 2000 10:17:12 +0300 From: Alex Kapranoff To: Kris Kennaway Cc: ports@FreeBSD.org Subject: Re: Absolute paths in PLIST Message-ID: <20001124101711.D81183@zombie.antar.bryansk.ru> References: <20001123140616.A15984@zombie.antar.bryansk.ru> <20001123135518.A36673@citusc17.usc.edu> <20001124095727.A81183@zombie.antar.bryansk.ru> <20001123231125.A42003@citusc17.usc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001123231125.A42003@citusc17.usc.edu>; from kris@FreeBSD.org on Thu, Nov 23, 2000 at 11:11:25PM -0800 X-Operating-System: FreeBSD 4.2-STABLE i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Nov 23, 2000 at 11:11:25PM -0800, Kris Kennaway wrote: > > > > It installs a file under /etc. How can I specify such a file > > > > in pkg-plist for it to be removed when deinstalling the port? > > > > > > Does the binary itself do the installing, or can you install the files > > > using a do-install: target in the makefile? Obviously having the port > > > follow hier(7) is vastly preferred here. > > > > Yes, I can install the files wherever I want, but the binary will > > hardly look for the files there. > > It doesn't let you specify an alternate config file on the command line? No, it doesn't. But I've just succeeded at removing the files under consideration from /etc completely without breaking the app :) I'm going to recompose the do-install target therefore. -- Alex Kapranoff, +7(0832)791845 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message