head	1.24;
access;
symbols
	RELEASE_8_3_0:1.17
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	old_RELEASE_8_1_0:1.7
	old_RELEASE_7_3_0:1.4;
locks; strict;
comment	@# @;


1.24
date	2013.03.13.22.18.44;	author svnexp;	state Exp;
branches;
next	1.23;

1.23
date	2013.03.11.22.48.40;	author svnexp;	state Exp;
branches;
next	1.22;

1.22
date	2013.01.10.18.01.27;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2012.11.17.05.58.48;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2012.08.23.21.02.09;	author jkim;	state Exp;
branches;
next	1.19;

1.19
date	2012.07.04.03.28.25;	author fluffy;	state Exp;
branches;
next	1.18;

1.18
date	2012.06.26.10.10.40;	author fluffy;	state Exp;
branches;
next	1.17;

1.17
date	2012.01.20.21.29.57;	author brooks;	state Exp;
branches;
next	1.16;

1.16
date	2011.06.16.15.07.40;	author brooks;	state Exp;
branches;
next	1.15;

1.15
date	2011.04.29.15.04.29;	author brooks;	state Exp;
branches;
next	1.14;

1.14
date	2010.10.14.19.29.22;	author brooks;	state Exp;
branches;
next	1.13;

1.13
date	2010.10.14.19.15.37;	author brooks;	state Exp;
branches;
next	1.12;

1.12
date	2010.10.10.13.05.16;	author brooks;	state Exp;
branches;
next	1.11;

1.11
date	2010.10.10.12.54.12;	author brooks;	state Exp;
branches;
next	1.10;

1.10
date	2010.10.08.14.00.31;	author brooks;	state Exp;
branches;
next	1.9;

1.9
date	2010.08.18.18.59.56;	author mandree;	state Exp;
branches;
next	1.8;

1.8
date	2010.08.18.00.59.18;	author mandree;	state Exp;
branches;
next	1.7;

1.7
date	2010.05.04.20.45.59;	author brooks;	state Exp;
branches;
next	1.6;

1.6
date	2010.04.30.16.33.56;	author brooks;	state Exp;
branches;
next	1.5;

1.5
date	2010.04.28.21.05.03;	author brooks;	state Exp;
branches;
next	1.4;

1.4
date	2010.02.16.18.27.15;	author brooks;	state Exp;
branches;
next	1.3;

1.3
date	2009.11.04.22.11.58;	author brooks;	state Exp;
branches;
next	1.2;

1.2
date	2009.10.31.11.16.51;	author erwin;	state Exp;
branches;
next	1.1;

1.1
date	2009.10.24.23.30.19;	author brooks;	state Exp;
branches;
next	;


desc
@@


1.24
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314092
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	clang
# Date created:		24 Oct 2009
# Whom:			Brooks Davis
#
# $FreeBSD: head/lang/clang/Makefile 314092 2013-03-13 15:40:34Z brooks $
#

PORTNAME=	clang
PORTVERSION=	3.2
PORTREVISION=	1
CATEGORIES=	lang devel
MASTER_SITES=	http://llvm.org/releases/${PORTVERSION}/
DISTNAME=	${PORTNAME}-${PORTVERSION}.src
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		${LLVM_SOURCE}
EXTRACT_ONLY=	${LLVM_SOURCE}

MAINTAINER=	brooks@@FreeBSD.org
COMMENT=	C, Objective-C, and C++ compiler

CONFLICTS=	clang-devel-[23]* clang31-*

CLANG_NAME=	clang-${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
INSTALL_WRKSRC=	${WRKSRC}/tools/clang

BUILD_DEPENDS+=	llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm
RUN_DEPENDS+=	llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm
.if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE)
BUILD_DEPENDS+=	runtest:${PORTSDIR}/misc/dejagnu
.endif
.if defined(MAINTAINER_MODE)
BUILD_DEPENDS+=	f2c:${PORTSDIR}/lang/f2c
.endif

