diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2017-04-11 15:21:23 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2017-04-11 15:21:23 +0000 |
commit | 6d588589c24082c8afc98e114cb7a21a81f76082 (patch) | |
tree | 5a5d971bd61fde66fbaa1b8da9469708d182ffc8 /devel/avr-gcc | |
parent | 1c83edd6a5fc3a7b5f4cdb8547d320394f584039 (diff) |
Notes
Diffstat (limited to 'devel/avr-gcc')
-rw-r--r-- | devel/avr-gcc/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/avr-gcc/Makefile b/devel/avr-gcc/Makefile index 855ddebb1fc3..afbcf61b995c 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/} |