Annotation of pkgsrc/devel/ncurses/Makefile, Revision 1.50
1.50 ! grant 1: # $NetBSD: Makefile,v 1.49 2003/07/17 21:31:56 grant Exp $
1.1 hubertf 2:
1.32 jlam 3: DISTNAME= ncurses-${NC_VERS}
1.42 wiz 4: NC_VERS= 5.3
1.48 wiz 5: PKGREVISION= 1
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.50 ! grant 30: USE_GNU_TOOLS= awk
! 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.32 jlam 48: # Remove these manpages from the distribution so they won't get installed
49: CURSES_NO_MAN= clear.1 tput.1 tset.1
1.28 jlam 50:
51: post-configure:
1.32 jlam 52: cd ${WRKSRC}/man; \
53: ${RM} -f ${CURSES_NO_MAN}; \
1.43 salo 54: for f in *.1m; do \
55: ${MV} -f $${f} `basename $${f} .1m`.1; \
1.32 jlam 56: done; \
1.43 salo 57: for f in *.3x; do \
58: ${MV} -f $${f} `basename $${f} .3x`.3; \
1.28 jlam 59: done
1.46 grant 60: .if ${OPSYS} == "SunOS"
1.40 tron 61: ${MV} ${TERMINFO_SRC} ${TERMINFO_SRC}.old
62: ${SED} -e "/^screen|/,/^$$/d" -e "/^screen-w|/,/^$$/d" \
1.44 bouyer 63: -e "/^screen.teraterm|/,/^$$/d" \
1.40 tron 64: <${TERMINFO_SRC}.old >${TERMINFO_SRC}
65: .endif
1.27 jlam 66:
67: post-install:
68: ${INSTALL_DATA} ${WRKSRC}/c++/demo.cc \
69: ${PREFIX}/share/examples/ncurses++demo.cc
1.1 hubertf 70:
1.13 agc 71: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>