mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
New port of hexpeek
A hex file editor that is scriptable and supports patching of arbitrarily large files.
This commit is contained in:
parent
81b47a6b61
commit
f37457350c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549675
@ -468,6 +468,7 @@
|
||||
SUBDIR += healthd
|
||||
SUBDIR += heirloom
|
||||
SUBDIR += helm
|
||||
SUBDIR += hexpeek
|
||||
SUBDIR += hextools
|
||||
SUBDIR += hexyl
|
||||
SUBDIR += hfsexplorer
|
||||
|
27
sysutils/hexpeek/Makefile
Normal file
27
sysutils/hexpeek/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# Created by: se@freebsd.org
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= hexpeek
|
||||
DISTVERSION= 1.0.20200804
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://www.hexpeek.com/releases/${DISTNAME}/
|
||||
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
||||
|
||||
MAINTAINER= se@freebsd.org
|
||||
COMMENT= Hex file editor
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= tar:bzip2 libedit ncurses
|
||||
|
||||
CFLAGS+= -Isrc -D_WITH_GETLINE -L${PREFIX}/lib
|
||||
|
||||
PLIST_FILES= bin/hexdiff bin/hexDump bin/hexpack bin/hexpeek bin/hexview
|
||||
PLIST_FILES+= man/man1/hexpeek.1.gz
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/etc/hexpeek.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/hexpeek/distinfo
Normal file
3
sysutils/hexpeek/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1596616000
|
||||
SHA256 (hexpeek-v1.0.20200804.tar.bz2) = 03b676765e0dee55ff8515dd239a4beade9c65e31816ba5041da18bd3eaee176
|
||||
SIZE (hexpeek-v1.0.20200804.tar.bz2) = 1981134
|
20
sysutils/hexpeek/files/patch-Makefile
Normal file
20
sysutils/hexpeek/files/patch-Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
--- Makefile.orig 2020-08-04 05:58:52 UTC
|
||||
+++ Makefile
|
||||
@@ -26,13 +26,10 @@
|
||||
|
||||
# Note that libedit is optional. To build hexpeek without it, remove
|
||||
# -DHEXPEEK_EDITABLE_CONSOLE and -ledit.
|
||||
-SRCDIR := src
|
||||
-BINDIR := bin
|
||||
-EXEC := $(BINDIR)/hexpeek
|
||||
-CC ?= clang
|
||||
-CFLAGS := -I$(SRCDIR) -O3 -Wall -fPIC
|
||||
-DFLAGS := -DHEXPEEK_EDITABLE_CONSOLE
|
||||
-LIBS := -ledit #-ltermcap
|
||||
+SRCDIR = src
|
||||
+BINDIR = bin
|
||||
+EXEC = $(BINDIR)/hexpeek
|
||||
+LIBS = -ledit
|
||||
|
||||
all: $(EXEC)
|
||||
make -C test
|
8
sysutils/hexpeek/pkg-descr
Normal file
8
sysutils/hexpeek/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
hexpeek is a binary editor designed for efficient operation on huge files,
|
||||
but works on any file.
|
||||
|
||||
Operations supported are searching, patching, and insertions and deletions
|
||||
of binary data in a file. An undo feature allows to revert changes made in
|
||||
error.
|
||||
|
||||
WWW: https://www.hexpeek.com/
|
Loading…
Reference in New Issue
Block a user