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/3f6d0bec4ca2
branches:  trunk
changeset: 390101:3f6d0bec4ca2
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 ac76cfcbdb73 -r 3f6d0bec4ca2 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