1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/print/yatex/files/DEINSTALL.tmpl
Satoshi Taoka 18aed621c2 moved japanese/yatex to print/yatex-mule (for Mule 2.3)
moved japanese/yatex-xemacs to print/yatex-xemacs-mule (for XEmacs20-mule)
added a new port: print/yatex-xemacs (for XEmacs19 XEmacs20)
1999-03-17 06:57:38 +00:00

22 lines
431 B
Bash

#!/bin/sh
pkgname=$1
CP=${CP:-%%CP%%}
ECHO=${ECHO:-%%ECHO%%}
GREP=${GREP:-%%GREP%%}
RM=${RM:-%%RM%%}
SED=${SED:-%%SED%%}
infodir=${INFODIR:-%%INFODIR%%}
infofiles=${INFOFILES:-%%INFOFILES%%}
if [ "X$2" = X"DEINSTALL" ]; then
${ECHO} "Deleting entry for \"${pkgname}\" from ${infodir}/dir"
for file in `echo ${infofiles} | ${SED} "s,:, ,g"`; do
install-info --delete ${infodir}/${file} ${infodir}/dir
done
else
exit 0
fi