mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
23 lines
640 B
Plaintext
23 lines
640 B
Plaintext
# $FreeBSD: head/Keywords/terminfo.ucl 398827 2015-10-08 14:12:53Z amdmi3 $
|
|
#
|
|
|
|
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
|