Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 09:31:34 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        James Halstead <James_Bond_79@yahoo.com>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/28209: Update port: cups
Message-ID:  <20010617093134.A18400@ringworld.oblivion.bg>
In-Reply-To: <01061619305808.06764@Halstead007>; from James_Bond_79@yahoo.com on Sat, Jun 16, 2001 at 07:30:58PM -0400
References:  <Pine.BSF.4.21.0106170014170.44161-100000@sobek.openirc.co.uk> <01061619305808.06764@Halstead007>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010617093134.A18400>