From owner-freebsd-ports Sat Jun 16 23:33:17 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ringworld.nanolink.com (diskworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 1ABFF37B401 for ; Sat, 16 Jun 2001 23:33:05 -0700 (PDT) (envelope-from roam@ringworld.nanolink.com) Received: (qmail 37382 invoked by uid 1000); 17 Jun 2001 06:31:34 -0000 Date: Sun, 17 Jun 2001 09:31:34 +0300 From: Peter Pentchev To: James Halstead Cc: freebsd-ports@FreeBSD.org Subject: Re: ports/28209: Update port: cups Message-ID: <20010617093134.A18400@ringworld.oblivion.bg> Mail-Followup-To: James Halstead , freebsd-ports@FreeBSD.org References: <01061619305808.06764@Halstead007> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01061619305808.06764@Halstead007>; from James_Bond_79@yahoo.com on Sat, Jun 16, 2001 at 07:30:58PM -0400 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 Sat, Jun 16, 2001 at 07:30:58PM -0400, James Halstead wrote: > > As a side note is there a way to have the port create empty directories it > needs. this program likes to fail or just not work in weird ways when > directories it needs do not exist. (/var/spool/cups, /var/spool/cups/tmp, > /usr/local/etc/cups/certs all come to mind as directories that weren't > created and caused problems). ${MKDIR} ${PREFIX}/wherever in the post-install target, and add the new directory with a @dirrm to the pkg-plist file (or @unexec rm -rf dir, if there's a chance that it might not be empty at port deinstall time, and its contents need not be preserved). G'luck, Peter -- You have, of course, just begun reading the sentence that you have just finished reading. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message