summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoragc <agc>1998-03-08 01:40:39 +0000
committeragc <agc>1998-03-08 01:40:39 +0000
commitc3d1186625b13e8856be2079478b61c92d1e5dab (patch)
treef8b0b7c6404621605319f47e281efff45afc8dfa /devel
parent826ec47589d59c8570c25b5e3c4af8029bff1f71 (diff)
downloadpkgsrc-c3d1186625b13e8856be2079478b61c92d1e5dab.tar.gz
Initial import of the GNU readline library (version 2.1) into the
NetBSD packages collection. This is because some other packages play dirty and muck about with the internals of the readline structures, so our libedit-based emulation won't suffice for that. A pity.
Diffstat (limited to 'devel')
-rw-r--r--devel/readline/Makefile22
-rw-r--r--devel/readline/files/md51
-rw-r--r--devel/readline/patches/patch-aa33
-rw-r--r--devel/readline/pkg/COMMENT1
-rw-r--r--devel/readline/pkg/DESCR3
-rw-r--r--devel/readline/pkg/PLIST15
6 files changed, 75 insertions, 0 deletions
diff --git a/devel/readline/Makefile b/devel/readline/Makefile
new file mode 100644
index 00000000000..a93c9a0991a
--- /dev/null
+++ b/devel/readline/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: readline
+# Version required: 2.1
+# Date created: Fri Mar 6 19:07:28 GMT 1998
+# Whom: Alistair Crooks (agc@netbsd.org)
+#
+# $NetBSD: Makefile,v 1.1 1998/03/08 01:40:39 agc Exp $
+#
+
+DISTNAME= readline-2.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU}
+
+BUILD_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
+
+GNU_CONFIGURE= yes
+
+MAN3= readline.3
+
+post-install:
+ @install-info ${PREFIX}/info/readline.info ${PREFIX}/info/dir
+
+.include <bsd.port.mk>
diff --git a/devel/readline/files/md5 b/devel/readline/files/md5
new file mode 100644
index 00000000000..87970db9a9f
--- /dev/null
+++ b/devel/readline/files/md5
@@ -0,0 +1 @@
+MD5 (readline-2.1.tar.gz) = f6b44583c7155b90ef24bd21fb436b44
diff --git a/devel/readline/patches/patch-aa b/devel/readline/patches/patch-aa
new file mode 100644
index 00000000000..d44e3768153
--- /dev/null
+++ b/devel/readline/patches/patch-aa
@@ -0,0 +1,33 @@
+--- Makefile.in 1998/03/06 21:40:55 1.1
++++ Makefile.in 1998/03/06 21:41:04
+@@ -34,6 +34,7 @@
+ RM = rm -f
+ CP = cp
+ MV = mv
++SHELL = /bin/sh
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+@@ -191,10 +192,10 @@
+ done
+ -$(MV) $(libdir)/libreadline.a $(libdir)/libreadline.old
+ $(INSTALL_DATA) libreadline.a $(libdir)/libreadline.a
+- -test -n "$(RANLIB)" && -$(RANLIB) -t $(libdir)/libreadline.a
++ -test -n "$(RANLIB)" && $(RANLIB) -t $(libdir)/libreadline.a
+ -( if test -d doc ; then \
+ cd doc && \
+- ${MAKE} ${MFLAGS} infodir=$(infodir) INSTALL_DATA=$(INSTALL_DATA) $@; \
++ ${MAKE} ${MFLAGS} infodir=$(infodir) INSTALL_DATA="$(INSTALL_DATA)" $@; \
+ fi )
+
+ installdirs: $(srcdir)/support/mkdirs
+--- doc/Makefile.in 1998/03/06 22:28:22 1.1
++++ doc/Makefile.in 1998/03/06 22:28:55
+@@ -10,6 +10,7 @@
+ man3dir = $(mandir)/man3
+
+ RM = rm -f
++SHELL = /bin/sh
+
+ TEXINPUTDIR = $(srcdir)
+
diff --git a/devel/readline/pkg/COMMENT b/devel/readline/pkg/COMMENT
new file mode 100644
index 00000000000..b2966d95b30
--- /dev/null
+++ b/devel/readline/pkg/COMMENT
@@ -0,0 +1 @@
+GNU library which can recall and edit previous input
diff --git a/devel/readline/pkg/DESCR b/devel/readline/pkg/DESCR
new file mode 100644
index 00000000000..f9649ac4302
--- /dev/null
+++ b/devel/readline/pkg/DESCR
@@ -0,0 +1,3 @@
+This is the GNU readline library, which can be linked into
+applications, allowing them to re-use previously typed input, and,
+additionally, edit it.
diff --git a/devel/readline/pkg/PLIST b/devel/readline/pkg/PLIST
new file mode 100644
index 00000000000..b416a667488
--- /dev/null
+++ b/devel/readline/pkg/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 1998/03/08 01:40:39 agc Exp $
+include/readline/readline.h
+include/readline/chardefs.h
+include/readline/keymaps.h
+include/readline/history.h
+include/readline/tilde.h
+lib/libreadline.a
+@unexec %D/bin/install-info --delete %D/info/readline.info %D/info/dir
+@unexec %D/bin/install-info --delete %D/info/history.info %D/info/dir
+info/readline.info
+info/history.info
+@exec %D/bin/install-info %D/info/readline.info %D/info/dir
+@exec %D/bin/install-info %D/info/history.info %D/info/dir
+man/man3/readline.3
+@dirrm include/readline