mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
5d33e04596
Where appropriate fiddle with a few other things.
22 lines
602 B
Plaintext
22 lines
602 B
Plaintext
# MAINTAINER: portmgr@FreeBSD.org
|
|
|
|
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 -x {} \;
|
|
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 -x {} \;
|
|
else
|
|
rm -f ${terminfodb}
|
|
fi
|
|
EOD
|