pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libvterm03: Add libvterm version 0.3



Module Name:	pkgsrc-wip
Committed By:	Thomas Merkel <tm%core.io@localhost>
Pushed By:	drscream
Date:		Mon Dec 12 09:57:06 2022 +0100
Changeset:	fb55fffb67d675978aea055d59f760d0acb43fe5

Modified Files:
	Makefile
Added Files:
	libvterm03/DESCR
	libvterm03/Makefile
	libvterm03/PLIST
	libvterm03/buildlink3.mk
	libvterm03/distinfo

Log Message:
libvterm03: Add libvterm version 0.3

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fb55fffb67d675978aea055d59f760d0acb43fe5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                 |  1 +
 libvterm03/DESCR         |  5 +++++
 libvterm03/Makefile      | 32 ++++++++++++++++++++++++++++++++
 libvterm03/PLIST         |  6 ++++++
 libvterm03/buildlink3.mk | 22 ++++++++++++++++++++++
 libvterm03/distinfo      |  5 +++++
 6 files changed, 71 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0bf1f735eb..e620810d6f 100644
--- a/Makefile
+++ b/Makefile
@@ -2240,6 +2240,7 @@ SUBDIR+=	libvips
 SUBDIR+=	libvirt
 SUBDIR+=	libvirt-glib
 SUBDIR+=	libvpx-git
+SUBDIR+=	libvterm03
 SUBDIR+=	libwbxml2-patched
 SUBDIR+=	libxc
 SUBDIR+=	libxdiff
diff --git a/libvterm03/DESCR b/libvterm03/DESCR
new file mode 100644
index 0000000000..bb8b0c04f4
--- /dev/null
+++ b/libvterm03/DESCR
@@ -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 --git a/libvterm03/Makefile b/libvterm03/Makefile
new file mode 100644
index 0000000000..61214476b0
--- /dev/null
+++ b/libvterm03/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.4 2022/07/25 11:12:23 wiz 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 --git a/libvterm03/PLIST b/libvterm03/PLIST
new file mode 100644
index 0000000000..da8d11886c
--- /dev/null
+++ b/libvterm03/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+include/libvterm03/vterm.h
+include/libvterm03/vterm_keycodes.h
+lib/libvterm03/libvterm.la
+lib/pkgconfig/vterm03.pc
+@pkgdir lib/libvterm03/pkgconfig
diff --git a/libvterm03/buildlink3.mk b/libvterm03/buildlink3.mk
new file mode 100644
index 0000000000..3c47cc8b30
--- /dev/null
+++ b/libvterm03/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.3 2022/06/28 11:31:48 wiz 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?=	../../wip/libvterm03
+BUILDLINK_INCDIRS.libvterm03+=		include/libvterm03
+BUILDLINK_LIBDIRS.libvterm03+=		lib/libvterm03
+
+BUILDLINK_TARGETS+=	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 --git a/libvterm03/distinfo b/libvterm03/distinfo
new file mode 100644
index 0000000000..ce92427ef4
--- /dev/null
+++ b/libvterm03/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/04/20 17:14:20 nia 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