pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/appdata-tools Fix variable substitution syntax i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98a97a5f8907
branches:  trunk
changeset: 651765:98a97a5f8907
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon May 11 14:24:51 2015 +0000

description:
Fix variable substitution syntax in GITHUB_TAG. Fix WRKDIR.

diffstat:

 devel/appdata-tools/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a1aca4548001 -r 98a97a5f8907 devel/appdata-tools/Makefile
--- a/devel/appdata-tools/Makefile      Mon May 11 14:21:29 2015 +0000
+++ b/devel/appdata-tools/Makefile      Mon May 11 14:24:51 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2015/05/09 05:47:44 mef Exp $
+# $NetBSD: Makefile,v 1.7 2015/05/11 14:24:51 joerg Exp $
 
 DISTNAME=      appdata_tools-0.1.7
 PKGREVISION=   3
@@ -6,7 +6,7 @@
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hughsie/}
 GITHUB_PROJECT=        appdata-tools
 # -0.1.7 into _0_1_7
-GITHUB_TAG=    ${DISTNAME:S/./_/gS/-/_/}
+GITHUB_TAG=    ${DISTNAME:S/./_/g:S/-/_/g}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/hughsie/appdata-tools/
@@ -16,7 +16,7 @@
 BUILD_DEPENDS+=        gettext-m4-[0-9]*:../../devel/gettext-m4
 DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
 
-WRKSRC=                ${WRKDIR}/appdata-tools-${DISTNAME}
+WRKSRC=                ${WRKDIR}/appdata-tools-${GITHUB_TAG}
 USE_TOOLS+=    autoconf automake autoreconf gmake intltool intltoolize
 USE_TOOLS+=    pkg-config xgettext
 GNU_CONFIGURE= yes



Home | Main Index | Thread Index | Old Index