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@
This commit is contained in:
bentley 2021-03-03 11:26:42 +00:00
parent 60714e8714
commit 35dfc815c2
4 changed files with 89 additions and 0 deletions

36
editors/poke/Makefile Normal file
View File

@ -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 <bsd.port.mk>

2
editors/poke/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (poke-1.0.tar.gz) = 3pMLhwDAdys8LNDQyjX1D9PXe9+CxiUetRa0noyiWwo=
SIZE (poke-1.0.tar.gz) = 6698818

4
editors/poke/pkg/DESCR Normal file
View File

@ -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.

47
editors/poke/pkg/PLIST Normal file
View File

@ -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