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

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

1.53    ! reed        1: # $NetBSD: Makefile,v 1.52 2003/11/23 07:12:01 salo Exp $
1.1       hubertf     2:
1.32      jlam        3: DISTNAME=              ncurses-${NC_VERS}
1.42      wiz         4: NC_VERS=               5.3
1.53    ! reed        5: PKGREVISION=           2
1.18      tv          6: CATEGORIES=            devel
1.20      jlam        7: MASTER_SITES=          ${MASTER_SITE_GNU:=ncurses/} \
1.32      jlam        8:                        ftp://dickey.his.com/ncurses/ \
                      9:                        ftp://dickey.his.com/ncurses/${NC_VERS}/
1.3       agc        10:
1.49      grant      11: MAINTAINER=            jlam@NetBSD.org
1.32      jlam       12: HOMEPAGE=              http://dickey.his.com/ncurses/ncurses.html
1.37      wiz        13: COMMENT=               CRT screen handling and optimization package
1.32      jlam       14:
1.45      grant      15: USE_BUILDLINK2=                YES
                     16: USE_GCC_SHLIB=         YES
1.40      tron       17: USE_LIBTOOL=           YES
1.17      garbled    18:
1.40      tron       19: GNU_CONFIGURE=         YES
1.32      jlam       20: CONFIGURE_ARGS+=       --with-libtool
                     21: CONFIGURE_ARGS+=       --enable-bsdpad
1.42      wiz        22: CONFIGURE_ARGS+=       --enable-overwrite
1.32      jlam       23: CONFIGURE_ARGS+=       --with-cxx-binding
                     24: CONFIGURE_ARGS+=       --without-ada
                     25: CONFIGURE_ARGS+=       --without-curses-h
                     26: CONFIGURE_ARGS+=       --without-gpm
                     27: CONFIGURE_ARGS+=       --with-manpage-format=normal
                     28: CONFIGURE_ARGS+=       --with-manpage-tbl
                     29:
1.51      grant      30: USE_GNU_TOOLS+=                awk
1.50      grant      31:
1.40      tron       32: .include "../../mk/bsd.prefs.mk"
                     33:
1.46      grant      34: .if ${OPSYS} == "SunOS"
1.41      salo       35: PLIST_SUBST+=  NOT_SUNOS="@comment "
1.40      tron       36: TERMINFO_SRC=  ${WRKSRC}/misc/terminfo.src
1.41      salo       37: TERMINFODIR=   share/lib/terminfo
1.40      tron       38: .else
1.41      salo       39: PLIST_SUBST+=  NOT_SUNOS=""
                     40: TERMINFODIR=   share/terminfo
1.40      tron       41: .endif
1.41      salo       42:
                     43: PLIST_SUBST+=  TERMINFODIR="${TERMINFODIR}"
                     44:
                     45: CONFIGURE_ARGS+=       --with-default-terminfo-dir=${PREFIX}/${TERMINFODIR}
                     46: CONFIGURE_ARGS+=       --with-terminfo-dirs=${PREFIX}/${TERMINFODIR}
1.40      tron       47:
1.28      jlam       48: post-configure:
1.32      jlam       49:        cd ${WRKSRC}/man;                                       \
1.43      salo       50:        for f in *.1m; do                                       \
1.52      salo       51:                ${MV} -f $${f} `${BASENAME} $${f} .1m`.1;       \
1.32      jlam       52:        done;                                                   \
1.43      salo       53:        for f in *.3x; do                                       \
1.52      salo       54:                ${MV} -f $${f} `${BASENAME} $${f} .3x`.3;       \
1.28      jlam       55:        done
1.46      grant      56: .if ${OPSYS} == "SunOS"
1.40      tron       57:        ${MV} ${TERMINFO_SRC} ${TERMINFO_SRC}.old
                     58:        ${SED} -e "/^screen|/,/^$$/d"  -e "/^screen-w|/,/^$$/d" \
1.44      bouyer     59:            -e "/^screen.teraterm|/,/^$$/d" \
1.40      tron       60:           <${TERMINFO_SRC}.old >${TERMINFO_SRC}
                     61: .endif
1.27      jlam       62:
                     63: post-install:
                     64:        ${INSTALL_DATA} ${WRKSRC}/c++/demo.cc \
                     65:                ${PREFIX}/share/examples/ncurses++demo.cc
1.1       hubertf    66:
1.13      agc        67: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>