pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/arm-trusted-firmware-fiptool Fix PKGNAME (con...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca902645a10d
branches:  trunk
changeset: 317844:ca902645a10d
user:      martin <martin%pkgsrc.org@localhost>
date:      Wed Jan 16 14:51:35 2019 +0000

description:
Fix PKGNAME (confusion with DISTNAME). Pointed out by Jared.

diffstat:

 sysutils/arm-trusted-firmware-fiptool/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 80c88922694b -r ca902645a10d sysutils/arm-trusted-firmware-fiptool/Makefile
--- a/sysutils/arm-trusted-firmware-fiptool/Makefile    Wed Jan 16 14:50:47 2019 +0000
+++ b/sysutils/arm-trusted-firmware-fiptool/Makefile    Wed Jan 16 14:51:35 2019 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2019/01/16 14:34:04 martin Exp $
+# $NetBSD: Makefile,v 1.2 2019/01/16 14:51:35 martin Exp $
 
-VERSION=       v2.0
+VERSION=       2.0
 GITHUB_PROJECT=        arm-trusted-firmware
 # GITHUB_TAG=  ?
 
 PKGNAME=       ${GITHUB_PROJECT}-fiptool-${VERSION}
-DISTNAME=      ${PKGNAME}
+DISTNAME=      ${PKGNAME:S/-${VERSION}$/-v${VERSION}/}
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ARM-software/}
 EXTRACT_SUFX=  .zip
@@ -16,7 +16,7 @@
 LICENSE=       modified-bsd
 
 USE_TOOLS+=    gmake
-WRKSRC=                ${WRKDIR}/${DISTNAME:S:-fiptool-v:-:}/tools/fiptool
+WRKSRC=                ${WRKDIR}/${PKGNAME:S:-fiptool::}/tools/fiptool
        
 do-install:
        ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin



Home | Main Index | Thread Index | Old Index