Abstract C99 library which implements a VT220 or xterm-like terminal emulator.

It doesn't use any particular graphics toolkit or output system,
instead it invokes callback function pointers that its
embedding program should provide it to draw on its behalf.
It avoids calling malloc() during normal running state,
allowing it to be used in embedded kernel situations.

WWW: http://www.leonerd.org.uk/code/libvterm/

PR:		198712
Submitted by:	antont@inbox.lv
This commit is contained in:
Dmitry Marakasov 2015-05-28 09:58:54 +00:00
parent d7c167f04b
commit aa3d2fad42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387715
5 changed files with 51 additions and 0 deletions

View file

@ -1230,6 +1230,7 @@
SUBDIR += libvmdk
SUBDIR += libvolume_id
SUBDIR += libvshadow
SUBDIR += libvterm
SUBDIR += libwfut
SUBDIR += libx86
SUBDIR += libxalloc

30
devel/libvterm/Makefile Normal file
View file

@ -0,0 +1,30 @@
# Created by: Anton tornqvist <antont@inbox.lv>
# $FreeBSD$
PORTNAME= libvterm
PORTVERSION= git20150527
CATEGORIES= devel
MAINTAINER= antont@inbox.lv
COMMENT= Implementation of a VT220/xterm/ECMA-48 terminal emulator
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= neovim
GH_TAGNAME= 1b745d2
USES= gmake libtool:build perl5
USE_LDCONFIG= yes
pre-build:
${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/unterm
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vterm-ctrl
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vterm-dump
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvterm.so
.include <bsd.port.mk>

2
devel/libvterm/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (neovim-libvterm-git20150527-1b745d2_GH0.tar.gz) = fb9e25065f764cf23d0947cd17c9abd941fc1a22e0cd5e42d7ad59b3ff1f093f
SIZE (neovim-libvterm-git20150527-1b745d2_GH0.tar.gz) = 63714

8
devel/libvterm/pkg-descr Normal file
View file

@ -0,0 +1,8 @@
Abstract C99 library which implements a VT220 or xterm-like terminal
emulator. It doesn't use any particular graphics toolkit or output
system, instead it invokes callback function pointers that its
embedding program should provide it to draw on its behalf. It
avoids calling malloc() during normal running state, allowing it
to be used in embedded kernel situations.
WWW: http://www.leonerd.org.uk/code/libvterm/

10
devel/libvterm/pkg-plist Normal file
View file

@ -0,0 +1,10 @@
bin/unterm
bin/vterm-ctrl
bin/vterm-dump
include/vterm.h
include/vterm_keycodes.h
lib/libvterm.a
lib/libvterm.so
lib/libvterm.so.0
lib/libvterm.so.0.0.0
libdata/pkgconfig/vterm.pc