mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
aae99987f8
Modified MASTER_SITES Changed two ports for XEmacs to XEmacs's package style
22 lines
454 B
Bash
22 lines
454 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" -a %%EMACS%% != xemacs ]; 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
|