1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/Keywords/terminfo.ucl

23 lines
576 B
Plaintext
Raw Normal View History

# $FreeBSD$
#
actions: []
post-install: <<EOD
terminfodir=%D/share/misc
terminfodb=${terminfodir}/terminfo.db
if [ -e ${terminfodb}.default ] && which -s tic; then
cp ${terminfodb}.default ${terminfodb}
find -s ${terminfodir} -name "*.terminfo" -exec tic {} \;
fi
EOD
post-deinstall: <<EOD
terminfodir=%D/share/misc
terminfodb=${terminfodir}/terminfo.db
if [ -e ${terminfodb}.default ] && which -s tic; then
cp ${terminfodb}.default ${terminfodb}
find -s ${terminfodir} -name "*.terminfo" -exec tic {} \;
else
rm -f ${terminfodb}
fi
EOD