Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2018 13:48:11 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464171 - head/sysutils/hextools
Message-ID:  <201803111348.w2BDmBi2068532@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803111348.w2BDmBi2068532>