Sync Mk with ports
[dports.git] / Keywords / fc.ucl
1 # $FreeBSD: head/Keywords/fc.ucl 396872 2015-09-13 23:30:21Z hrs $
2 #
3 # MAINTAINER: x11@FreeBSD.org
4
5 actions: [dir]
6 post-install: <<EOD
7   case "%@" in
8   /*) fontsdir="%@" ;;
9   *) fontsdir="%D/%@" ;;
10   esac
11   fc-cache -fs ${fontsdir} 2>/dev/null || true
12 EOD
13 post-deinstall: <<EOD
14   case "%@" in
15   /*) fontsdir="%@" ;;
16   *) fontsdir="%D/%@" ;;
17   esac
18   fc-cache -fs ${fontsdir} 2>/dev/null || true
19 EOD