From bbb0daa7974693d741eebe5cbecd06a4ed53ff7f Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sat, 15 Jun 2019 09:01:56 +0000 Subject: [PATCH] - Fix LICENSE - Add LICENSE_FILE - Pet portlint - Switch to options helpers - Update WWW Approved by: portmgr blanket --- sysutils/cmospwd/Makefile | 9 ++++++--- sysutils/cmospwd/pkg-descr | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/sysutils/cmospwd/Makefile b/sysutils/cmospwd/Makefile index 464a2bcbd765..35832fd0353a 100644 --- a/sysutils/cmospwd/Makefile +++ b/sysutils/cmospwd/Makefile @@ -10,15 +10,16 @@ MASTER_SITES= http://www.cgsecurity.org/ \ MAINTAINER= ehaupt@FreeBSD.org COMMENT= BIOS password recovery tool -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +ONLY_FOR_ARCHS= amd64 i386 USES= tar:bzip2 PLIST_FILES= bin/cmospwd PORTDOCS= cmospwd.txt -ONLY_FOR_ARCHS= i386 amd64 - OPTIONS_DEFINE= DOCS post-patch-DOCS-on: @@ -30,6 +31,8 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} diff --git a/sysutils/cmospwd/pkg-descr b/sysutils/cmospwd/pkg-descr index af35f1a3178b..781fe513e36c 100644 --- a/sysutils/cmospwd/pkg-descr +++ b/sysutils/cmospwd/pkg-descr @@ -16,4 +16,4 @@ following BIOS versions: * Toshiba * Zenith AMI -WWW: http://www.cgsecurity.org/index.html?cmospwd.html +WWW: https://www.cgsecurity.org/wiki/CmosPwd