aboutsummaryrefslogtreecommitdiff
path: root/devel/android-tools-simpleperf
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-03-21 18:46:32 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-03-21 18:46:32 +0000
commit5e0b64087b95fee7d26244e6479dae570abfbb46 (patch)
treeadfca531e4546ecc55b2731a896e78be04a415af /devel/android-tools-simpleperf
parentbbd2b21a69f3e8a928494870fcdc241e00615da4 (diff)
downloadports-5e0b64087b95fee7d26244e6479dae570abfbb46.tar.gz
ports-5e0b64087b95fee7d26244e6479dae570abfbb46.zip
devel/android-tools-*: macrofy GH_TAGNAME for extra distfiles
In order to avoid typo-casualties like android-tools-adb-devel.
Notes
Notes: svn path=/head/; revision=411611
Diffstat (limited to 'devel/android-tools-simpleperf')
-rw-r--r--devel/android-tools-simpleperf/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/android-tools-simpleperf/Makefile b/devel/android-tools-simpleperf/Makefile
index c08a57cdc1ac..6859243e67f9 100644
--- a/devel/android-tools-simpleperf/Makefile
+++ b/devel/android-tools-simpleperf/Makefile
@@ -19,9 +19,10 @@ USE_GITHUB= yes
GH_ACCOUNT= android:bionic,core jbeich:DEFAULT,lzma
GH_PROJECT= platform_bionic:bionic platform_system_core:core \
platform_system_extras platform_external_lzma:lzma
-GH_TAGNAME= ${DISTVERSIONFULL:C/-[0-9]*-g.*$//}-249-g5f1de52:bionic \
- ${DISTVERSIONFULL:C/-[0-9]*-g.*$//}-554-g371e7ea170d7:core \
- ${DISTVERSIONFULL:C/-[0-9]*-g.*$//}-6-ge43f249:lzma
+GH_MYTAG= ${DISTVERSIONPREFIX}${DISTVERSION:C/-[0-9]*$//}
+GH_TAGNAME= ${GH_MYTAG}-249-g5f1de52:bionic \
+ ${GH_MYTAG}-554-g371e7ea170d7:core \
+ ${GH_MYTAG}-6-ge43f249:lzma
USES= compiler:c++11-lib uidfix
BUILD_WRKSRC= ${WRKSRC}/simpleperf