mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
6107ede2ac
Approved by: portmgr (antoine, bapt) Differential Revision: https://reviews.freebsd.org/D721
20 lines
342 B
Plaintext
20 lines
342 B
Plaintext
# $FreeBSD$
|
|
#
|
|
# MAINTAINER: x11@FreeBSD.org
|
|
|
|
actions: [dir]
|
|
post-install: <<EOD
|
|
case "%@" in
|
|
/*) fontsdir="%@" ;;
|
|
*) fontsdir="%D/%@" ;;
|
|
esac
|
|
fc-cache -s ${fontsdir} 2>/dev/null || true
|
|
EOD
|
|
post-deinstall: <<EOD
|
|
case "%@" in
|
|
/*) fontsdir="%@" ;;
|
|
*) fontsdir="%D/%@" ;;
|
|
esac
|
|
fc-cache -s ${fontsdir} 2>/dev/null || true
|
|
EOD
|