aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/trafd/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/trafd/pkg-plist')
-rw-r--r--net-mgmt/trafd/pkg-plist5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-mgmt/trafd/pkg-plist b/net-mgmt/trafd/pkg-plist
index a43a72995842..aa17c21fe938 100644
--- a/net-mgmt/trafd/pkg-plist
+++ b/net-mgmt/trafd/pkg-plist
@@ -9,6 +9,9 @@ bin/trafstop
etc/traflog.format
%%PORTDOCS%%share/doc/trafd/README
%%PORTDOCS%%@dirrm share/doc/trafd
-@dirrm var/trafd
+@exec mkdir %D/var 2>/dev/null || true
+@exec mkdir %D/var/log 2>/dev/null || true
+@exec mkdir %D/var/trafd 2>/dev/null || true
+@unexec rmdir %D/var/trafd 2>/dev/null || true
@unexec rmdir %D/var/log 2>/dev/null || true
@unexec rmdir %D/var 2>/dev/null || true