aboutsummaryrefslogtreecommitdiff
path: root/devel/rlwrap
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-12 11:07:24 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-12 11:07:24 +0000
commit588695caec22406d25abea9fa0919bebb9f1cf05 (patch)
tree54b3c65d61f93c5b263042baa6c72ab78c90fad2 /devel/rlwrap
parent0dea1d3200e232f55cabe614099af73ddd2fd9a2 (diff)
downloadports-588695caec22406d25abea9fa0919bebb9f1cf05.tar.gz
ports-588695caec22406d25abea9fa0919bebb9f1cf05.zip
add rlwrap
readline wrapper
Notes
Notes: svn path=/head/; revision=46123
Diffstat (limited to 'devel/rlwrap')
-rw-r--r--devel/rlwrap/Makefile30
-rw-r--r--devel/rlwrap/distinfo1
-rw-r--r--devel/rlwrap/files/patch-Makefile.in11
-rw-r--r--devel/rlwrap/files/patch-rlwrap.h13
-rw-r--r--devel/rlwrap/pkg-comment1
-rw-r--r--devel/rlwrap/pkg-descr7
-rw-r--r--devel/rlwrap/pkg-plist1
7 files changed, 64 insertions, 0 deletions
diff --git a/devel/rlwrap/Makefile b/devel/rlwrap/Makefile
new file mode 100644
index 000000000000..8d2c00051aa2
--- /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 000000000000..d0d2f1ac4a6d
--- /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 000000000000..b5852832decb
--- /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 000000000000..b3491d2942d6
--- /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 000000000000..d7af9622c68a
--- /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 000000000000..c269523f3feb
--- /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 000000000000..a7c50385c7a2
--- /dev/null
+++ b/devel/rlwrap/pkg-plist
@@ -0,0 +1 @@
+bin/rlwrap