Skip to content
Snippets Groups Projects
Commit de841b40 authored by Guido Falsi's avatar Guido Falsi
Browse files

sysutils/xxd: New port

Xxd creates a hex dump of a given file or standard input.
It can also convert a hex dump back to its original binary form.

This is the standalone version of the xxd tool provided by vim.

Submitted by:	Gianmarco Giovannelli <gmarco@giovannelli.it>
parent 335fe65d
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,10 @@ CONFLICTS_INSTALL= ${FLAVORS:N${FLAVOR}:S/^/vim-/}
${f}_PKGNAMESUFFIX= -${f}
.endfor
.for f in ${FLAVORS:Ntiny}
${f}_CONFLICTS_INSTALL= xxd
.endfor
# GUI flavors
.if ${FLAVOR:U} == console
GUI= no
......
......@@ -1630,6 +1630,7 @@
SUBDIR += xpipe
SUBDIR += xstow
SUBDIR += xsysstats
SUBDIR += xxd
SUBDIR += yadf
SUBDIR += yadm
SUBDIR += yank
......
PORTNAME= xxd
DISTVERSIONPREFIX= v
DISTVERSION= 9.0.1366
CATEGORIES= sysutils
MAINTAINER= gmarco@giovannelli.it
COMMENT= Hexdump and reverse hexdump utility
WWW= https://github.com/mew-cx/xxd
CONFLICTS_INSTALL= vim-[0-9]* vim-gtk2 vim-gtk3 vim-motif vim-x11
ALL_TARGET= ${PORTNAME}
PORTSCOUT= ignore:1
EXTRACT_AFTER_ARGS= --include='*/src/xxd*'
WRKSRC_SUBDIR= src/xxd
PLIST_FILES= bin/xxd
USE_GITHUB= yes
GH_ACCOUNT= vim
GH_PROJECT= vim
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xxd ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
TIMESTAMP = 1680090877
SHA256 (vim-vim-v9.0.1366_GH0.tar.gz) = a9e52c123ab0cc7f96d320c3f1e0fc7d65fab8a081b4887651f9f1a75ca001c1
SIZE (vim-vim-v9.0.1366_GH0.tar.gz) = 16974070
Xxd creates a hex dump of a given file or standard input.
It can also convert a hex dump back to its original binary form.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment