2985c614e7
interactive tcl shells. This includes history expansion and file/command completion. Command completion for all tcl/tk commands is provided and commmand completers for user defined commands can be easily added. tclreadline can also be used for tcl scripts which want to use a shell like input interface. In this case the ::tclreadline::readline read command has to be called explicitly.
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2010/03/12 23:18:13 pettai Exp $
|
|
#
|
|
|
|
DISTNAME= tclreadline-2.1.0
|
|
CATEGORIES= devel lang
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tclreadline/}
|
|
|
|
MAINTAINER= pettai@NetBSD.org
|
|
HOMEPAGE= http://tclreadline.sourceforge.net/
|
|
COMMENT= GNU Readline library for interactive tcl shells
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-tcl=${PREFIX}/lib
|
|
|
|
EGDIR= ${PREFIX}/share/examples/tclreadline
|
|
|
|
MESSAGE_SUBST+= EGDIR=${EGDIR}
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= ${WRKSRC}/pkgIndex.tcl.in
|
|
SUBST_FILES.paths+= ${WRKSRC}/tclreadlineInit.tcl.in
|
|
SUBST_FILES.paths+= ${WRKSRC}/tclreadlineSetup.tcl.in
|
|
SUBST_STAGE.paths= post-patch
|
|
SUBST_SED.paths= -e 's,\/usr\/local,${PREFIX},'
|
|
SUBST_SED.paths+= -e 's,\/usr\/locanl,${PREFIX},'
|
|
|
|
INSTALLATION_DIRS= include ${PKGMANDIR}/mann lib \
|
|
lib/tclreadline${PKGVERSION} ${EGDIR}
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${FILESDIR}/tclshrc ${DESTDIR}${EGDIR}/tclshrc
|
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|