libslang
This commit is contained in:
parent
059e05636e
commit
c6cc8698f3
25
devel/libslang/Makefile
Normal file
25
devel/libslang/Makefile
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# OpenBSD makefile for: S-Lang library
|
||||||
|
# Version required: 0.99-38
|
||||||
|
# Date created: 19 November 1997
|
||||||
|
# Whom: todd@OpenBSD.org
|
||||||
|
#
|
||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 1997/11/20 00:18:38 todd Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
DISTNAME= slang0.99-38
|
||||||
|
PKGNAME= libslang-0.99.38
|
||||||
|
CATEGORIES= devel
|
||||||
|
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/
|
||||||
|
|
||||||
|
MAINTAINER= todd@OpenBSD.org
|
||||||
|
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
ALL_TARGET= all elf
|
||||||
|
INSTALL_TARGET= install install-elf
|
||||||
|
WRKSRC= ${WRKDIR}/slang
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
@rm -f ${PREFIX}/lib/libslang.so.99.3[348]
|
||||||
|
${LDCONFIG} -m ${PREFIX}/lib
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
devel/libslang/files/md5
Normal file
1
devel/libslang/files/md5
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (slang0.99-38.tar.gz) = d3419a30d2705b631b51deb9fe57aa65
|
76
devel/libslang/patches/patch-aa
Normal file
76
devel/libslang/patches/patch-aa
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
*** src/Makefile.in.orig Tue Jan 21 20:21:34 1997
|
||||||
|
--- src/Makefile.in Mon Jan 27 23:49:32 1997
|
||||||
|
***************
|
||||||
|
*** 2,16 ****
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# ANSI C compiler
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
! CC = @CC@
|
||||||
|
! CFLAGS = @CFLAGS@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# 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,16 ----
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# ANSI C compiler
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
! #CC = @CC@
|
||||||
|
! #CFLAGS = @CFLAGS@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# ELF specific (Linux)
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
! ELF_CC = $(CC)
|
||||||
|
! ELF_CFLAGS = $(CFLAGS) -DPIC -fpic
|
||||||
|
! ELF_LINK = ld -Bshareable
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Set these values to ABSOLUTE path names
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
***************
|
||||||
|
*** 93,103 ****
|
||||||
|
# cd $(ELFDIR); $(RM) $(ELFLIB_MAJOR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
|
||||||
|
$(ELFDIR_ELF_LIB): $(ELFDIR) $(ELFOBJS)
|
||||||
|
-$(RM) $(ELFDIR_ELF_LIB)
|
||||||
|
! cd $(ELFDIR); $(ELF_LINK),$(ELFLIB_MAJOR) -o $(ELFLIB_MAJOR_MINOR) $(OFILES)
|
||||||
|
! cd $(ELFDIR); $(RM) $(ELFLIB); $(LN) $(ELFLIB_MAJOR) $(ELFLIB)
|
||||||
|
@echo ""
|
||||||
|
@echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR).
|
||||||
|
- @echo The link $(ELFLIB) to $(ELFLIB_MAJOR_MINOR) was also created.
|
||||||
|
@echo ""
|
||||||
|
$(OBJDIR) :
|
||||||
|
-$(MKDIR) $(OBJDIR)
|
||||||
|
--- 93,101 ----
|
||||||
|
# cd $(ELFDIR); $(RM) $(ELFLIB_MAJOR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
|
||||||
|
$(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).
|
||||||
|
@echo ""
|
||||||
|
$(OBJDIR) :
|
||||||
|
-$(MKDIR) $(OBJDIR)
|
||||||
|
***************
|
||||||
|
*** 124,138 ****
|
||||||
|
install-elf: install elf $(install_lib_dir) $(install_include_dir) $(ELFDIR_ELF_LIB)
|
||||||
|
$(INSTALL_DATA) $(SRCDIR)/slang.h $(install_include_dir)
|
||||||
|
$(INSTALL_DATA) $(SRCDIR)/slcurses.h $(install_include_dir)
|
||||||
|
- -$(RM) $(install_lib_dir)/$(ELFLIB)
|
||||||
|
- -$(RM) $(install_lib_dir)/$(ELFLIB_MAJOR)
|
||||||
|
@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)
|
||||||
|
- -cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB)
|
||||||
|
@echo ""
|
||||||
|
@echo $(ELFLIB_MAJOR_MINOR) created in $(install_lib_dir).
|
||||||
|
- @echo The link $(ELFLIB) to $(ELFLIB_MAJOR_MINOR) was also created.
|
||||||
|
@echo ""
|
||||||
|
install-links:
|
||||||
|
-$(RM) $(install_lib_dir)/$(ELFLIB)
|
||||||
|
--- 122,131 ----
|
12
devel/libslang/patches/patch-ab
Normal file
12
devel/libslang/patches/patch-ab
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
*** configure.bak Tue Jan 21 09:58:15 1997
|
||||||
|
--- configure Tue Jan 28 11:16:31 1997
|
||||||
|
***************
|
||||||
|
*** 1421,1426 ****
|
||||||
|
--- 1421,1427 ----
|
||||||
|
slang_major_version=`echo $slang_version |
|
||||||
|
awk '{ print $1 - 100 * '$slang_minor_version' }'`
|
||||||
|
echo "$ac_t""$slang_major_version.$slang_minor_version" 1>&6
|
||||||
|
+ slang_minor_version=`echo $slang_minor_version | tr -d '.'`
|
||||||
|
|
||||||
|
|
||||||
|
|
1
devel/libslang/pkg/COMMENT
Normal file
1
devel/libslang/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
|||||||
|
Routines for rapid alpha-numeric terminal applications development
|
17
devel/libslang/pkg/DESCR
Normal file
17
devel/libslang/pkg/DESCR
Normal 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
|
7
devel/libslang/pkg/PLIST
Normal file
7
devel/libslang/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
lib/libslang.a
|
||||||
|
@exec ranlib %D/%F
|
||||||
|
lib/libslang.so.0.9938
|
||||||
|
@exec rm -f %D/libslang.so.99.3[348]
|
||||||
|
@exec /sbin/ldconfig -m %B
|
||||||
|
include/slcurses.h
|
||||||
|
include/slang.h
|
Loading…
Reference in New Issue
Block a user