mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
23 lines
576 B
Plaintext
23 lines
576 B
Plaintext
|
# $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
|