1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Curses-like library, needed primary for color-lynx

This commit is contained in:
Andrey A. Chernov 1996-07-11 17:31:18 +00:00
parent 12c02eddd7
commit be6d53fcbd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3370
6 changed files with 138 additions and 0 deletions

24
devel/libslang/Makefile Normal file
View File

@ -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>

1
devel/libslang/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (slang0.99-33.tar.gz) = a9d3bcbbd6870c58351919d74c5171f8

View File

@ -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 ----

View File

@ -0,0 +1 @@
Routines for rapid alpha-numeric terminal applications development

17
devel/libslang/pkg-descr Normal file
View File

@ -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

6
devel/libslang/pkg-plist Normal file
View File

@ -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