aboutsummaryrefslogtreecommitdiffstats
path: root/Keywords/fmtutil.ucl
diff options
context:
space:
mode:
Diffstat (limited to 'Keywords/fmtutil.ucl')
-rw-r--r--Keywords/fmtutil.ucl15
1 files changed, 15 insertions, 0 deletions
diff --git a/Keywords/fmtutil.ucl b/Keywords/fmtutil.ucl
new file mode 100644
index 000000000000..b20f2ed9575c
--- /dev/null
+++ b/Keywords/fmtutil.ucl
@@ -0,0 +1,15 @@
+# $FreeBSD$
+#
+# MAINTAINER: portmgr@FreeBSD.org
+
+actions: []
+post-install: <<EOD
+ fmtutil-sys --missing >/dev/null
+EOD
+post-deinstall: <<EOD
+ set -- %@
+ for f in $@; do
+ rm -f $f
+ rmdir -p ${f%/*} 2>/dev/null
+ done
+EOD