mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
editors/rehex: update to 0.5.0
ChangeLog: https://github.com/solemnwarning/rehex/releases/tag/0.5.0 Submitter requests maintainership. Already maintainer of several ports. PR: 263562 Reported by: fuz@fuz.su (maintainer)
This commit is contained in:
parent
4903f7826a
commit
930715f767
@ -1,23 +1,31 @@
|
||||
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
||||
|
||||
PORTNAME= rehex
|
||||
PORTVERSION= 0.4.1
|
||||
DISTVERSION= 0.5.0
|
||||
CATEGORIES= editors
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= fuz@fuz.su
|
||||
COMMENT= Hex editor for reverse engineering
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
BUILD_DEPENDS= p5-Template-Toolkit>0:www/p5-Template-Toolkit \
|
||||
zip:archivers/zip
|
||||
LIB_DEPENDS= libcapstone.so:devel/capstone4 \
|
||||
libharfbuzz.so:print/harfbuzz \
|
||||
libiconv.so:converters/libiconv \
|
||||
libjansson.so:devel/jansson \
|
||||
libunistring.so:devel/libunistring
|
||||
|
||||
USES= compiler:c++11-lang gmake gnome lua:53 pkgconfig
|
||||
USE_WX= 3.0+
|
||||
MAKE_ENV= LUA_PKG="lua-${LUA_VER}" LUA="${LUA_CMD}"
|
||||
USES= compiler:c++11-lang gmake gnome lua:53 perl5 pkgconfig
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= solemnwarning
|
||||
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango
|
||||
USE_PERL5= build
|
||||
USE_WX= 3.0+
|
||||
MAKE_ENV= LUA_PKG="lua-${LUA_VER}" LUA="${LUA_CMD}" STRIP="${STRIP}"
|
||||
TEST_TARGET= check
|
||||
|
||||
PORTDOCS= CHANGES.txt
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1642090465
|
||||
SHA256 (solemnwarning-rehex-0.4.1_GH0.tar.gz) = 88a8ec41147a5ed5c542d40496b7231fb42ebfd1783c4498202fca5a1ddaae8f
|
||||
SIZE (solemnwarning-rehex-0.4.1_GH0.tar.gz) = 3347164
|
||||
TIMESTAMP = 1650880974
|
||||
SHA256 (solemnwarning-rehex-0.5.0_GH0.tar.gz) = f6737e44d98da9a81ba0217da56fc0b4d36338204ab5f076b77af536a4b35981
|
||||
SIZE (solemnwarning-rehex-0.5.0_GH0.tar.gz) = 3905886
|
||||
|
@ -1,27 +1,31 @@
|
||||
--- Makefile.orig 2021-05-03 12:57:27 UTC
|
||||
--- Makefile.orig 2022-04-23 13:09:38 UTC
|
||||
+++ Makefile
|
||||
@@ -388,18 +388,20 @@ PLUGINS_INSTALL := \
|
||||
@@ -503,17 +503,21 @@ PLUGINS := \
|
||||
|
||||
.PHONY: install
|
||||
install: $(EXE)
|
||||
install: $(EXE) help/rehex.htb
|
||||
- install -D -m 0755 $(EXE) $(DESTDIR)$(bindir)/$(EXE)
|
||||
+ $(BSD_INSTALL_PROGRAM) $(EXE) $(DESTDIR)$(bindir)/$(EXE)
|
||||
+ install -m 0755 $(STRIP) $(EXE) $(DESTDIR)$(bindir)/$(EXE)
|
||||
|
||||
for s in 16 32 48 64 128 256 512; \
|
||||
do \
|
||||
- install -D -m 0644 res/icon$${s}.png $(DESTDIR)$(datarootdir)/icons/hicolor/$${s}x$${s}/apps/rehex.png; \
|
||||
+ mkdir -p $(DESTDIR)$(datarootdir)/icons/hicolor/$${s}x$${s}/apps; \
|
||||
+ $(BSD_INSTALL_DATA) res/icon$${s}.png $(DESTDIR)$(datarootdir)/icons/hicolor/$${s}x$${s}/apps/rehex.png; \
|
||||
+ install -m 0644 res/icon$${s}.png $(DESTDIR)$(datarootdir)/icons/hicolor/$${s}x$${s}/apps/rehex.png; \
|
||||
done
|
||||
|
||||
-
|
||||
- install -D -m 0644 res/rehex.desktop $(DESTDIR)$(datarootdir)/applications/rehex.desktop
|
||||
+ $(BSD_INSTALL_DATA) res/rehex.desktop $(DESTDIR)$(datarootdir)/applications/rehex.desktop
|
||||
|
||||
-
|
||||
- install -D -m 0644 help/rehex.htb $(DESTDIR)$(datadir)/rehex/rehex.htb
|
||||
-
|
||||
+
|
||||
+ mkdir -p $(DESTDIR)$(datarootdir)/applications
|
||||
+ install -m 0644 res/rehex.desktop $(DESTDIR)$(datarootdir)/applications/rehex.desktop
|
||||
+
|
||||
+ mkdir -p $(DESTDIR)$(datadir)/rehex
|
||||
+ install -m 0644 help/rehex.htb $(DESTDIR)$(datadir)/rehex/rehex.htb
|
||||
+
|
||||
+ mkdir -p $(DESTDIR)$(libdir)/rehex/exe
|
||||
for f in $(PLUGINS_INSTALL); \
|
||||
for p in $(PLUGINS); \
|
||||
do \
|
||||
- install -D -m 0644 plugins/$${f} $(DESTDIR)$(libdir)/rehex/$${f}; \
|
||||
+ $(BSD_INSTALL_DATA) plugins/$${f} $(DESTDIR)$(libdir)/rehex/$${f}; \
|
||||
done
|
||||
|
||||
.PHONY: uninstall
|
||||
$(MAKE) -C plugins/$${p} install || exit $$?; \
|
||||
|
11
editors/rehex/files/patch-plugins_binary-template_Makefile
Normal file
11
editors/rehex/files/patch-plugins_binary-template_Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
--- plugins/binary-template/Makefile.orig 2022-04-25 10:32:52 UTC
|
||||
+++ plugins/binary-template/Makefile
|
||||
@@ -49,7 +49,7 @@ ifeq ($(BUSTED),)
|
||||
endif
|
||||
|
||||
ifeq ($(BUSTED),)
|
||||
- X := $(error Neither busted or busted.bat found in PATH)
|
||||
+ BUSTED := @echo busted not found in PATH, skipping checks ; true
|
||||
endif
|
||||
endif
|
||||
|
@ -1,4 +1,16 @@
|
||||
bin/rehex
|
||||
lib/rehex/binary-template/executor.lua
|
||||
lib/rehex/binary-template/executor/arrayvalue.lua
|
||||
lib/rehex/binary-template/executor/filearrayvalue.lua
|
||||
lib/rehex/binary-template/executor/filevalue.lua
|
||||
lib/rehex/binary-template/executor/immediatevalue.lua
|
||||
lib/rehex/binary-template/executor/plainvalue.lua
|
||||
lib/rehex/binary-template/executor/structvalue.lua
|
||||
lib/rehex/binary-template/lulpeg/lulpeg.lua
|
||||
lib/rehex/binary-template/parser.lua
|
||||
lib/rehex/binary-template/plugin.lua
|
||||
lib/rehex/binary-template/preprocessor.lua
|
||||
lib/rehex/binary-template/templates/riff.bt
|
||||
lib/rehex/exe/bitops52.lua
|
||||
lib/rehex/exe/class.lua
|
||||
lib/rehex/exe/document_stream.lua
|
||||
@ -17,3 +29,4 @@ share/icons/hicolor/32x32/apps/rehex.png
|
||||
share/icons/hicolor/48x48/apps/rehex.png
|
||||
share/icons/hicolor/512x512/apps/rehex.png
|
||||
share/icons/hicolor/64x64/apps/rehex.png
|
||||
%%DATADIR%%/rehex.htb
|
||||
|
Loading…
Reference in New Issue
Block a user