Thu Dec 15 22:13:50 2022 UTC ()
import libvterm03 as devel/libvterm03 version 0.3
packaged by Thomas Merkel in wip
An 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.
(nikita)
diff -r0 -r1.1 pkgsrc/devel/libvterm03/DESCR
diff -r0 -r1.1 pkgsrc/devel/libvterm03/Makefile
diff -r0 -r1.1 pkgsrc/devel/libvterm03/PLIST
diff -r0 -r1.1 pkgsrc/devel/libvterm03/buildlink3.mk
diff -r0 -r1.1 pkgsrc/devel/libvterm03/distinfo
An 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.
# $NetBSD: Makefile,v 1.1 2022/12/15 22:13:50 nikita Exp $
DISTNAME= libvterm-0.3
PKGNAME= ${DISTNAME:S/libvterm/libvterm03/g}
CATEGORIES= devel
MASTER_SITES= https://www.leonerd.org.uk/code/libvterm/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.leonerd.org.uk/code/libvterm/
COMMENT= Abstract VT220/xterm/ECMA-48 emulation library
LICENSE= mit
USE_TOOLS+= gmake perl
USE_LIBTOOL= yes
MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= INCDIR=${PREFIX}/include/${PKGBASE}
MAKE_FLAGS+= LIBDIR=${PREFIX}/lib/${PKGBASE}
# Do not install programs, in case we conflict with a
# package for a more recent version.
INSTALL_TARGET= install-lib install-inc
PKGCONFIG_OVERRIDE+= vterm.pc.in
INSTALLATION_DIRS+= lib/pkgconfig
post-install:
${MV} ${DESTDIR}${PREFIX}/lib/libvterm03/pkgconfig/vterm.pc \
${DESTDIR}${PREFIX}/lib/pkgconfig/vterm03.pc
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2022/12/15 22:13:50 nikita Exp $
include/libvterm03/vterm.h
include/libvterm03/vterm_keycodes.h
lib/libvterm03/libvterm.la
lib/pkgconfig/vterm03.pc
@pkgdir lib/libvterm03/pkgconfig
# $NetBSD: buildlink3.mk,v 1.1 2022/12/15 22:13:50 nikita Exp $
BUILDLINK_TREE+= libvterm03
.if !defined(LIBVTERM03_BUILDLINK3_MK)
LIBVTERM03_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libvterm03+= libvterm03>=0.0.0
BUILDLINK_ABI_DEPENDS.libvterm03+= libvterm03>=0.3
BUILDLINK_PKGSRCDIR.libvterm03?= ../../devel/libvterm03
BUILDLINK_INCDIRS.libvterm03+= include/libvterm03
BUILDLINK_LIBDIRS.libvterm03+= lib/libvterm03
BUILDLINK_TARGETS+= buildlink-vterm-unversioned
.PHONY: buildlink-vterm-unversioned
buildlink-vterm-unversioned:
${LN} -s ${BUILDLINK_DIR}/lib/pkgconfig/vterm03.pc \
${BUILDLINK_DIR}/lib/pkgconfig/vterm.pc
.endif # LIBVTERM03_BUILDLINK3_MK
BUILDLINK_TREE+= -libvterm03
$NetBSD: distinfo,v 1.1 2022/12/15 22:13:50 nikita Exp $
BLAKE2s (libvterm-0.3.tar.gz) = a31081d6e81231375decbc199368edf73862a7eb6d365019d5a2d16bb952d247
SHA512 (libvterm-0.3.tar.gz) = 2a7b6831476465d6a9f7c792406f4e3c4eca0c3dbce4b7031f2646c87e33692128a3d3ce27e1541403772cc0b5eface7bd41325e1e5300c3915bfc0bac97a896
Size (libvterm-0.3.tar.gz) = 83861 bytes