aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc7-devel
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-04-11 15:21:23 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-04-11 15:21:23 +0000
commit6d588589c24082c8afc98e114cb7a21a81f76082 (patch)
tree5a5d971bd61fde66fbaa1b8da9469708d182ffc8 /lang/gcc7-devel
parent1c83edd6a5fc3a7b5f4cdb8547d320394f584039 (diff)
downloadports-6d588589c24082c8afc98e114cb7a21a81f76082.tar.gz
ports-6d588589c24082c8afc98e114cb7a21a81f76082.zip
Notes
Diffstat (limited to 'lang/gcc7-devel')
-rw-r--r--lang/gcc7-devel/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/gcc7-devel/Makefile b/lang/gcc7-devel/Makefile
index ba9d34ff8d1b..ff4c6a7b3c96 100644
--- a/lang/gcc7-devel/Makefile
+++ b/lang/gcc7-devel/Makefile
@@ -4,7 +4,8 @@
PORTNAME= gcc
PORTVERSION= 7.0.1.s20170409
CATEGORIES= lang
-MASTER_SITES= GCC/snapshots/${DISTVERSION}
+MASTER_SITES= GCC/snapshots/${DIST_VERSION}
+DISTNAME= gcc-${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
MAINTAINER= gerald@FreeBSD.org
@@ -26,11 +27,11 @@ BUILD_DEPENDS+= runtest:misc/dejagnu
CPE_VENDOR= gnu
CPE_VERSION= ${GCC_VERSION}
-# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names
+# DIST_VERSION relates to downloads, GCC_VERSION and SUFFIX to names
# of executables and directories once installed. A PORTVERSION of
# Y.2.1.s20140817 results in values of Y-20140817, Y.2.1, and Y
# for these three.
-DISTVERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/}
+DIST_VERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/}
PORTREVISION= 1
GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/}
SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/}