pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libvterm03 import libvterm03 as devel/libvterm03...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8e706705e9ea
branches: trunk
changeset: 390070:8e706705e9ea
user: nikita <nikita%pkgsrc.org@localhost>
date: Thu Dec 15 22:13:50 2022 +0000
description:
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.
diffstat:
devel/libvterm03/DESCR | 5 +++++
devel/libvterm03/Makefile | 32 ++++++++++++++++++++++++++++++++
devel/libvterm03/PLIST | 6 ++++++
devel/libvterm03/buildlink3.mk | 24 ++++++++++++++++++++++++
devel/libvterm03/distinfo | 5 +++++
5 files changed, 72 insertions(+), 0 deletions(-)
diffs (92 lines):
diff -r 25f4246bf12c -r 8e706705e9ea devel/libvterm03/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvterm03/DESCR Thu Dec 15 22:13:50 2022 +0000
@@ -0,0 +1,5 @@
+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.
diff -r 25f4246bf12c -r 8e706705e9ea devel/libvterm03/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvterm03/Makefile Thu Dec 15 22:13:50 2022 +0000
@@ -0,0 +1,32 @@
+# $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@localhost
+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"
diff -r 25f4246bf12c -r 8e706705e9ea devel/libvterm03/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvterm03/PLIST Thu Dec 15 22:13:50 2022 +0000
@@ -0,0 +1,6 @@
+@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
diff -r 25f4246bf12c -r 8e706705e9ea devel/libvterm03/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvterm03/buildlink3.mk Thu Dec 15 22:13:50 2022 +0000
@@ -0,0 +1,24 @@
+# $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
diff -r 25f4246bf12c -r 8e706705e9ea devel/libvterm03/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvterm03/distinfo Thu Dec 15 22:13:50 2022 +0000
@@ -0,0 +1,5 @@
+$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
Home |
Main Index |
Thread Index |
Old Index