From c6bcad0bccaed035e2549fb75032022bf18a96c4 Mon Sep 17 00:00:00 2001 From: tobik Date: Sun, 11 Mar 2018 13:48:11 +0000 Subject: sysutils/hextools: Add license information PR: 222569 Submitted by: Yasuhiro KIMURA --- sysutils/hextools/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'sysutils') 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 -- cgit