1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/Keywords/fontsdir.ucl
Baptiste Daroussin 1cee61cab5 Convert keywords in pure ucl format
yaml version will be removed later
2014-07-24 17:10:57 +00:00

20 lines
511 B
Plaintext

# $FreeBSD$
#
# MAINTAINER: x11@FreeBSD.org
actions: [dirrmtry]
post-install: <<EOD
mkfontscale %D/%@ 2>/dev/null || true
mkfontdir %D/%@ 2>/dev/null || true
EOD
post-deinstall: <<EOD
mkfontscale %D/%@ 2>/dev/null || true
if [ -e %D/%@/fonts.scale -a "`stat -f '%%z' %D/%@/fonts.scale 2>/dev/null`" = '2' ]; then
rm %D/%@/fonts.scale
fi
mkfontdir %D/%@ 2>/dev/null || true
if [ -e %D/%@/fonts.dir -a "`stat -f '%%z' %D/%@/fonts.dir 2>/dev/null`" = '2' ]; then
rm %D/%@/fonts.dir
fi
EOD