Thierry Thomas <thie...@freebsd.org> schrieb:
>Le ven  1 nov 13 à 10:11:50 +0100, Tijl Coosemans <t...@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.

This only works with pkgNG, not traditional pkg_... tools.
_______________________________________________
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