diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-08-12 11:07:24 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-08-12 11:07:24 +0000 |
commit | 42e0afcfd6e74a130d4d79e5d89ef96626456c19 (patch) | |
tree | b660e1d7f0b3c9b2fb6268c0916e75e3bf9e083e | |
parent | bb3e80af93b2121be09e4be365a2f932454ee70a (diff) | |
download | FreeBSD-ports-42e0afcfd6e74a130d4d79e5d89ef96626456c19.zip FreeBSD-ports-42e0afcfd6e74a130d4d79e5d89ef96626456c19.tar.gz |
add rlwrap
readline wrapper
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rlwrap/Makefile | 30 | ||||
-rw-r--r-- | devel/rlwrap/distinfo | 1 | ||||
-rw-r--r-- | devel/rlwrap/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | devel/rlwrap/files/patch-rlwrap.h | 13 | ||||
-rw-r--r-- | devel/rlwrap/pkg-comment | 1 | ||||
-rw-r--r-- | devel/rlwrap/pkg-descr | 7 | ||||
-rw-r--r-- | devel/rlwrap/pkg-plist | 1 |
8 files changed, 65 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 3855cb7..97b8e34 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -452,6 +452,7 @@ SUBDIR += re2c SUBDIR += regexx SUBDIR += rinfo + SUBDIR += rlwrap SUBDIR += robodoc SUBDIR += rpc2 SUBDIR += rtems-gcc diff --git a/devel/rlwrap/Makefile b/devel/rlwrap/Makefile new file mode 100644 index 0000000..8d2c000 --- /dev/null +++ b/devel/rlwrap/Makefile @@ -0,0 +1,30 @@ +# ex:ts=8 +# New ports collection makefile for: rlwrap +# Date created: Aug 12, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= rlwrap +PORTVERSION= 0.06 +CATEGORIES= devel +MASTER_SITES= http://utopia.knoware.nl/~hlub/uck/rlwrap/ +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt + +GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" +ALL_TARGET= # empty + +MANCOMPRESSED= no +MAN1= rlwrap.1 + +post-patch: + @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile.in + +.include <bsd.port.mk> diff --git a/devel/rlwrap/distinfo b/devel/rlwrap/distinfo new file mode 100644 index 0000000..d0d2f1a --- /dev/null +++ b/devel/rlwrap/distinfo @@ -0,0 +1 @@ +MD5 (rlwrap-0.06.tgz) = 1d3a292bfd7f13d52c1b1c84b9365a1c diff --git a/devel/rlwrap/files/patch-Makefile.in b/devel/rlwrap/files/patch-Makefile.in new file mode 100644 index 0000000..b585283 --- /dev/null +++ b/devel/rlwrap/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri Jun 15 15:56:52 2001 ++++ Makefile.in Sun Aug 12 19:03:22 2001 +@@ -23,7 +23,7 @@ + VERSION = 0.06 + + rlwrap: $(OBJECTS) +- $(CC) -o rlwrap $(OBJECTS) @READLINELIB@ @READLINE_SUPPLIB@ ++ $(CC) -o rlwrap $(OBJECTS) @READLINELIB@ @READLINE_SUPPLIB@ @LDFLAGS@ + + $(OBJECTS) : rlwrap.h + diff --git a/devel/rlwrap/files/patch-rlwrap.h b/devel/rlwrap/files/patch-rlwrap.h new file mode 100644 index 0000000..b3491d2 --- /dev/null +++ b/devel/rlwrap/files/patch-rlwrap.h @@ -0,0 +1,13 @@ +--- rlwrap.h.orig Sun Aug 12 18:59:20 2001 ++++ rlwrap.h Sun Aug 12 18:58:52 2001 +@@ -34,6 +34,10 @@ + #include <getopt.h> + #endif + ++#ifdef HAVE_GETOPT_LONG ++#include <getopt.h> ++#endif ++ + #include <string.h> + #include <errno.h> + #include <stdarg.h> diff --git a/devel/rlwrap/pkg-comment b/devel/rlwrap/pkg-comment new file mode 100644 index 0000000..d7af962 --- /dev/null +++ b/devel/rlwrap/pkg-comment @@ -0,0 +1 @@ +readline wrapper diff --git a/devel/rlwrap/pkg-descr b/devel/rlwrap/pkg-descr new file mode 100644 index 0000000..c269523 --- /dev/null +++ b/devel/rlwrap/pkg-descr @@ -0,0 +1,7 @@ +rlwrap is a 'readline wrapper', i.e. a small utility that uses the GNU +readline library to allow the editing of keyboard input for any other +command. Input history is remembered separately for each command, +!... history completion works as in bash and completion word lists can +be specified. + +WWW: http://utopia.knoware.nl/~hlub/uck/rlwrap/ diff --git a/devel/rlwrap/pkg-plist b/devel/rlwrap/pkg-plist new file mode 100644 index 0000000..a7c5038 --- /dev/null +++ b/devel/rlwrap/pkg-plist @@ -0,0 +1 @@ +bin/rlwrap |