1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/sysutils/hextools/Makefile
2018-03-11 19:46:36 +00:00

31 lines
886 B
Makefile

# $FreeBSD$
PORTNAME= hextools
PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= http://avl.enemy.org/utils/hextools/
MAINTAINER= ports@FreeBSD.org
COMMENT= Useful tools for dealing with hex files
LICENSE= HEXTOOLS
LICENSE_NAME= License of hextools
LICENSE_FILE= ${WRKDIR}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
NO_WRKSUBDIR= yes
PLIST_FILES= bin/hex2bin bin/bin2hex man/man1/bin2hex.1.gz man/man1/hex2bin.1.gz
ALL_TARGET= build
post-extract:
@${SED} -n '5,11p' ${WRKSRC}/hex2bin.c > ${WRKDIR}/LICENSE
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hex2bin ${STAGEDIR}${PREFIX}/bin/hex2bin
${INSTALL_PROGRAM} ${WRKSRC}/hexdump ${STAGEDIR}${PREFIX}/bin/bin2hex
${INSTALL_MAN} ${WRKSRC}/hex2bin.1 ${STAGEDIR}${MANPREFIX}/man/man1/hex2bin.1
${INSTALL_MAN} ${WRKSRC}/hexdump.1 ${STAGEDIR}${MANPREFIX}/man/man1/bin2hex.1
.include <bsd.port.mk>