Thierry Thomas <[email protected]> schrieb:
>Le ven  1 nov 13 à 10:11:50 +0100, Tijl Coosemans <[email protected]>
> é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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to