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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to