[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / ncurses

Annotation of pkgsrc/devel/ncurses/Makefile, Revision 1.80

1.80    ! hira        1: # $NetBSD: Makefile,v 1.79 2007/09/25 08:49:05 hira Exp $
1.73      tron        2:
                      3: .include "Makefile.common"
1.77      wiz         4: PKGREVISION=   1
1.1       hubertf     5:
1.57      adam        6: COMMENT=       CRT screen handling and optimization package
1.32      jlam        7:
1.78      rillig      8: INSTALLATION_DIRS+=    share/examples
1.55      jlam        9:
1.71      rillig     10: .if ${OPSYS} == "SunOS"
1.76      dmcmahil   11: # misc/screen  installs screen, screen-bce and screen-s
                     12: # so we need to remove these  here to avoid a conflict.
                     13: # this means we also remove the entries which have a
                     14: # use=screen in them
1.71      rillig     15: SUBST_CLASSES+=                ti
                     16: SUBST_STAGE.ti=                post-configure
                     17: SUBST_MESSAGE.ti=      Removing screen entries from the terminfo database.
                     18: SUBST_FILES.ti=                ${TERMINFO_SRC}
1.76      dmcmahil   19: # see misc/screen/PLIST for these:
1.71      rillig     20: SUBST_SED.ti=          -e '/^screen|/,/^$$/d'
1.76      dmcmahil   21: SUBST_SED.ti+=         -e '/^screen-bce|/,/^$$/d'
                     22: SUBST_SED.ti+=         -e '/^screen-s|/,/^$$/d'
                     23: # see ${TERMINFO_SRC} and look for use=screen for these
                     24: SUBST_SED.ti+=         -e '/^screen.teraterm|/,/^$$/d'
                     25: SUBST_SED.ti+=         -e '/^screen.linux|/,/^$$/d'
1.71      rillig     26: SUBST_SED.ti+=         -e '/^screen-w|/,/^$$/d'
1.76      dmcmahil   27: SUBST_SED.ti+=         -e '/^screen-16color/,/^$$/d'
                     28: SUBST_SED.ti+=         -e '/^screen-256color/,/^$$/d'
1.71      rillig     29: .endif
                     30:
1.28      jlam       31: post-configure:
1.32      jlam       32:        cd ${WRKSRC}/man;                                       \
1.43      salo       33:        for f in *.1m; do                                       \
1.80    ! hira       34:                mv -f $${f} `${BASENAME} $${f} .1m`.1;  \
1.32      jlam       35:        done;                                                   \
1.43      salo       36:        for f in *.3x; do                                       \
1.80    ! hira       37:                mv -f $${f} `${BASENAME} $${f} .3x`.3;  \
1.28      jlam       38:        done
1.27      jlam       39:
                     40: post-install:
                     41:        ${INSTALL_DATA} ${WRKSRC}/c++/demo.cc \
1.74      joerg      42:                ${DESTDIR}${PREFIX}/share/examples/ncurses++demo.cc
1.1       hubertf    43:
1.13      agc        44: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>