GNU_CONFIGURE=	yes
USE_GCC=	4.2+
USE_GMAKE=	yes
USE_LDCONFIG=	yes
USE_PERL5=	yes
USE_PYTHON=	yes
MAKE_JOBS_SAFE=	yes

MAKE_ARGS=	CLANG_TBLGEN=${WRKSRC}/${RELTYPE}/bin/clang-tblgen \
		LLVMIncDir=${LOCALBASE}/include \
		LLVMToolDir=${LOCALBASE}/bin \
		LLVMLibDir=${LOCALBASE}/lib

OPTIONS_DEFINE=	ASSERTS DOCS

ASSERTS_DESC=	Enable assertions (thread unsafe)

MAN1=		clang.1

PLIST_SUB+=		PORTVERSION=${PORTVERSION}

.include <bsd.port.options.mk>

.if defined(MAINTAINER_MODE)
CONFIGURE_ARGS+=	--with-f2c=${LOCALBASE}
.else
CONFIGURE_ARGS+=	--enable-optimized
.endif

.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+=	--enable-docs
.else
CONFIGURE_ARGS+=	--disable-docs
.endif

.if ${PORT_OPTIONS:MASSERTS}
CONFIGURE_ARGS+=	--enable-assertions
RELTYPE=		Release+Asserts
.else
CONFIGURE_ARGS+=	--disable-assertions
RELTYPE=		Release
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		Does not compile on sparc64
.endif

post-extract:
	cd ${WRKSRC}/tools && \
	    tar xf ${DISTDIR}/${CLANG_SOURCE} && \
	    ${MV} ${CLANG_NAME} clang

