pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libvterm03
Module Name: pkgsrc
Committed By: nikita
Date: Thu Dec 15 22:13:50 UTC 2022
Added Files:
pkgsrc/devel/libvterm03: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libvterm03/DESCR \
pkgsrc/devel/libvterm03/Makefile pkgsrc/devel/libvterm03/PLIST \
pkgsrc/devel/libvterm03/buildlink3.mk pkgsrc/devel/libvterm03/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/libvterm03/DESCR
diff -u /dev/null pkgsrc/devel/libvterm03/DESCR:1.1
--- /dev/null Thu Dec 15 22:13:50 2022
+++ pkgsrc/devel/libvterm03/DESCR Thu Dec 15 22:13:50 2022
@@ -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.
Index: pkgsrc/devel/libvterm03/Makefile
diff -u /dev/null pkgsrc/devel/libvterm03/Makefile:1.1
--- /dev/null Thu Dec 15 22:13:50 2022
+++ pkgsrc/devel/libvterm03/Makefile Thu Dec 15 22:13:50 2022
@@ -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"
Index: pkgsrc/devel/libvterm03/PLIST
diff -u /dev/null pkgsrc/devel/libvterm03/PLIST:1.1
--- /dev/null Thu Dec 15 22:13:50 2022
+++ pkgsrc/devel/libvterm03/PLIST Thu Dec 15 22:13:50 2022
@@ -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
Index: pkgsrc/devel/libvterm03/buildlink3.mk
diff -u /dev/null pkgsrc/devel/libvterm03/buildlink3.mk:1.1
--- /dev/null Thu Dec 15 22:13:50 2022
+++ pkgsrc/devel/libvterm03/buildlink3.mk Thu Dec 15 22:13:50 2022
@@ -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
Index: pkgsrc/devel/libvterm03/distinfo
diff -u /dev/null pkgsrc/devel/libvterm03/distinfo:1.1
--- /dev/null Thu Dec 15 22:13:50 2022
+++ pkgsrc/devel/libvterm03/distinfo Thu Dec 15 22:13:50 2022
@@ -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