summaryrefslogtreecommitdiffstats
path: root/devel/avr-gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avr-gcc/Makefile')
-rw-r--r--devel/avr-gcc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/avr-gcc/Makefile b/devel/avr-gcc/Makefile
index 855ddeb..afbcf61 100644
--- a/devel/avr-gcc/Makefile
+++ b/devel/avr-gcc/Makefile
@@ -3,9 +3,9 @@
PORTNAME= gcc
PORTVERSION= 5.4.0
CATEGORIES= devel
-MASTER_SITES= GCC/releases/gcc-${DISTVERSION}
+MASTER_SITES= GCC/releases/gcc-${DIST_VERSION}
PKGNAMEPREFIX= avr-
-# DISTNAME= gcc-${DISTVERSION}
+DISTNAME= gcc-${DIST_VERSION}
MAINTAINER= joerg@FreeBSD.org
COMMENT= FSF GCC for Atmel AVR 8-bit RISC cross-development
@@ -21,11 +21,11 @@ LIB_DEPENDS= libmpfr.so:math/mpfr \
RUN_DEPENDS= avr-as:devel/avr-binutils \
avr-ld:devel/avr-binutils
-# 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
# 4.Y.2.s20130808 results in values of 4.Y-20130808, 4.Y.2, and 4Y
# for these three.
-DISTVERSION= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.s([0-9]+)/\1-\2/}
+DIST_VERSION= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.s([0-9]+)/\1-\2/}
GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/}
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
OpenPOWER on IntegriCloud