From a0f8b08bab4858033d55e89083e3ae8101563e99 Mon Sep 17 00:00:00 2001 From: kristerw Date: Wed, 31 Dec 2003 00:05:19 +0000 Subject: [PATCH] Initial import of libtecla version 1.5.0. The tecla library provides UNIX and LINUX programs with interactive command line editing facilities, similar to those of the UNIX tcsh shell. In addition to simple command-line editing, it supports recall of previously entered command lines, TAB completion of file names or other tokens, and in-line wild-card expansion of filenames. The internal functions which perform file-name completion and wild-card expansion are also available externally for optional use by programs. --- devel/libtecla/DESCR | 7 +++ devel/libtecla/Makefile | 18 ++++++++ devel/libtecla/PLIST | 82 ++++++++++++++++++++++++++++++++++++ devel/libtecla/buildlink2.mk | 20 +++++++++ devel/libtecla/distinfo | 4 ++ 5 files changed, 131 insertions(+) create mode 100644 devel/libtecla/DESCR create mode 100644 devel/libtecla/Makefile create mode 100644 devel/libtecla/PLIST create mode 100644 devel/libtecla/buildlink2.mk create mode 100644 devel/libtecla/distinfo diff --git a/devel/libtecla/DESCR b/devel/libtecla/DESCR new file mode 100644 index 000000000000..f7add0a0e62a --- /dev/null +++ b/devel/libtecla/DESCR @@ -0,0 +1,7 @@ +The tecla library provides UNIX and LINUX programs with interactive +command line editing facilities, similar to those of the UNIX tcsh +shell. In addition to simple command-line editing, it supports recall +of previously entered command lines, TAB completion of file names or +other tokens, and in-line wild-card expansion of filenames. The +internal functions which perform file-name completion and wild-card +expansion are also available externally for optional use by programs. diff --git a/devel/libtecla/Makefile b/devel/libtecla/Makefile new file mode 100644 index 000000000000..9ca184266d67 --- /dev/null +++ b/devel/libtecla/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/12/31 00:05:19 kristerw Exp $ +# + +DISTNAME= libtecla-1.5.0 +WRKSRC= ${WRKDIR}/${PKGBASE} +CATEGORIES= devel +MASTER_SITES= http://www.astro.caltech.edu/~mcs/tecla/ + +MAINTAINER= kristerw@NetBSD.org +HOMEPAGE= http://www.astro.caltech.edu/~mcs/tecla/ +COMMENT= Interactive command line editing facilities + +USE_BUILDLINK2= YES +USE_GMAKE= YES +GNU_CONFIGURE= YES +ALL_TARGET= default + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libtecla/PLIST b/devel/libtecla/PLIST new file mode 100644 index 000000000000..4838e40796a7 --- /dev/null +++ b/devel/libtecla/PLIST @@ -0,0 +1,82 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/31 00:05:19 kristerw Exp $ +bin/enhance +include/libtecla.h +lib/libtecla.a +man/man1/enhance.1 +man/man3/cfc_file_start.3 +man/man3/cfc_literal_escapes.3 +man/man3/cfc_set_check_fn.3 +man/man3/cpl_add_completion.3 +man/man3/cpl_complete_word.3 +man/man3/cpl_file_completions.3 +man/man3/cpl_last_error.3 +man/man3/cpl_list_completions.3 +man/man3/cpl_recall_matches.3 +man/man3/cpl_record_error.3 +man/man3/del_CplFileConf.3 +man/man3/del_ExpandFile.3 +man/man3/del_GetLine.3 +man/man3/del_PathCache.3 +man/man3/del_PcaPathConf.3 +man/man3/del_WordCompletion.3 +man/man3/ef_expand_file.3 +man/man3/ef_last_error.3 +man/man3/ef_list_expansions.3 +man/man3/gl_abandon_line.3 +man/man3/gl_bind_keyseq.3 +man/man3/gl_catch_blocked.3 +man/man3/gl_change_terminal.3 +man/man3/gl_clear_history.3 +man/man3/gl_completion_action.3 +man/man3/gl_configure_getline.3 +man/man3/gl_customize_completion.3 +man/man3/gl_display_text.3 +man/man3/gl_echo_mode.3 +man/man3/gl_erase_terminal.3 +man/man3/gl_error_message.3 +man/man3/gl_get_line.3 +man/man3/gl_group_history.3 +man/man3/gl_handle_signal.3 +man/man3/gl_ignore_signal.3 +man/man3/gl_inactivity_timeout.3 +man/man3/gl_io_mode.3 +man/man3/gl_last_signal.3 +man/man3/gl_limit_history.3 +man/man3/gl_list_signals.3 +man/man3/gl_load_history.3 +man/man3/gl_lookup_history.3 +man/man3/gl_normal_io.3 +man/man3/gl_pending_io.3 +man/man3/gl_prompt_style.3 +man/man3/gl_range_of_history.3 +man/man3/gl_raw_io.3 +man/man3/gl_register_action.3 +man/man3/gl_resize_history.3 +man/man3/gl_return_status.3 +man/man3/gl_save_history.3 +man/man3/gl_set_term_size.3 +man/man3/gl_show_history.3 +man/man3/gl_size_of_history.3 +man/man3/gl_state_of_history.3 +man/man3/gl_terminal_size.3 +man/man3/gl_toggle_history.3 +man/man3/gl_trap_signal.3 +man/man3/gl_tty_signals.3 +man/man3/gl_watch_fd.3 +man/man3/libtecla.3 +man/man3/libtecla_version.3 +man/man3/new_CplFileConf.3 +man/man3/new_ExpandFile.3 +man/man3/new_GetLine.3 +man/man3/new_PathCache.3 +man/man3/new_PcaPathConf.3 +man/man3/new_WordCompletion.3 +man/man3/pca_last_error.3 +man/man3/pca_lookup_file.3 +man/man3/pca_path_completions.3 +man/man3/pca_scan_path.3 +man/man3/pca_set_check_fn.3 +man/man3/ppc_file_start.3 +man/man3/ppc_literal_escapes.3 +man/man5/teclarc.5 +man/man7/tecla.7 diff --git a/devel/libtecla/buildlink2.mk b/devel/libtecla/buildlink2.mk new file mode 100644 index 000000000000..38c52459f65f --- /dev/null +++ b/devel/libtecla/buildlink2.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/31 00:05:20 kristerw Exp $ + +.if !defined(LIBTECLA_BUILDLINK2_MK) +LIBTECLA_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= libtecla +BUILDLINK_DEPENDS.libtecla?= libtecla>=1.5.0 +BUILDLINK_PKGSRCDIR.libtecla?= ../../devel/libtecla + +EVAL_PREFIX+= BUILDLINK_PREFIX.libtecla=libtecla +BUILDLINK_PREFIX.libtecla_DEFAULT= ${LOCALBASE} + +BUILDLINK_FILES.libtecla+= include/libtecla.h +BUILDLINK_FILES.libtecla+= lib/libtecla.* + +BUILDLINK_TARGETS+= libtecla-buildlink + +libtecla-buildlink: _BUILDLINK_USE + +.endif # LIBTECLA_BUILDLINK2_MK diff --git a/devel/libtecla/distinfo b/devel/libtecla/distinfo new file mode 100644 index 000000000000..05ff6b768998 --- /dev/null +++ b/devel/libtecla/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/12/31 00:05:19 kristerw Exp $ + +SHA1 (libtecla-1.5.0.tar.gz) = 4b1e34c5afb82d8b1248c954e7c72371323fd075 +Size (libtecla-1.5.0.tar.gz) = 475417 bytes