svn commit: r464171 - head/sysutils/hextools
Tobias Kortkamp
tobik at FreeBSD.org
Sun Mar 11 13:48:12 UTC 2018
Author: tobik
Date: Sun Mar 11 13:48:11 2018
New Revision: 464171
URL: https://svnweb.freebsd.org/changeset/ports/464171
Log:
sysutils/hextools: Add license information
PR: 222569
Submitted by: Yasuhiro KIMURA <yasu at utahime.org>
Modified:
head/sysutils/hextools/Makefile
Modified: head/sysutils/hextools/Makefile
==============================================================================
--- head/sysutils/hextools/Makefile Sun Mar 11 13:35:14 2018 (r464170)
+++ head/sysutils/hextools/Makefile Sun Mar 11 13:48:11 2018 (r464171)
@@ -8,13 +8,18 @@ MASTER_SITES= http://avl.enemy.org/utils/hextools/
MAINTAINER= ports at 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
More information about the svn-ports-all
mailing list