post-patch:
	${REINPLACE_CMD} -e 's|${PORTVERSION}svn|${PORTVERSION}|g' \
	    ${WRKSRC}/configure
	${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \
	    ${WRKSRC}/Makefile.config.in
	${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \
	    ${WRKSRC}/Makefile.config.in
	${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \
	    -e 's|%%DATADIR%%|${DATADIR}|' \
	    ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
	    ${WRKSRC}/tools/clang/tools/scan-build/c++-analyzer \
	    ${WRKSRC}/tools/clang/tools/scan-build/scan-build
	${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
	    ${WRKSRC}/tools/clang/tools/scan-view/scan-view

pre-build:
	${LN} -sf ${LOCALBASE}/include/llvm/Intrinsics.gen ${WRKSRC}/include/llvm/
	${MKDIR} ${WRKSRC}/${RELTYPE}/lib
	${LN} -sf ${LOCALBASE}/lib/libLLVM-${PORTVERSION}.so ${WRKSRC}/${RELTYPE}/lib/
	${LN} -sf ${LOCALBASE}/lib/libLLVMTableGen.a ${WRKSRC}/${RELTYPE}/lib/
	${LN} -sf ${LOCALBASE}/lib/libLLVMSupport.a ${WRKSRC}/${RELTYPE}/lib/
	cd ${WRKSRC}/utils/unittest && ${GMAKE}

post-build:
	@@cd ${WRKSRC}/tools/clang/docs/tools && ${GMAKE} clang.1

post-install:
	@@${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
		${WRKSRC}/tools/clang/tools/scan-build/c++-analyzer \
		${WRKSRC}/tools/clang/tools/scan-build/scan-build \
		${WRKSRC}/tools/clang/tools/scan-view/scan-view \
	    ${PREFIX}/bin
	@@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
	@@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}/Resources
	@@${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/*.py \
	    ${PYTHONPREFIX_SITELIBDIR}
	@@${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/Resources/* \
	    ${PYTHONPREFIX_SITELIBDIR}/Resources
	@@${MKDIR} ${DATADIR}
	@@${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/scanview.css ${DATADIR}
	@@${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/sorttable.js ${DATADIR}
	@@${INSTALL_MAN} ${WRKSRC}/tools/clang/docs/tools/clang.1 \
	    ${MANPREFIX}/man/man1/

TEST_CMD=	'(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)'
regression-test: ${BUILD_COOKIE}
	if [ `${ID} -u` = 0 ]; then \
		${CHOWN} -R nobody ${WRKSRC}/test; \
		su -m nobody -c ${TEST_CMD}; \
	else \
		${SH} -c ${TEST_CMD}; \
	fi

PLIST_FILE_LIST=	bin/ccc-analyzer \
			bin/c++-analyzer \
			bin/clang \
			bin/clang++ \
			bin/clang-check \
			bin/clang-tblgen \
			bin/c-index-test \
			bin/scan-build \
			bin/scan-view \
			lib/libclang*
PLIST_DIR_LIST=		include/clang \
			include/clang-c \
			lib/clang
PLIST_PYFILE_LIST=	ScanView.py \
			Reporter.py \
			Resources/* \
			startfile.py
PLIST_PYDIR_LIST=	Resources

build-plist:
	${RM} -f ${PLIST}
	cd ${PREFIX} && \
	    (ls ${PLIST_FILE_LIST}; ${FIND} ${PLIST_DIR_LIST} -type f) | \
	     ${SED} -e 's|${PORTVERSION}|%%PORTVERSION%%|' | ${SORT} >> ${PLIST}
	${FIND} ${DATADIR} ${DOCSDIR} -type f | \
	    ${SED} -e 's|${DATADIR}|%%DATADIR%%|' \
	     -e 's|${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | ${SORT} >> ${PLIST}
	cd ${PYTHONPREFIX_SITELIBDIR} && \
	    ls ${PLIST_PYFILE_LIST} | ${SORT} | \
	    ${SED} -e 's|^|%%PYTHON_SITELIBDIR%%/|' >> ${PLIST}
	cd ${PREFIX} && \
	    ${FIND} ${PLIST_DIR_LIST} -type d | \
	    ${SED} -e 's|${PORTVERSION}|%%PORTVERSION%%|' | \
	    ${SORT} -r | ${SED} -e 's|^|@@dirrm |' >> ${PLIST}
	cd ${PYTHONPREFIX_SITELIBDIR} && \
	    ${FIND} ${PLIST_PYDIR_LIST} -type d | ${SORT} -r | \
	    ${SED} -e 's|^|@@dirrm %%PYTHON_SITELIBDIR%%/|' >> ${PLIST}
	${FIND} ${DATADIR} ${DOCSDIR} -type d | ${SORT} -r | \
	    ${SED} -e 's|${DATADIR}|@@dirrm %%DATADIR%%|' \
	     -e 's|${DOCSDIR}|%%PORTDOCS%%@@dirrm %%DOCSDIR%%|' >> ${PLIST}

.include <bsd.port.post.mk>
@


1.23
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313927
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/clang/Makefile 313927 2013-03-11 18:32:06Z brooks $
d10 1
d152 1
@


1.22
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310189
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310189 | brooks | 2013-01-10 16:34:44 +0000 (Thu, 10 Jan 2013) | 2 lines
## SVN ##
## SVN ## Upgrade llvm and clang to the 3.2 release.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/clang/Makefile 310189 2013-01-10 16:34:44Z brooks $
d18 1
a18 1
COMMENT=	C, Objective-C, and (alpha-quality) C++ compiler
@


1.21
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/clang/Makefile 303039 2012-08-23 21:02:09Z jkim $
d9 1
a9 2
PORTVERSION=	3.1
PORTREVISION=	2
d20 1
a20 1
CONFLICTS=	clang-devel-[23]*
d95 2
a116 1
.if empty(PORT_OPTIONS:MDOCS)
a118 1
.endif
a134 1
.if empty(PORT_OPTIONS:MDOCS)
a136 3
.else
	@@${RMDIR} ${DOCSDIR}/html/img
.endif
@


1.20
log
@SVN rev 303039 on 2012-08-23 21:02:09Z by jkim

Pull in r159895 from upstream to match Clang in the FreeBSD 9.1 base system:

http://svnweb.freebsd.org/base?view=revision&revision=238554

Approved by:	brooks (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.19
log
@- Convert to OPTIONSng
- Add option to build clang with assertions (off by default to match llvm)

Approved by:	brooks
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.18
log
@- Update LLVM/Clang suite to 3.1 release

PR:		168921
Submitted by:	myself
Approved by:	brooks (via pav@@, with timeout)
@
text
@d10 1
d49 1
a49 1
MAKE_ARGS=	CLANG_TBLGEN=${WRKSRC}/Release+Asserts/bin/clang-tblgen \
d54 10
d70 3
a72 1
.if defined(NOPORTDOCS)
d76 7
a82 3
PLIST_SUB+=		PORTVERSION=${PORTVERSION}

MAN1=		clang.1
d110 4
a113 4
	${MKDIR} ${WRKSRC}/Release+Asserts/lib
	${LN} -sf ${LOCALBASE}/lib/libLLVM-${PORTVERSION}.so ${WRKSRC}/Release+Asserts/lib/
	${LN} -sf ${LOCALBASE}/lib/libLLVMTableGen.a ${WRKSRC}/Release+Asserts/lib/
	${LN} -sf ${LOCALBASE}/lib/libLLVMSupport.a ${WRKSRC}/Release+Asserts/lib/
d116 1
a116 1
.if defined(NOPORTDOCS)
d136 1
a136 1
.if defined(NOPORTDOCS)
@


1.17
log
@Upgrade LLVM and Clang to 3.0.

Enable shared libraries in LLVM and build with REQUIRES_RTTI=1 as
requires by some consumers.

PR:		ports/164324, ports/164325
@
text
@d9 1
a9 1
PORTVERSION=	3.0
d12 1
d22 1
a22 1
CLANG_NAME=	clang-${PORTVERSION}
d24 1
a24 1
LLVM_NAME=	llvm-${PORTVERSION}
d27 1
a27 1
WRKSRC=		${WRKDIR}/${LLVM_NAME}.src
d48 1
a48 1
MAKE_ARGS=	CLANG_TBLGEN=${WRKSRC}/Release/bin/clang-tblgen \
a52 2
CONFIGURE_ARGS+=	--enable-shared

d76 1
a76 1
	    ${MV} ${CLANG_NAME}.src clang
d92 6
a97 11
	${LN} -sf ${LOCALBASE}/include/llvm/Intrinsics.gen \
	    ${WRKSRC}/include/llvm/
	${MKDIR} ${WRKSRC}/Release/lib
	${LN} -sf ${LOCALBASE}/lib/libLLVM-${PORTVERSION}.so \
	    ${WRKSRC}/Release/lib/
	${LN} -sf ${LOCALBASE}/lib/libLLVMTableGen.a \
	    ${WRKSRC}/Release/lib/
	${LN} -sf ${LOCALBASE}/lib/libLLVMSupport.a \
	    ${WRKSRC}/Release/lib/
	cd ${WRKSRC}/utils/unittest/UnitTestMain && ${GMAKE}
	cd ${WRKSRC}/utils/unittest/googletest && ${GMAKE}
@


1.16
log
@Upgrade the LLVM and Clang -devel ports to r133062.

Update the conflicts lines in all the llvm and clang ports to conflict
with 3.x as well as 2.x and generally simplify the conflict definitions
following the example of llvm-etoile.
@
text
@d9 1
a9 1
PORTVERSION=	2.9
a11 1
EXTRACT_SUFX=	.tgz
d26 1
a26 1
WRKSRC=		${WRKDIR}/${LLVM_NAME}
d47 2
a48 1
MAKE_ARGS=	LLVMIncDir=${LOCALBASE}/include \
d52 2
d64 2
d77 1
a77 1
	    ${MV} ${CLANG_NAME} clang
d93 11
a103 2
	${LN} -sf ${LOCALBASE}/include/llvm/Intrinsics.gen ${WRKSRC}/include/llvm/
	cd ${WRKSRC}/utils/unittest && ${GMAKE}
d145 2
d163 1
a163 1
	    ${SORT} >> ${PLIST}
d172 1
@


1.15
log
@Upgrade LLVM, Clang, and llvm-gcc to 2.9.

Add a number of bug fixes from our base gcc to llvm-gcc.[0]

PR:		ports/154927 [0]
Submitted by:	Pedro Giffuni <giffunip at tutopia com> [0]
@
text
@d20 1
a20 1
CONFLICTS=	clang-devel-2.[0-9]* llvm-devel-2.[0-9]*
@


1.14
log
@Move devel/clang to lang/clang since compilers typically live in lang.

PR:		ports/151340
@
text
@d9 1
a9 2
PORTVERSION=	2.8
PORTREVISION=	2
d59 1
a59 3
DOCSRCDIR=
.else
DOCSRCDIR=	docs
a79 2
	${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \
	    ${WRKSRC}/Makefile ${WRKSRC}/tools/clang/Makefile
d89 2
a90 1
	${LN} -s ${LOCALBASE}/include/llvm/Intrinsics.gen ${WRKSRC}/include/llvm/
a129 1
			bin/c-index-test \
@


1.13
log
@Forced commit to record repocopy from devel/clang to lang/clang and
lang/clang-devel by marcus on 2010-10-11.

PR:		ports/151340
@
text
@d11 1
a11 1
CATEGORIES=	devel lang
@


1.12
log
@Fix scan-build by actually replacing %%DATADIR%%.

PR:		ports/151344
Submitted by:	Matthias Andree <matthias.andree at gmx.de>
@
text
@@


1.11
log
@Fix build when older versions are installed.

Submitted by:	ports/151337
@
text
@d10 1
a10 1
PORTREVISION=	1
d86 1
@


1.10
log
@Upgrade LLVM, Clang, and llvm-gcc to 2.8 release.

The Clang port has now been updated to avoid building LLVM twice.
@
text
@d10 1
d32 2
a33 2
BUILD_DEPENDS+=	llvm-as:${PORTSDIR}/devel/llvm
RUN_DEPENDS+=	llvm-as:${PORTSDIR}/devel/llvm
d92 2
a93 3
#@@cd ${WRKSRC}/tools/clang && ${GMAKE} TBLGEN=/usr/local/bin/tblgen LLVM_OBJ_ROOT=/usr/local
#do-build:
#	@@cd ${WRKSRC}/tools/clang && ${GMAKE} LLVMIncDir=/usr/local/include LLVMToolDir=/usr/local/bin LLVMLibDir=/usr/local/lib
@


1.9
log
@Fix regression in previous commit that broke NOPORTDOCS=yes installs.

Only remove /html/img if NOPORTDOCS is undefined.
@
text
@d9 1
a9 2
PORTVERSION=	2.7
PORTREVISION=	2
d28 1
d48 4
d91 4
d133 1
a137 1
			lib/libCIndex.* \
@


1.8
log
@Fix clang analyzer, and clean up port a bit. Adds dependencies.

- patch scan-view to use PYTHON_CMD
- also install c++-analyzer and scan-view
- also install ScanView.py and its dependencies into PYTHON_SITELIBDIR
- change USE_PERL5_BUILD to USE_PERL5, as scan-build needs it
  at run time
- add USE_PYTHON, as scan-view needs it
  (let's see to making these dependencies optional later)

- move EXTRACT_SUFX up to quiet portlint
- indent CONFLICTS value with TAB to quiet portlint
- add USE_LDCONFIG, found missing by portlint
- nuke empty $DOCSDIR/html/img that made deinstall complain

- amend to build-plist target
- rebuild pkg-plist
- bump PORTREVISION (changed pkg-plist)

The approval was a blanket approval under the condition that build-plist
was also updated, and was mailed to portmgr@@ and yours truly
on 2010-08-10 by brooks@@ in reference to the PR mentioned below.

Approved by:	brooks (maintainer)
PR:		ports/147434
@
text
@d110 2
a112 1
	@@${RMDIR} ${DOCSDIR}/html/img
@


1.7
log
@By popular depend, fix the installation of the clang.1 manpage when
NOPORTDOCS is set.
@
text
@d10 1
a10 1
PORTREVISION=	1
d13 1
a16 1
EXTRACT_SUFX=	.tgz
d21 1
a21 1
CONFLICTS=      clang-devel-2.[0-9]* llvm-devel-2.[0-9]*
d43 3
a45 1
USE_PERL5_BUILD=yes
d82 1
d84 2
d94 3
d98 6
a103 2
	@@${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/scan-build \
	    ${PREFIX}/bin
d111 1
d123 1
d127 1
d133 6
a138 1
			
d147 3
d153 3
@


1.6
log
@Actually don't install the documentation in the NOPORTDOCS case.  The
manpage is also not installed in that case.

Reported by:	QAT
@
text
@d10 1
d56 2
a58 1
.endif
d82 5
d95 4
@


1.5
log
@Upgrade llvm, clang, and llvm-gcc to the 2.7 release.

Submitted by:	mm (llvm and clang)
@
text
@d55 1
a57 2
MAN1=		clang.1

d75 1
a75 1
	    ${WRKSRC}/Makefile
@


1.4
log
@Only install compiler headers we don't provide as part of the BSD base.
This should fix some compilation problems and we've been doing it in
devel/llvm-devel for ages.

Feature safe:	yes
Reported by:	rdivacky
@
text
@d9 1
a9 2
PORTVERSION=	2.6
PORTREVISION=	3
d15 1
d18 1
a18 1
COMMENT=	C, Objective-C, and (soon) C++ compiler
d78 2
a79 2
	    ${WRKSRC}/tools/clang/utils/ccc-analyzer \
	    ${WRKSRC}/tools/clang/utils/scan-build
d82 1
a82 1
	@@${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/utils/ccc-analyzer \
d84 1
a84 1
	@@${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/utils/scan-build \
d87 2
a88 2
	@@${INSTALL_DATA} ${WRKSRC}/tools/clang/utils/scanview.css ${DATADIR}
	@@${INSTALL_DATA} ${WRKSRC}/tools/clang/utils/sorttable.js ${DATADIR}
d101 1
d103 6
a108 2
			libexec/clang-cc
PLIST_DIR_LIST=		lib/clang
@


1.3
log
@Fix plist (missing DATADIR).

Add conflicts for llvm-devel and the forthcoming clang-devel.

Add USE_GCC=4.2+ in hopes of fixing 6.x builds.

Reported by:	pointhat
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.2
log
@Fix pkg-plist

Submitted by:	pointyhat
Approved by:	maintainer timeout
Pointyhat:	brooks
@
text
@d10 1
a10 1
PORTREVISION=	1
d20 2
d30 2
a31 2
BUILD_DEPENDS+=	llvm=2.6:${PORTSDIR}/devel/llvm
RUN_DEPENDS+=	llvm=2.6:${PORTSDIR}/devel/llvm
d40 1
d115 3
a117 4
	${FIND} ${DOCSDIR} -type d | ${SORT} -r | \
	    ${SED} -e 's|${DATADIR}|%%DATADIR%%|' \
	     -e 's|${DOCSDIR}|%%DOCSDIR%%|' \
	     -e 's|^|%%PORTDOCS%%@@dirrm |' >> ${PLIST}
@


1.1
log
@Add a port of the clang C, Objective-C, and (soon) C++ compiler version
2.6.

NOTE: this port is slightly evil and both depends on llvm and builds all
of it.  We hope to find the correct make string to fix this, but wanted
make clang available now.
@
text
@d10 1
@

