diff -udprN /dev/null --- /dev/null +++ b/editors/hxavi/Makefile 2026-03-09 15:00:37.387451000 +0000 @@ -0,0 +1,41 @@ +PORTNAME= hxavi +DISTVERSION= 1.2.1 +CATEGORIES= editors +MASTER_SITES= https://hxavi.net/files/ +DISTNAME= ${PORTNAME}-${DISTVERSION}.20260309 + +MAINTAINER= satoumc@hxavi.net +COMMENT= Lightweight binary (hex) editor for vi and Vim users +WWW= https://hxavi.net/en/en-home/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/doc/copyright + +USES= ncurses +MAKEFILE= Makefile +PLIST_SUB= LIBNAMEVAR=${LIBNAMEVAR} +LIBNAMEVAR= lib/${PORTNAME}/${PORTNAME}-${DISTVERSION}/lib + +OPTIONS_DEFINE= DOCS MANPAGES +OPTIONS_DEFAULT= MANPAGES +OPTIONS_SUB= yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/hxavi ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${PREFIX}/${LIBNAMEVAR} + @cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . \ + ${STAGEDIR}${PREFIX}/${LIBNAMEVAR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + +post-install-MANPAGES-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/hxavi_en_ascii.1 \ + ${STAGEDIR}${PREFIX}/share/man/man1/hxavi.1 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/man/ja_JP.UTF-8/man1 + ${INSTALL_MAN} ${WRKSRC}/man/hxavi_ja_utf8.1 \ + ${STAGEDIR}${PREFIX}/share/man/ja_JP.UTF-8/man1/hxavi.1 + +.include diff -udprN /dev/null --- /dev/null +++ b/editors/hxavi/distinfo 2026-03-09 14:46:13.281919000 +0000 @@ -0,0 +1,3 @@ +TIMESTAMP = 1773067573 +SHA256 (hxavi-1.2.1.20260309.tar.gz) = d9751231e930404372ebfd9278b04ee74c4356012600e4ef216a973b12d86f22 +SIZE (hxavi-1.2.1.20260309.tar.gz) = 907625 diff -udprN /dev/null --- /dev/null +++ b/editors/hxavi/pkg-descr 2026-03-06 10:21:10.688076000 +0000 @@ -0,0 +1,4 @@ +Hxavi is a lightweight binary (hex) editor. +Its commands are almost the same as vi(1) and vim(1), so it's easy to use. +There is no limit to the number of undo/redo operations. +You can even edit huge files that exceed the memory size. diff -udprN /dev/null --- /dev/null +++ b/editors/hxavi/pkg-plist 2026-03-09 14:50:25.463190000 +0000 @@ -0,0 +1,41 @@ +bin/hxavi +%%LIBNAMEVAR%%/cmap/cmap_less.txt +%%LIBNAMEVAR%%/logo/logo +%%LIBNAMEVAR%%/messages/en_US/help_for_command +%%LIBNAMEVAR%%/messages/en_US/help_for_insert +%%LIBNAMEVAR%%/messages/en_US/help_for_replace +%%LIBNAMEVAR%%/messages/en_US/info_in_bottom_line +%%LIBNAMEVAR%%/messages/en_US/man_less.txt +%%LIBNAMEVAR%%/messages/ja_JP/help_for_command +%%LIBNAMEVAR%%/messages/ja_JP/help_for_insert +%%LIBNAMEVAR%%/messages/ja_JP/help_for_replace +%%LIBNAMEVAR%%/messages/ja_JP/info_in_bottom_line +%%LIBNAMEVAR%%/messages/ja_JP/man_less.txt +%%LIBNAMEVAR%%/unicode/attr_000000 +%%LIBNAMEVAR%%/unicode/attr_010000 +%%LIBNAMEVAR%%/unicode/attr_020000 +%%LIBNAMEVAR%%/unicode/attr_030000 +%%LIBNAMEVAR%%/unicode/attr_0e0000 +%%LIBNAMEVAR%%/unicode/euc-jis-2004/euc2utf8_0 +%%LIBNAMEVAR%%/unicode/euc-jis-2004/euc2utf8_1 +%%LIBNAMEVAR%%/unicode/euc-jis-2004/euc2utf8_2 +%%LIBNAMEVAR%%/unicode/euc-jis-2004/utf82euc_0 +%%LIBNAMEVAR%%/unicode/euc-jis-2004/utf82euc_2 +%%LIBNAMEVAR%%/unicode/iso-2022-jp-2004/jis2utf8_081 +%%LIBNAMEVAR%%/unicode/iso-2022-jp-2004/jis2utf8_131 +%%LIBNAMEVAR%%/unicode/iso-2022-jp-2004/jis2utf8_132 +%%LIBNAMEVAR%%/unicode/iso-2022-jp-2004/utf82jis_0 +%%LIBNAMEVAR%%/unicode/iso-2022-jp-2004/utf82jis_2 +%%LIBNAMEVAR%%/unicode/shift_jis-2004/sjs2utf8_0 +%%LIBNAMEVAR%%/unicode/shift_jis-2004/sjs2utf8_1 +%%LIBNAMEVAR%%/unicode/shift_jis-2004/sjs2utf8_2 +%%LIBNAMEVAR%%/unicode/shift_jis-2004/utf82sjs_0 +%%LIBNAMEVAR%%/unicode/shift_jis-2004/utf82sjs_2 +%%MANPAGES%%share/man/ja_JP.UTF-8/man1/hxavi.1.gz +%%MANPAGES%%share/man/man1/hxavi.1.gz +%%DOCS%%%%DOCSDIR%%/SpecialCharacters +%%DOCS%%%%DOCSDIR%%/changelog +%%DOCS%%%%DOCSDIR%%/copyright +%%DOCS%%%%DOCSDIR%%/hxavi_en.txt +%%DOCS%%%%DOCSDIR%%/hxavi_ja.txt +%%DOCS%%%%DOCSDIR%%/sample_of_.hxavirc