From d6902361d36fed6fc44446ac045c8fbeb5e26427 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sun, 11 Feb 2001 19:15:03 +0000 Subject: [PATCH] add libtecla, a interactive command line editing facilities --- devel/Makefile | 1 + devel/libtecla/Makefile | 37 +++++++++++++++++++++++++++++++++++++ devel/libtecla/distinfo | 1 + devel/libtecla/pkg-comment | 1 + devel/libtecla/pkg-descr | 16 ++++++++++++++++ devel/libtecla/pkg-plist | 3 +++ 6 files changed, 59 insertions(+) create mode 100644 devel/libtecla/Makefile create mode 100644 devel/libtecla/distinfo create mode 100644 devel/libtecla/pkg-comment create mode 100644 devel/libtecla/pkg-descr create mode 100644 devel/libtecla/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 865f2d1b3028..4b2cd6175aeb 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -167,6 +167,7 @@ SUBDIR += libsock SUBDIR += libstash SUBDIR += libtai + SUBDIR += libtecla SUBDIR += libtool SUBDIR += libunicode SUBDIR += libxalloc diff --git a/devel/libtecla/Makefile b/devel/libtecla/Makefile new file mode 100644 index 000000000000..09596158bf39 --- /dev/null +++ b/devel/libtecla/Makefile @@ -0,0 +1,37 @@ +# ex:ts=8 +# New ports collection makefile for: libtecla +# Date created: Feb 12, 2001 +# Whom: Ying-Chieh Liao +# +# $FreeBSD$ +# + +PORTNAME= libtecla +PORTVERSION= 1.2 +CATEGORIES= devel +MASTER_SITES= http://www.astro.caltech.edu/~mcs/tecla/ +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= ijliao@FreeBSD.org + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_GMAKE= yes +ALL_TARGET= libtecla.a libtecla_r.a + +MAN3= cfc_file_start.3 cfc_literal_escapes.3 cfc_set_check_fn.3 \ + cpl_add_completion.3 cpl_complete_word.3 cpl_file_completions.3 \ + cpl_last_error.3 cpl_list_completions.3 cpl_record_error.3 \ + del_CplFileConf.3 del_ExpandFile.3 del_GetLine.3 del_PathCache.3 \ + del_PcaPathConf.3 del_WordCompletion.3 ef_expand_file.3 \ + ef_last_error.3 gl_change_terminal.3 gl_customize_completion.3 \ + gl_get_line.3 libtecla.3 new_CplFileConf.3 new_ExpandFile.3 \ + new_GetLine.3 new_PathCache.3 new_PcaPathConf.3 new_WordCompletion.3 \ + pca_last_error.3 pca_lookup_file.3 pca_path_completions.3 \ + pca_scan_path.3 pca_set_check_fn.3 ppc_file_start.3 \ + ppc_literal_escapes.3 + +post-patch: + @${PERL} -pi -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/Makefile + +.include diff --git a/devel/libtecla/distinfo b/devel/libtecla/distinfo new file mode 100644 index 000000000000..117dc332b813 --- /dev/null +++ b/devel/libtecla/distinfo @@ -0,0 +1 @@ +MD5 (libtecla1.2.tar.gz) = ec9ef789dc6745de71f6c6f7d51a00d3 diff --git a/devel/libtecla/pkg-comment b/devel/libtecla/pkg-comment new file mode 100644 index 000000000000..4630b2c96782 --- /dev/null +++ b/devel/libtecla/pkg-comment @@ -0,0 +1 @@ +Interactive command line editing facilities diff --git a/devel/libtecla/pkg-descr b/devel/libtecla/pkg-descr new file mode 100644 index 000000000000..fb42757a6e9a --- /dev/null +++ b/devel/libtecla/pkg-descr @@ -0,0 +1,16 @@ +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, +along with a module for tab-completion and lookup of filenames in a +list of directories. + +Note that special care has been taken to allow the use of this library +in threaded programs. The option to enable this is discussed in the +Makefile, and specific discussions of thread safety are presented in +the included man pages. + +WWW: http://www.astro.caltech.edu/~mcs/tecla/ diff --git a/devel/libtecla/pkg-plist b/devel/libtecla/pkg-plist new file mode 100644 index 000000000000..6f62f81439f3 --- /dev/null +++ b/devel/libtecla/pkg-plist @@ -0,0 +1,3 @@ +lib/libtecla.a +lib/libtecla_r.a +include/libtecla.h