diff options
author | tobik <tobik@FreeBSD.org> | 2018-03-11 21:48:11 +0800 |
---|---|---|
committer | tobik <tobik@FreeBSD.org> | 2018-03-11 21:48:11 +0800 |
commit | c6bcad0bccaed035e2549fb75032022bf18a96c4 (patch) | |
tree | 25884fbd044cb053b48d7d58cfc6335eaaa922d4 | |
parent | 0fcc2d1cc85f889fea4141d2ff9bb3c36847ae1d (diff) | |
download | freebsd-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>
-rw-r--r-- | sysutils/hextools/Makefile | 11 |
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 |