From 35dfc815c2db7b7ea2a6aa82c1e1aafcf3d4a812 Mon Sep 17 00:00:00 2001 From: bentley Date: Wed, 3 Mar 2021 11:26:42 +0000 Subject: [PATCH] Import poke-1.0. GNU poke is an interactive, extensible editor for binary data. Not limited to editing basic entities such as bits and bytes, it provides a full-fledged procedural, interactive programming language designed to describe data structures and to operate on them. ok bcallah@ --- editors/poke/Makefile | 36 ++++++++++++++++++++++++++++++++ editors/poke/distinfo | 2 ++ editors/poke/pkg/DESCR | 4 ++++ editors/poke/pkg/PLIST | 47 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 89 insertions(+) create mode 100644 editors/poke/Makefile create mode 100644 editors/poke/distinfo create mode 100644 editors/poke/pkg/DESCR create mode 100644 editors/poke/pkg/PLIST diff --git a/editors/poke/Makefile b/editors/poke/Makefile new file mode 100644 index 00000000000..7a801b2ef0d --- /dev/null +++ b/editors/poke/Makefile @@ -0,0 +1,36 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2021/03/03 11:26:42 bentley Exp $ + +COMMENT = interactive, extensible binary editor + +DISTNAME = poke-1.0 + +SHARED_LIBS += poke 0.0 # 0.0 + +CATEGORIES = editors + +HOMEPAGE = http://www.jemarch.net/poke + +# GPLv3+ +PERMIT_PACKAGE = Yes + +WANTLIB += c curses gc iconv intl json-c m pthread readline textstyle + +MASTER_SITES = ${MASTER_SITE_GNU:=poke/} + +BUILD_DEPENDS = devel/dejagnu +LIB_DEPENDS = devel/boehm-gc \ + devel/gettext,-runtime \ + devel/gettext,-textstyle \ + devel/json-c +TEST_DEPENDS = devel/dejagnu + +CONFIGURE_STYLE = gnu + +# test failures due to missing hyperlink support in libtextstyle +CONFIGURE_ARGS += --disable-hserver +# upstream recommends against packaging gui as it's just a tool for testing +CONFIGURE_ARGS += --disable-gui + +DEBUG_PACKAGES = ${BUILD_PACKAGES} + +.include diff --git a/editors/poke/distinfo b/editors/poke/distinfo new file mode 100644 index 00000000000..4078a1d1388 --- /dev/null +++ b/editors/poke/distinfo @@ -0,0 +1,2 @@ +SHA256 (poke-1.0.tar.gz) = 3pMLhwDAdys8LNDQyjX1D9PXe9+CxiUetRa0noyiWwo= +SIZE (poke-1.0.tar.gz) = 6698818 diff --git a/editors/poke/pkg/DESCR b/editors/poke/pkg/DESCR new file mode 100644 index 00000000000..e6856862ad9 --- /dev/null +++ b/editors/poke/pkg/DESCR @@ -0,0 +1,4 @@ +GNU poke is an interactive, extensible editor for binary data. Not limited +to editing basic entities such as bits and bytes, it provides a full-fledged +procedural, interactive programming language designed to describe data +structures and to operate on them. diff --git a/editors/poke/pkg/PLIST b/editors/poke/pkg/PLIST new file mode 100644 index 00000000000..530294d8f1c --- /dev/null +++ b/editors/poke/pkg/PLIST @@ -0,0 +1,47 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2021/03/03 11:26:42 bentley Exp $ +bin/pk-elfextractor +@bin bin/poke +include/libpoke.h +@info info/poke.info +@static-lib lib/libpoke.a +lib/libpoke.la +@lib lib/libpoke.so.${LIBpoke_VERSION} +@man man/man1/poke.1 +share/poke/ +share/poke/maps/ +share/poke/maps/dwarf.map +share/poke/maps/elf.map +share/poke/maps/mp3.map +share/poke/nodelist +share/poke/pickles/ +share/poke/pickles/argp.pk +share/poke/pickles/bmp.pk +share/poke/pickles/bpf.pk +share/poke/pickles/btf-dump.pk +share/poke/pickles/btf.pk +share/poke/pickles/color.pk +share/poke/pickles/ctf.pk +share/poke/pickles/dwarf-common.pk +share/poke/pickles/dwarf-frame.pk +share/poke/pickles/dwarf-pubnames.pk +share/poke/pickles/dwarf-types.pk +share/poke/pickles/dwarf.pk +share/poke/pickles/elf.pk +share/poke/pickles/id3v1.pk +share/poke/pickles/leb128.pk +share/poke/pickles/mbr.pk +share/poke/pickles/pktest.pk +share/poke/pickles/rgb24.pk +share/poke/pickles/time.pk +share/poke/pickles/ustar.pk +share/poke/pk-cmd.pk +share/poke/pk-copy.pk +share/poke/pk-dump.pk +share/poke/pk-extract.pk +share/poke/pk-save.pk +share/poke/pk-scrabble.pk +share/poke/pkl-rt.pk +share/poke/poke-default.css +share/poke/poke.pk +share/poke/poke.text +share/poke/std.pk