summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-07-11 17:31:18 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-07-11 17:31:18 +0000
commitbe6d53fcbdff1ef6df9c3faf99868a82796d9162 (patch)
tree511823669968097249cd19812cd93310d743d6a8 /devel
parentUpgrade to 1.1.1 (diff)
Curses-like library, needed primary for color-lynx
Notes
Notes: svn path=/head/; revision=3370
Diffstat (limited to 'devel')
-rw-r--r--devel/libslang/Makefile24
-rw-r--r--devel/libslang/distinfo1
-rw-r--r--devel/libslang/files/patch-aa89
-rw-r--r--devel/libslang/pkg-comment1
-rw-r--r--devel/libslang/pkg-descr17
-rw-r--r--devel/libslang/pkg-plist6
6 files changed, 138 insertions, 0 deletions
diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile
new file mode 100644
index 000000000000..07ba6d20c804
--- /dev/null
+++ b/devel/libslang/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: S-Lang library
+# Version required: 0.99-33
+# Date created: 11 July 1996
+# Whom: ache
+#
+# $Id: Makefile,v 1.6 1996/05/04 10:40:23 ache Exp $
+#
+
+DISTNAME= slang0.99-33
+PKGNAME= libslang-0.99-33
+CATEGORIES+= devel
+MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/
+GNU_CONFIGURE= yes
+
+MAINTAINER= ache@FreeBSD.org
+
+ALL_TARGET= all elf
+INSTALL_TARGET= install install-elf
+WRKSRC= ${WRKDIR}/slang
+
+post-install:
+ /sbin/ldconfig -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/devel/libslang/distinfo b/devel/libslang/distinfo
new file mode 100644
index 000000000000..90565cf01272
--- /dev/null
+++ b/devel/libslang/distinfo
@@ -0,0 +1 @@
+MD5 (slang0.99-33.tar.gz) = a9d3bcbbd6870c58351919d74c5171f8
diff --git a/devel/libslang/files/patch-aa b/devel/libslang/files/patch-aa
new file mode 100644
index 000000000000..00624e328f0e
--- /dev/null
+++ b/devel/libslang/files/patch-aa
@@ -0,0 +1,89 @@
+*** src/Makefile.in.orig Tue Jun 18 08:25:37 1996
+--- src/Makefile.in Thu Jul 11 21:14:31 1996
+***************
+*** 2,15 ****
+ #---------------------------------------------------------------------------
+ # ANSI C compiler
+ #---------------------------------------------------------------------------
+! CC = @CC@
+! CFLAGS = @CFLAGS@
+ #---------------------------------------------------------------------------
+ # ELF specific (Linux)
+ #---------------------------------------------------------------------------
+! ELF_CC = gcc
+! ELF_CFLAGS = -O2 -fno-strength-reduce -fPIC
+! ELF_LINK = gcc -shared -Wl,-lm,-t,-soname#
+ #---------------------------------------------------------------------------
+ # Set these values to ABSOLUTE path names
+ #---------------------------------------------------------------------------
+--- 2,15 ----
+ #---------------------------------------------------------------------------
+ # ANSI C compiler
+ #---------------------------------------------------------------------------
+! #CC = @CC@
+! #CFLAGS = @CFLAGS@
+ #---------------------------------------------------------------------------
+ # ELF specific (Linux)
+ #---------------------------------------------------------------------------
+! ELF_CC = $(CC)
+! ELF_CFLAGS = $(CFLAGS) -DPIC -fpic
+! ELF_LINK = ld -Bshareable
+ #---------------------------------------------------------------------------
+ # Set these values to ABSOLUTE path names
+ #---------------------------------------------------------------------------
+***************
+*** 63,69 ****
+
+ ELFLIB = lib$(THIS_LIB).so#
+ ELFLIB_MAJOR = $(ELFLIB).$(ELF_MAJOR_VERSION)#
+! ELFLIB_MAJOR_MINOR = $(ELFLIB_MAJOR).$(ELF_MINOR_VERSION)#
+ ELFDIR_ELF_LIB = $(ELFDIR)/$(ELFLIB_MAJOR_MINOR)#
+
+ EXECLIBS = -L$(OBJDIR) -lslang -lm $(TCAPLIB)
+--- 63,69 ----
+
+ ELFLIB = lib$(THIS_LIB).so#
+ ELFLIB_MAJOR = $(ELFLIB).$(ELF_MAJOR_VERSION)#
+! ELFLIB_MAJOR_MINOR = $(ELFLIB).$(ELF_MINOR_VERSION)#
+ ELFDIR_ELF_LIB = $(ELFDIR)/$(ELFLIB_MAJOR_MINOR)#
+
+ EXECLIBS = -L$(OBJDIR) -lslang -lm $(TCAPLIB)
+***************
+*** 88,99 ****
+ @echo $(NORMAL_LIB) created in $(OBJDIR)
+ $(ELFDIR_ELF_LIB): $(ELFDIR) $(ELFOBJS)
+ -$(RM) $(ELFDIR_ELF_LIB)
+! cd $(ELFDIR); $(ELF_LINK),$(ELFLIB_MAJOR) -o $(ELFLIB_MAJOR_MINOR) $(OFILES)
+! cd $(ELFDIR); $(RM) $(ELFLIB_MAJOR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
+! cd $(ELFDIR); $(RM) $(ELFLIB); $(LN) $(ELFLIB_MAJOR) $(ELFLIB)
+ @echo
+! @echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR). Be sure to add
+! @echo $(ELFDIR) to your LD_LIBRARY_PATH environment variable.
+ $(OBJDIR) :
+ -$(MKDIR) $(OBJDIR)
+ $(ELFDIR) :
+--- 88,96 ----
+ @echo $(NORMAL_LIB) created in $(OBJDIR)
+ $(ELFDIR_ELF_LIB): $(ELFDIR) $(ELFOBJS)
+ -$(RM) $(ELFDIR_ELF_LIB)
+! cd $(ELFDIR); $(ELF_LINK) -o $(ELFLIB_MAJOR_MINOR) $(OFILES)
+ @echo
+! @echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR).
+ $(OBJDIR) :
+ -$(MKDIR) $(OBJDIR)
+ $(ELFDIR) :
+***************
+*** 119,130 ****
+ install-elf: $(install_lib_dir) $(install_include_dir) $(ELFDIR_ELF_LIB)
+ @echo installing $(ELFLIB_MAJOR_MINOR) in $(install_lib_dir)
+ $(INSTALL_DATA) $(ELFDIR_ELF_LIB) $(install_lib_dir)
+- @echo creating symbolic links to $(ELFLIB_MAJOR_MINOR)
+- -$(RM) $(install_lib_dir)/$(ELFLIB_MAJOR)
+- -cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
+- -$(RM) $(install_lib_dir)/$(ELFLIB)
+- -cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR) $(ELFLIB)
+- @echo You will have to run ldconfig yourself.
+ #---------------------------------------------------------------------------
+ # Housekeeping
+ #---------------------------------------------------------------------------
+--- 116,121 ----
diff --git a/devel/libslang/pkg-comment b/devel/libslang/pkg-comment
new file mode 100644
index 000000000000..54f69a958ef8
--- /dev/null
+++ b/devel/libslang/pkg-comment
@@ -0,0 +1 @@
+Routines for rapid alpha-numeric terminal applications development
diff --git a/devel/libslang/pkg-descr b/devel/libslang/pkg-descr
new file mode 100644
index 000000000000..8af33ebd5d53
--- /dev/null
+++ b/devel/libslang/pkg-descr
@@ -0,0 +1,17 @@
+ S-Lang is a C programmer's library that includes routines for the rapid
+ development of sophisticated, user friendly, multi-platform applications.
+ The S-Lang library includes the following:
+
+ Low level tty input routines for reading single characters at a time.
+ Keymap routines for defining keys and manipulating multiple keymaps.
+ High level screen management routines for manipulating both
+ monochrome and color terminals. These routines are very
+ efficient.
+ Low level terminal-independent routines for manipulating the display
+ of a terminal.
+ Routines for reading single line input with line editing and recall
+ capabilities.
+ Searching functions: both ordinary searches and regular expression
+ searches.
+ An embedded stack-based language interpreter with a C-like syntax.
+ A malloc debugging package
diff --git a/devel/libslang/pkg-plist b/devel/libslang/pkg-plist
new file mode 100644
index 000000000000..d307b2b7160e
--- /dev/null
+++ b/devel/libslang/pkg-plist
@@ -0,0 +1,6 @@
+lib/libslang.a
+@exec ranlib %D/%F
+lib/libslang.so.99.33
+@exec /sbin/ldconfig -m %B
+include/slcurses.h
+include/slang.h