Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2009 10:00:18 +0100
From:      Tijl Coosemans <tijl@coosemans.org>
To:        freebsd-ports@freebsd.org, Matthew Seaman <m.seaman@infracaninophile.co.uk>
Subject:   Re: New version of the fakeroot patch
Message-ID:  <200912151000.19393.tijl@coosemans.org>
In-Reply-To: <4B274487.7080505@infracaninophile.co.uk>
References:  <20091214151318.GC1016@wicklow.lan> <fee671620912140959q32257e1er92e2825f55a0c968@mail.gmail.com> <4B274487.7080505@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 15 December 2009 09:10:47 Matthew Seaman wrote:
> Uh -- is it actually possible to create an empty directory when
> installing from a pkg tarball?
> 
> I ran into this problem with the phpMyAdmin port, and the only good
> way I found to solve it was to add a stub file into any empty
> directories.  You could use a post install script or an mtree file,
> but that seems like overkill for such a trivial operation.

If you want to create ${PREFIX}/somedir you can add this line
to pkg-plist:

@exec mkdir -p %D/somedir



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