diff options
-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 |