Changeset View
Changeset View
Standalone View
Standalone View
head/lang/gcc49/Makefile
Show All 19 Lines | |||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils | RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils | ||||
.if defined(MAINTAINER_MODE) | .if defined(MAINTAINER_MODE) | ||||
BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu | BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu | ||||
.endif | .endif | ||||
CPE_VENDOR= gnu | CPE_VENDOR= gnu | ||||
CPE_VERSION= ${GCC_VERSION} | CPE_VERSION= ${GCC_VERSION} | ||||
UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} | |||||
# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names | # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names | ||||
# of executables and directories once installed. A PORTVERSION of | # 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 | # 4.Y.2.s20130808 results in values of 4.Y-20130808, 4.Y.2, and 4Y | ||||
# for these three. | # for these three. | ||||
DISTVERSION= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.s([0-9]+)/\1-\2/} | DISTVERSION= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.s([0-9]+)/\1-\2/} | ||||
GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} | GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} | ||||
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} | SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} | ||||
▲ Show 20 Lines • Show All 133 Lines • Show Last 20 Lines |