blob: 5fdd91d6bf452cf5ddbbb6d2b2abaf2a76b21419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Created by: Gerald Pfeifer <gerald@FreeBSD.org>
# $FreeBSD$
PORTNAME= gcc
PORTVERSION= ${GCC_DEFAULT}
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= # not applicable
DISTFILES= # not applicable
MAINTAINER= gerald@FreeBSD.org
COMMENT= Meta-port for the default version of the GNU Compiler Collection
# Once GCC 4.9 and 4.8 aren't options any longer, we can simply use
# GCC_DEFAULT again below (the expression rewrites 4.9 to 49).
RUN_DEPENDS= gcc${GCC_DEFAULT:S/.//}:lang/gcc${GCC_DEFAULT:S/.//}
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/g++ bin/gcc bin/gfortran
do-install:
.for c in gfortran g++ gcc
${LN} -s ${c}${GCC_DEFAULT} ${STAGEDIR}${PREFIX}/bin/${c}
.endfor
.include <bsd.port.mk>
|