Bump games/flightgear-terragear to version 20171007_12
[dports.git] / Keywords / terminfo.ucl
1 # $FreeBSD$
2 #
3
4 actions: []
5 post-install: <<EOD
6   terminfodir=%D/share/misc
7   terminfodb=${terminfodir}/terminfo.db
8   if [ -e ${terminfodb}.default ] && which -s tic; then
9     cp ${terminfodb}.default ${terminfodb}
10     find -s ${terminfodir} -name "*.terminfo" -exec tic {} \;
11   fi
12 EOD
13 post-deinstall: <<EOD
14   terminfodir=%D/share/misc
15   terminfodb=${terminfodir}/terminfo.db
16   if [ -e ${terminfodb}.default ] && which -s tic; then
17     cp ${terminfodb}.default ${terminfodb}
18     find -s ${terminfodir} -name "*.terminfo" -exec tic {} \;
19   else
20     rm -f ${terminfodb}
21   fi
22 EOD