diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2013-06-21 15:17:40 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2013-06-21 15:17:40 +0000 |
commit | de32315da8c92dc1325972b453bf18dde797616c (patch) | |
tree | e917b8cee3dee31dca519433e03c2021720f3502 /lang/clang33/Makefile | |
parent | d98042d056d7eeba9e7aeec0aeee556e39f94e8d (diff) | |
download | ports-de32315da8c92dc1325972b453bf18dde797616c.tar.gz ports-de32315da8c92dc1325972b453bf18dde797616c.zip |
Notes
Diffstat (limited to 'lang/clang33/Makefile')
-rw-r--r-- | lang/clang33/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/lang/clang33/Makefile b/lang/clang33/Makefile index 84569f32220b..b99ff6485278 100644 --- a/lang/clang33/Makefile +++ b/lang/clang33/Makefile @@ -1,21 +1,20 @@ # $FreeBSD$ PORTNAME= clang -DISTVERSION= 3.3rc3 -PORTREVISION= 2 +DISTVERSION= 3.3 CATEGORIES= lang devel -MASTER_SITES= http://llvm.org/pre-releases/3.3/rc3/ -DISTNAME= cfe-source-${DISTVERSION} -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ +MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ +DISTNAME= ${CLANG_NAME} +DISTFILES= ${CLANG_SOURCE} \ ${LLVM_SOURCE} MAINTAINER= brooks@FreeBSD.org COMMENT= C, Objective-C, and C++ compiler -CLANG_NAME= cfe.src -CLANG_SOURCE= ${DISTNAME}${EXTRACT_SUFX} -LLVM_NAME= llvm.src -LLVM_SOURCE= llvm-source-${DISTVERSION}${EXTRACT_SUFX} +CLANG_NAME= cfe-${PORTVERSION}.src +CLANG_SOURCE= ${CLANG_NAME}${EXTRACT_SUFX} +LLVM_NAME= llvm-${PORTVERSION}.src +LLVM_SOURCE= ${LLVM_NAME}${EXTRACT_SUFX} WRKSRC= ${WRKDIR}/${LLVM_NAME} BUILD_WRKSRC= ${WRKSRC}/tools/clang @@ -24,7 +23,7 @@ INSTALL_WRKSRC= ${WRKSRC}/tools/clang BUILD_DEPENDS+= llc${LLVM_SUFFIX}:${PORTSDIR}/devel/llvm${LLVM_SUFFIX} RUN_DEPENDS+= llc${LLVM_SUFFIX}:${PORTSDIR}/devel/llvm${LLVM_SUFFIX} -LLVM_SUFFIX= 33 +LLVM_SUFFIX= ${PORTVERSION:S/.//g} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} |