mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
18aed621c2
moved japanese/yatex-xemacs to print/yatex-xemacs-mule (for XEmacs20-mule) added a new port: print/yatex-xemacs (for XEmacs19 XEmacs20)
22 lines
431 B
Bash
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
|