1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/math/pspp/pkg-plist
Tim Vanderhoek fd7f3309c7 Remove %D/etc/pspp/{devices,ps-prologue,html-prologue,papersize}
if and only if `cmp -s %D/etc/pspp/{...}.default`.

Submitted by: bento
2000-06-02 04:40:27 +00:00

30 lines
1.4 KiB
Plaintext

bin/pspp
@unexec install-info --delete %D/info/pspp.info %D/info/dir
info/pspp.info
info/pspp.info-1
info/pspp.info-2
info/pspp.info-3
info/pspp.info-4
info/pspp.info-5
info/pspp.info-6
info/pspp.info-7
info/pspp.info-8
@exec install-info %D/info/pspp.info %D/info/dir
share/doc/pspp/NEWS
share/doc/pspp/README
share/doc/pspp/TODO
@dirrm share/doc/pspp
@unexec if [ -f %D/etc/pspp/devices ] && cmp -s %D/etc/pspp/devices %D/etc/pspp/devices.default ; then rm -f %D/etc/pspp/devices; fi
etc/pspp/devices.default
@exec if [ ! -f %D/etc/pspp/devices ] ; then cp -p %D/%F %B/devices; fi
@unexec if [ -f %D/etc/pspp/html-prologue ] && cmp -s %D/etc/pspp/html-prologue %D/etc/pspp/html-prologue.default ; then rm -f %D/etc/pspp/html-prologue; fi
etc/pspp/html-prologue.default
@exec if [ ! -f %D/etc/pspp/html-prologue ] ; then cp -p %D/%F %B/html-prologue; fi
@unexec if [ -f %D/etc/pspp/papersize ] && cmp -s %D/etc/pspp/papersize %D/etc/pspp/papersize.default ; then rm -f %D/etc/pspp/papersize; fi
etc/pspp/papersize.default
@exec if [ ! -f %D/etc/pspp/papersize ] ; then cp -p %D/%F %B/papersize; fi
@unexec if [ -f %D/etc/pspp/ps-prologue ] && cmp -s %D/etc/pspp/ps-prologue %D/etc/pspp/ps-prologue.default ; then rm -f %D/etc/pspp/ps-prologue; fi
etc/pspp/ps-prologue.default
@exec if [ ! -f %D/etc/pspp/ps-prologue ] ; then cp -p %D/%F %B/ps-prologue; fi
@unexec rmdir %D/etc/pspp 2>/dev/null || true