Stage and /var ?

Thierry Thomas thierry at FreeBSD.org
Fri Nov 1 16:13:03 UTC 2013


Le ven  1 nov 13 à 10:11:50 +0100, Tijl Coosemans <tijl at FreeBSD.org>
 écrivait :

> Something like this should work:
> 
> 
> In post-install do: ${MKDIR} /var/foo
> 
> In pkg-plist add:
> 
> @unexec rmdir /var/foo 2>/dev/null || true
> @exec mkdir -p /var/foo

Thanks for this, it could be useful for some other ports.

About net/neubot (just committed), I removed the creation of the
directory from the Makefile, and it still works: it's created anyway
when the application creates its database.

Regards,
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 964 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131101/f543a72d/attachment.sig>


More information about the freebsd-ports mailing list