pkgsrc/print/xpdf-cyrillic/DEINSTALL
salo cfe246f977 Sync with updated xpdf-2.02 package.
- install into PREFIX, not X11PREFIX
- DEPENDS on xpdf>=2.02 due to USE_X11BASE->USE_X11 change
- fix DEINSTALL files to really remove chunks added to xpdfrc,
  correctly define PKG_SYSCONFDIR, don't use direct commands
  (sed->@SED@, mv->@MV@, rm->@RM@)
- define USE_PKGINSTALL to correctly replace variables in DEINSTALL files
- consistently use DIST_SUBDIR
- don't define completely bogus version numbers, use dates from the
  MASTER_SITE and xpdfrc chunks
- remove PREFIX/share/xpdf from PLISTs, this directory is now part of the xpdf
  package
- remove superfluous license/copyright note from DESCR files
- bump PKGREVISION where necessary
2003-03-25 14:06:48 +00:00

24 lines
325 B
Bash

#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:51 salo Exp $
PKGNAME=$1
STAGE=$2
XPDFRC=@PKG_SYSCONFDIR@/xpdfrc
case ${STAGE} in
DEINSTALL)
;;
POST-DEINSTALL)
@SED@ -e "/yrillic/d" ${XPDFRC} > ${XPDFRC}.tmp
@MV@ -f ${XPDFRC}.tmp ${XPDFRC}
;;
*)
echo "Unexpected argument: ${STAGE}"
exit 1
;;
esac
exit 0