aboutsummaryrefslogtreecommitdiff
path: root/sysutils/hextools
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-03-11 13:48:11 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-03-11 13:48:11 +0000
commitda95d73f61f534e011f0fd274c23e92404d8202a (patch)
tree25884fbd044cb053b48d7d58cfc6335eaaa922d4 /sysutils/hextools
parent4c1340c8d41a99eb83570dc21d7be05766fed575 (diff)
downloadports-da95d73f61f534e011f0fd274c23e92404d8202a.tar.gz
ports-da95d73f61f534e011f0fd274c23e92404d8202a.zip
Notes
Diffstat (limited to 'sysutils/hextools')
-rw-r--r--sysutils/hextools/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/sysutils/hextools/Makefile b/sysutils/hextools/Makefile
index 1d420f8c7736..1b751b9ecba1 100644
--- a/sysutils/hextools/Makefile
+++ b/sysutils/hextools/Makefile
@@ -8,13 +8,18 @@ MASTER_SITES= http://avl.enemy.org/utils/hextools/
MAINTAINER= ports@FreeBSD.org
COMMENT= Useful tools for dealing with hex files
-NO_WRKSUBDIR=yes
+LICENSE= HEXTOOLS
+LICENSE_NAME= License of hextools
+LICENSE_FILE= ${WRKDIR}/LICENSE
+LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
+
+NO_WRKSUBDIR= yes
PLIST_FILES= bin/hex2bin bin/bin2hex man/man1/bin2hex.1.gz man/man1/hex2bin.1.gz
ALL_TARGET= build
-#not strictly true - it uses a self-styled license
-#LICENSE= BSD
+post-extract:
+ @${SED} -n '5,11p' ${WRKSRC}/hex2bin.c > ${WRKDIR}/LICENSE
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hex2bin ${STAGEDIR}${PREFIX}/bin/hex2bin