1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/sysutils/hextools/Makefile
Olli Hauer 8e216fe7fb PR: 151607
Submitted by:	Eitan Adler <lists _at_ eitanadler.com>
Approved by:	glarkin (mentor, implicit)

reversible hexdump is a hexdump/hex2bin-toolkit that dumps to a special
readable and reversible hexadecimal byte-dump,where you can not only change
bytes, but also insert or delete bytes. It has a flush-switch, where it will
output hexbytes for each single char it reads. This is especially useful for
watching output from slow devices (e.g., serial devices like mice). The
hex2bin-utility (the reverse-hexdump) not only accepts hexbytes for input,
but also double-quoted strings with most of the escape-chars known
from C and makes good attempts at undumping even hexdumps with repetition-lines
(a "*" on its own line). It's written in ANSI C.

WWW: http://gnuwin32.sourceforge.net/packages/hextools.htm
2010-11-01 14:11:20 +00:00

34 lines
810 B
Makefile

# New ports collection makefile for: hextools
# Date created: 19 Oct 2010
# Whom: Eitan Adler
#
# $FreeBSD$
#
PORTNAME= hextools
PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= http://avl.enemy.org/utils/hextools/
MAINTAINER= ports@eitanadler.com
COMMENT= Useful tools for dealing with hex files
NO_WRKSUBDIR=yes
MAN1= bin2hex.1 hex2bin.1
PLIST_FILES= bin/hex2bin bin/bin2hex
ALL_TARGET= build
#not strictly true - it uses a self-styled license
#LICENSE= BSD
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hex2bin ${PREFIX}/bin/hex2bin
${INSTALL_PROGRAM} ${WRKSRC}/hexdump ${PREFIX}/bin/bin2hex
.if !defined(NO_INSTALL_MANPAGES)
${INSTALL_MAN} ${WRKSRC}/hex2bin.1 ${MANPREFIX}/man/man1/hex2bin.1
${INSTALL_MAN} ${WRKSRC}/hexdump.1 ${MANPREFIX}/man/man1/bin2hex.1
.endif
.include <bsd.port.mk>