blob: 82c153f164f7543d91bfe87f2a32101850e630cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $FreeBSD$
PORTNAME= hextools
PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= http://avl.enemy.org/utils/hextools/
MAINTAINER= eadler@FreeBSD.org
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>
|