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

Annotation of pkgsrc/x11/xterm/INSTALL.openwin, Revision 1.1

1.1     ! jlam        1: #!/bin/sh
        !             2: #
        !             3: # $NetBSD: INSTALL,v 1.4 2004/05/14 11:34:28 grant Exp $
        !             4:
        !             5: PKGNAME=$1
        !             6: STAGE=$2
        !             7:
        !             8: CONFLICTS="bin/resize bin/xterm lib/app-defaults/XTerm man/man1/resize.1 man/man1/xterm.1"
        !             9:
        !            10: case ${STAGE} in
        !            11: PRE-INSTALL)
        !            12:        cd ${PKG_PREFIX}
        !            13:        for FILE in $CONFLICTS
        !            14:        do
        !            15:                if [ -f $FILE ]
        !            16:                then
        !            17:                        @MV@ $FILE ${FILE}.openwin
        !            18:                fi
        !            19:        done
        !            20:        ;;
        !            21:
        !            22: POST-INSTALL)
        !            23:        cd ${PKG_PREFIX}/lib/X11/etc
        !            24:        TERMINFO=@LOCALBASE@/share/lib/terminfo
        !            25:        export TERMINFO
        !            26:        /usr/5bin/tic xterm.terminfo
        !            27:        ;;
        !            28:
        !            29: DEINSTALL)
        !            30:        ;;
        !            31:
        !            32: POST-DEINSTALL)
        !            33:        cd ${PKG_PREFIX}
        !            34:        for FILE in $CONFLICTS
        !            35:        do
        !            36:                if [ -f ${FILE}.openwin ]
        !            37:                then
        !            38:                        @MV@ ${FILE}.openwin $FILE
        !            39:                fi
        !            40:        done
        !            41:        ;;
        !            42: esac
        !            43: exit 0

CVSweb <webmaster@jp.NetBSD.org>