mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
5d33e04596
Where appropriate fiddle with a few other things.
18 lines
330 B
Plaintext
18 lines
330 B
Plaintext
# MAINTAINER: x11@FreeBSD.org
|
|
|
|
actions: [dir]
|
|
post-install: <<EOD
|
|
case "%@" in
|
|
/*) fontsdir="%@" ;;
|
|
*) fontsdir="%D/%@" ;;
|
|
esac
|
|
fc-cache -fs ${fontsdir} 2>/dev/null || true
|
|
EOD
|
|
post-deinstall: <<EOD
|
|
case "%@" in
|
|
/*) fontsdir="%@" ;;
|
|
*) fontsdir="%D/%@" ;;
|
|
esac
|
|
fc-cache -fs ${fontsdir} 2>/dev/null || true
|
|
EOD
|