Changeset View
Changeset View
Standalone View
Standalone View
lang/gcc5-devel/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 | ||||
# Y.2.1.s20140817 results in values of Y-20140817, Y.2.1, and Y | # Y.2.1.s20140817 results in values of Y-20140817, Y.2.1, and Y | ||||
# for these three. | # for these three. | ||||
DISTVERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/} | DISTVERSION= ${PORTVERSION:C/([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]+).*/\1/} | SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} | ||||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |