pkgsrc-WIP-changes archive

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

libvterm03: Import v0.3 from -current



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Tue Apr 2 11:34:06 2024 -0700
Changeset:	a564f07c3e99b55917a977319cce14e26c936afb

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

Log Message:
libvterm03: Import v0.3 from -current

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

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 | 24 ++++++++++++++++++++++++
 libvterm03/distinfo      |  5 +++++
 6 files changed, 73 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 161d888451..bebff28a8c 100644
--- a/Makefile
+++ b/Makefile
@@ -2053,6 +2053,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..3cb08e0b9e
--- /dev/null
+++ b/libvterm03/Makefile
@@ -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 --git a/libvterm03/PLIST b/libvterm03/PLIST
new file mode 100644
index 0000000000..509153dd8c
--- /dev/null
+++ b/libvterm03/PLIST
@@ -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 --git a/libvterm03/buildlink3.mk b/libvterm03/buildlink3.mk
new file mode 100644
index 0000000000..cd5bd91c83
--- /dev/null
+++ b/libvterm03/buildlink3.mk
@@ -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 --git a/libvterm03/distinfo b/libvterm03/distinfo
new file mode 100644
index 0000000000..f9759049c9
--- /dev/null
+++ b/libvterm03/distinfo
@@ -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