aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/hextools
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-03-11 21:48:11 +0800
committertobik <tobik@FreeBSD.org>2018-03-11 21:48:11 +0800
commitc6bcad0bccaed035e2549fb75032022bf18a96c4 (patch)
tree25884fbd044cb053b48d7d58cfc6335eaaa922d4 /sysutils/hextools
parent0fcc2d1cc85f889fea4141d2ff9bb3c36847ae1d (diff)
downloadfreebsd-ports-gnome-c6bcad0bccaed035e2549fb75032022bf18a96c4.tar.gz
freebsd-ports-gnome-c6bcad0bccaed035e2549fb75032022bf18a96c4.tar.zst
freebsd-ports-gnome-c6bcad0bccaed035e2549fb75032022bf18a96c4.zip
sysutils/hextools: Add license information
PR: 222569 Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
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