[BACK]Return to INSTALL.openwin CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xterm

File: [cvs.NetBSD.org] / pkgsrc / x11 / xterm / Attic / INSTALL.openwin (download)

Revision 1.2, Tue Oct 9 19:19:17 2007 UTC (15 years, 3 months ago) by martti
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.1: +2 -2 lines

Remove trailing spaces.

#!/bin/sh
#
# $NetBSD: INSTALL.openwin,v 1.2 2007/10/09 19:19:17 martti Exp $

PKGNAME=$1
STAGE=$2

CONFLICTS="bin/resize bin/xterm lib/app-defaults/XTerm man/man1/resize.1 man/man1/xterm.1"

case ${STAGE} in
PRE-INSTALL)
	cd ${PKG_PREFIX}
	for FILE in $CONFLICTS
	do
		if [ -f $FILE ]
		then
			@MV@ $FILE ${FILE}.openwin
		fi
	done
	;;

POST-INSTALL)
	cd ${PKG_PREFIX}/lib/X11/etc
	TERMINFO=@LOCALBASE@/share/lib/terminfo
	export TERMINFO
	/usr/5bin/tic xterm.terminfo
	;;

DEINSTALL)
	;;

POST-DEINSTALL)
	cd ${PKG_PREFIX}
	for FILE in $CONFLICTS
	do
		if [ -f ${FILE}.openwin ]
		then
			@MV@ ${FILE}.openwin $FILE
		fi
	done
	;;
esac
exit 0