diff options
author | jlam <jlam> | 2003-08-30 20:22:49 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-08-30 20:22:49 +0000 |
commit | 20b85a151292d1c2495d2fba787ca26293c7a9e2 (patch) | |
tree | d334e2fd95050def4488e848ea48612e6f9103a4 /print | |
parent | 1c9f4e0bdcaa144f30d977697cd5fdfe70963ce1 (diff) | |
download | pkgsrc-20b85a151292d1c2495d2fba787ca26293c7a9e2.tar.gz |
Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
Diffstat (limited to 'print')
-rw-r--r-- | print/LPRng-core/DEINSTALL | 7 | ||||
-rw-r--r-- | print/LPRng-core/INSTALL | 10 | ||||
-rw-r--r-- | print/apsfilter/Makefile | 7 | ||||
-rw-r--r-- | print/dvipdfmx/DEINSTALL | 16 | ||||
-rw-r--r-- | print/dvipdfmx/INSTALL | 13 | ||||
-rw-r--r-- | print/ja-jsclasses/DEINSTALL | 16 | ||||
-rw-r--r-- | print/ja-jsclasses/INSTALL | 13 | ||||
-rw-r--r-- | print/ja-ptex-bin/DEINSTALL | 16 | ||||
-rw-r--r-- | print/ja-ptex-bin/INSTALL | 13 | ||||
-rw-r--r-- | print/xpdf-arabic/DEINSTALL | 22 | ||||
-rw-r--r-- | print/xpdf-chinese-simplified/DEINSTALL | 24 | ||||
-rw-r--r-- | print/xpdf-chinese-traditional/DEINSTALL | 24 | ||||
-rw-r--r-- | print/xpdf-cyrillic/DEINSTALL | 22 | ||||
-rw-r--r-- | print/xpdf-greek/DEINSTALL | 22 | ||||
-rw-r--r-- | print/xpdf-hebrew/DEINSTALL | 22 | ||||
-rw-r--r-- | print/xpdf-japanese/DEINSTALL | 24 | ||||
-rw-r--r-- | print/xpdf-korean/DEINSTALL | 24 | ||||
-rw-r--r-- | print/xpdf-latin2/DEINSTALL | 22 | ||||
-rw-r--r-- | print/xpdf-thai/DEINSTALL | 22 | ||||
-rw-r--r-- | print/xpdf-turkish/DEINSTALL | 22 |
20 files changed, 57 insertions, 304 deletions
diff --git a/print/LPRng-core/DEINSTALL b/print/LPRng-core/DEINSTALL index 4c78d14eb31..c70ddb7a6a7 100644 --- a/print/LPRng-core/DEINSTALL +++ b/print/LPRng-core/DEINSTALL @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: DEINSTALL,v 1.1 2001/10/31 23:27:25 zuntum Exp $ +# $NetBSD: DEINSTALL,v 1.2 2003/08/30 20:23:01 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -58,10 +58,5 @@ EOF =========================================================================== EOF ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; esac exit 0 diff --git a/print/LPRng-core/INSTALL b/print/LPRng-core/INSTALL index ad534279044..1ffae193614 100644 --- a/print/LPRng-core/INSTALL +++ b/print/LPRng-core/INSTALL @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: INSTALL,v 1.1 2001/10/31 23:27:25 zuntum Exp $ +# $NetBSD: INSTALL,v 1.2 2003/08/30 20:23:01 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -15,9 +15,6 @@ CONFFILES="lpd.conf lpd.perms" NONCONFFILES="printcap" case ${STAGE} in -PRE-INSTALL) - ;; - POST-INSTALL) echo "Installing configuration files:" for file in ${CONFFILES} ${NONCONFFILES} @@ -48,10 +45,5 @@ EOF =========================================================================== EOF ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; esac exit 0 diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile index c9ceda2548b..d27fcac8817 100644 --- a/print/apsfilter/Makefile +++ b/print/apsfilter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2003/07/17 22:52:23 grant Exp $ +# $NetBSD: Makefile,v 1.14 2003/08/30 20:23:01 jlam Exp $ # DISTNAME= apsfilter-7.2.5 @@ -33,8 +33,6 @@ CONF_FILES= ${PREFIX}/share/apsfilter/template/apsfilterrc \ DEINSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL INSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL -FILES_SUBST+= PREFIX="${PREFIX}" - post-patch: for i in bin/apsfilter.in SETUP.in tools/prtmgmt; do \ ${SED} "s,/usr/local,${LOCALBASE},g" ${WRKSRC}/$$i \ @@ -42,8 +40,5 @@ post-patch: ${MV} ${WRKSRC}/$$i.done ${WRKSRC}/$$i; \ done -# ${SED} "s,@LOCALBASE@,${LOCALBASE},g" ${PKGDIR}/DEINSTALL \ -# > ${DEINSTALL_FILE} - .include "../../mk/ghostscript.mk" .include "../../mk/bsd.pkg.mk" diff --git a/print/dvipdfmx/DEINSTALL b/print/dvipdfmx/DEINSTALL index 874fd95ac94..0d1c49bd78e 100644 --- a/print/dvipdfmx/DEINSTALL +++ b/print/dvipdfmx/DEINSTALL @@ -1,23 +1,9 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/15 08:26:35 kei Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:02 jlam Exp $ TEXMF=@PREFIX@/share/texmf case ${STAGE} in -PRE-DEINSTALL) - ;; - -DEINSTALL) - ;; - POST-DEINSTALL) @PREFIX@/bin/mktexlsr ;; - -*) - ${ECHO} "Unexpected argument: ${STAGE}" - exit 1 - ;; - esac diff --git a/print/dvipdfmx/INSTALL b/print/dvipdfmx/INSTALL index 21a1566f2fc..404b0a2d3c3 100644 --- a/print/dvipdfmx/INSTALL +++ b/print/dvipdfmx/INSTALL @@ -1,13 +1,8 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.2 2003/03/15 08:26:36 kei Exp $ +# $NetBSD: INSTALL,v 1.3 2003/08/30 20:23:02 jlam Exp $ TEXMF=@PREFIX@/share/texmf case ${STAGE} in -PRE-INSTALL) - ;; - POST-INSTALL) cd $TEXMF/dvipdfm/CMap # @PREFIX@/share/Adobe/Resource/CMap/* @@ -16,10 +11,4 @@ POST-INSTALL) done @PREFIX@/bin/mktexlsr ;; - -*) - ${ECHO} "Unexpected argument: ${STAGE}" - exit 1 - ;; - esac diff --git a/print/ja-jsclasses/DEINSTALL b/print/ja-jsclasses/DEINSTALL index e1df2b43b83..52a38a2e67f 100644 --- a/print/ja-jsclasses/DEINSTALL +++ b/print/ja-jsclasses/DEINSTALL @@ -1,21 +1,7 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.1.1.1 2003/03/15 20:05:56 kei Exp $ +# $NetBSD: DEINSTALL,v 1.2 2003/08/30 20:23:02 jlam Exp $ case ${STAGE} in -PRE-DEINSTALL) - ;; - -DEINSTALL) - ;; - POST-DEINSTALL) @PREFIX@/bin/mktexlsr ;; - -*) - ${ECHO} "Unexpected argument: ${STAGE}" - exit 1 - ;; - esac diff --git a/print/ja-jsclasses/INSTALL b/print/ja-jsclasses/INSTALL index 1f36bc62385..1d195cf8de2 100644 --- a/print/ja-jsclasses/INSTALL +++ b/print/ja-jsclasses/INSTALL @@ -1,18 +1,7 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.1.1.1 2003/03/15 20:05:55 kei Exp $ +# $NetBSD: INSTALL,v 1.2 2003/08/30 20:23:02 jlam Exp $ case ${STAGE} in -PRE-INSTALL) - ;; - POST-INSTALL) @PREFIX@/bin/mktexlsr ;; - -*) - ${ECHO} "Unexpected argument: ${STAGE}" - exit 1 - ;; - esac diff --git a/print/ja-ptex-bin/DEINSTALL b/print/ja-ptex-bin/DEINSTALL index 0d7b1781296..11ff3e7f83c 100644 --- a/print/ja-ptex-bin/DEINSTALL +++ b/print/ja-ptex-bin/DEINSTALL @@ -1,26 +1,12 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.1.1.1 2003/03/15 20:00:27 kei Exp $ +# $NetBSD: DEINSTALL,v 1.2 2003/08/30 20:23:03 jlam Exp $ TEXMF=@PREFIX@/share/texmf PSTRICKS=$TEXMF/dvips/pstricks case $STAGE in -PRE-DEINSTALL) - ;; - -DEINSTALL) - ;; - POST-DEINSTALL) $MV $TEXMF/web2c/texmf.cnf.orig $TEXMF/web2c/texmf.cnf $MV $PSTRICKS/pst-text.pro.orig $PSTRICKS/pst-text.pro @PREFIX@/bin/mktexlsr ;; - -*) - $ECHO "Unexpected argument: $STAGE" - exit 1 - ;; - esac diff --git a/print/ja-ptex-bin/INSTALL b/print/ja-ptex-bin/INSTALL index 7615694178c..9f786795e8d 100644 --- a/print/ja-ptex-bin/INSTALL +++ b/print/ja-ptex-bin/INSTALL @@ -1,25 +1,14 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.1.1.1 2003/03/15 20:00:27 kei Exp $ +# $NetBSD: INSTALL,v 1.2 2003/08/30 20:23:03 jlam Exp $ TEXMF=@PREFIX@/share/texmf TEXMFLOCAL=@PREFIX@/share/texmf.local PSTRICKS=$TEXMF/dvips/pstricks case $STAGE in -PRE-INSTALL) - ;; - POST-INSTALL) $MV $TEXMF/web2c/texmf.cnf $TEXMF/web2c/texmf.cnf.orig $LN -s $TEXMFLOCAL/web2c/texmf.cnf $TEXMF/web2c/texmf.cnf @PATCH@ -d $PSTRICKS < $PSTRICKS/PSTricks.patch @PREFIX@/bin/mktexlsr ;; - -*) - $ECHO "Unexpected argument: $STAGE" - exit 1 - ;; - esac diff --git a/print/xpdf-arabic/DEINSTALL b/print/xpdf-arabic/DEINSTALL index f9fa5fb37c4..c734610c804 100644 --- a/print/xpdf-arabic/DEINSTALL +++ b/print/xpdf-arabic/DEINSTALL @@ -1,24 +1,10 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.1.1.1 2003/03/25 14:04:00 salo Exp $ +# $NetBSD: DEINSTALL,v 1.2 2003/08/30 20:23:03 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/rabic/d" ${XPDFRC} > ${XPDFRC}.tmp - @MV@ -f ${XPDFRC}.tmp ${XPDFRC} - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/rabic/d" ${XPDFRC} > ${XPDFRC}.tmp + ${MV} -f ${XPDFRC}.tmp ${XPDFRC} ;; esac -exit 0 diff --git a/print/xpdf-chinese-simplified/DEINSTALL b/print/xpdf-chinese-simplified/DEINSTALL index 68b1310cc73..7c16b5a5d73 100644 --- a/print/xpdf-chinese-simplified/DEINSTALL +++ b/print/xpdf-chinese-simplified/DEINSTALL @@ -1,25 +1,11 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:48 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:03 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/implified/d" ${XPDFRC} > ${XPDFRC}.tmp - @SED@ -e "/gb2312/d" ${XPDFRC}.tmp > ${XPDFRC} - @RM@ -f ${XPDFRC}.tmp - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/implified/d" ${XPDFRC} > ${XPDFRC}.tmp + ${SED} -e "/gb2312/d" ${XPDFRC}.tmp > ${XPDFRC} + ${RM} -f ${XPDFRC}.tmp ;; esac -exit 0 diff --git a/print/xpdf-chinese-traditional/DEINSTALL b/print/xpdf-chinese-traditional/DEINSTALL index a8d5f19c518..08605a32a52 100644 --- a/print/xpdf-chinese-traditional/DEINSTALL +++ b/print/xpdf-chinese-traditional/DEINSTALL @@ -1,25 +1,11 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:50 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:04 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/raditional/d" ${XPDFRC} > ${XPDFRC}.tmp - @SED@ -e "/big5/d" -e "/Ar[ph][ph]ic fonts, you may/d" ${XPDFRC}.tmp > ${XPDFRC} - @RM@ -f ${XPDFRC}.tmp - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/raditional/d" ${XPDFRC} > ${XPDFRC}.tmp + ${SED} -e "/big5/d" -e "/Ar[ph][ph]ic fonts, you may/d" ${XPDFRC}.tmp > ${XPDFRC} + ${RM} -f ${XPDFRC}.tmp ;; esac -exit 0 diff --git a/print/xpdf-cyrillic/DEINSTALL b/print/xpdf-cyrillic/DEINSTALL index e96be09cf0f..0491f5eff82 100644 --- a/print/xpdf-cyrillic/DEINSTALL +++ b/print/xpdf-cyrillic/DEINSTALL @@ -1,24 +1,10 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:51 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:04 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +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 + ${SED} -e "/yrillic/d" ${XPDFRC} > ${XPDFRC}.tmp + ${MV} -f ${XPDFRC}.tmp ${XPDFRC} ;; esac -exit 0 diff --git a/print/xpdf-greek/DEINSTALL b/print/xpdf-greek/DEINSTALL index eb30b87a931..d4def9c840b 100644 --- a/print/xpdf-greek/DEINSTALL +++ b/print/xpdf-greek/DEINSTALL @@ -1,24 +1,10 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:53 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:04 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/reek/d" ${XPDFRC} > ${XPDFRC}.tmp - @MV@ -f ${XPDFRC}.tmp ${XPDFRC} - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/reek/d" ${XPDFRC} > ${XPDFRC}.tmp + ${MV} -f ${XPDFRC}.tmp ${XPDFRC} ;; esac -exit 0 diff --git a/print/xpdf-hebrew/DEINSTALL b/print/xpdf-hebrew/DEINSTALL index 083139646d0..4d4967d4775 100644 --- a/print/xpdf-hebrew/DEINSTALL +++ b/print/xpdf-hebrew/DEINSTALL @@ -1,24 +1,10 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:55 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:05 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/ebrew/d" ${XPDFRC} > ${XPDFRC}.tmp - @MV@ -f ${XPDFRC}.tmp ${XPDFRC} - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/ebrew/d" ${XPDFRC} > ${XPDFRC}.tmp + ${MV} -f ${XPDFRC}.tmp ${XPDFRC} ;; esac -exit 0 diff --git a/print/xpdf-japanese/DEINSTALL b/print/xpdf-japanese/DEINSTALL index 9fa5f7d2109..26d2e65b2bc 100644 --- a/print/xpdf-japanese/DEINSTALL +++ b/print/xpdf-japanese/DEINSTALL @@ -1,25 +1,11 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:56 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:05 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/apanese/d" ${XPDFRC} > ${XPDFRC}.tmp - @SED@ -e "/jisx0208/d" ${XPDFRC}.tmp > ${XPDFRC} - @RM@ -f ${XPDFRC}.tmp - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/apanese/d" ${XPDFRC} > ${XPDFRC}.tmp + ${SED} -e "/jisx0208/d" ${XPDFRC}.tmp > ${XPDFRC} + ${RM} -f ${XPDFRC}.tmp ;; esac -exit 0 diff --git a/print/xpdf-korean/DEINSTALL b/print/xpdf-korean/DEINSTALL index 130b9fdfa0a..797821547a4 100644 --- a/print/xpdf-korean/DEINSTALL +++ b/print/xpdf-korean/DEINSTALL @@ -1,25 +1,11 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:58 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:05 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/orean/d" ${XPDFRC} > ${XPDFRC}.tmp - @SED@ -e "/ksc5601/d" ${XPDFRC}.tmp > ${XPDFRC} - @RM@ -f ${XPDFRC}.tmp - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/orean/d" ${XPDFRC} > ${XPDFRC}.tmp + ${SED} -e "/ksc5601/d" ${XPDFRC}.tmp > ${XPDFRC} + ${RM} -f ${XPDFRC}.tmp ;; esac -exit 0 diff --git a/print/xpdf-latin2/DEINSTALL b/print/xpdf-latin2/DEINSTALL index 79a06675366..3bf65e086fe 100644 --- a/print/xpdf-latin2/DEINSTALL +++ b/print/xpdf-latin2/DEINSTALL @@ -1,24 +1,10 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:07:00 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:05 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/atin2/d" ${XPDFRC} > ${XPDFRC}.tmp - @MV@ -f ${XPDFRC}.tmp ${XPDFRC} - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/atin2/d" ${XPDFRC} > ${XPDFRC}.tmp + ${MV} -f ${XPDFRC}.tmp ${XPDFRC} ;; esac -exit 0 diff --git a/print/xpdf-thai/DEINSTALL b/print/xpdf-thai/DEINSTALL index bb27ad9d7b1..22549baac22 100644 --- a/print/xpdf-thai/DEINSTALL +++ b/print/xpdf-thai/DEINSTALL @@ -1,24 +1,10 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:07:01 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:06 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/hai/d" ${XPDFRC} > ${XPDFRC}.tmp - @MV@ -f ${XPDFRC}.tmp ${XPDFRC} - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/hai/d" ${XPDFRC} > ${XPDFRC}.tmp + ${MV} -f ${XPDFRC}.tmp ${XPDFRC} ;; esac -exit 0 diff --git a/print/xpdf-turkish/DEINSTALL b/print/xpdf-turkish/DEINSTALL index 82590027115..09ed3006328 100644 --- a/print/xpdf-turkish/DEINSTALL +++ b/print/xpdf-turkish/DEINSTALL @@ -1,24 +1,10 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:07:03 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:06 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/urkish/d" ${XPDFRC} > ${XPDFRC}.tmp - @MV@ -f ${XPDFRC}.tmp ${XPDFRC} - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/urkish/d" ${XPDFRC} > ${XPDFRC}.tmp + ${MV} -f ${XPDFRC}.tmp ${XPDFRC} ;; esac -exit 0 |