diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2013-06-12 23:11:32 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2013-06-12 23:11:32 +0000 |
commit | ea2c6078ba5c04fa6e2c854e8b928c3e3641d088 (patch) | |
tree | b055f1702bf86544ae4828f44e0684a0313c039a /lang/clang33 | |
parent | Update to 1.3.1 (diff) |
Fix two plist bugs. Only install the manpage as clang33.1 not also as
clang.1. Include clang-format in the set of commands.
Notes
Notes:
svn path=/head/; revision=320729
Diffstat (limited to 'lang/clang33')
-rw-r--r-- | lang/clang33/Makefile | 19 | ||||
-rw-r--r-- | lang/clang33/pkg-plist | 2 |
2 files changed, 13 insertions, 8 deletions
diff --git a/lang/clang33/Makefile b/lang/clang33/Makefile index 7ff62f943808..84569f32220b 100644 --- a/lang/clang33/Makefile +++ b/lang/clang33/Makefile @@ -2,7 +2,7 @@ PORTNAME= clang DISTVERSION= 3.3rc3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/pre-releases/3.3/rc3/ DISTNAME= cfe-source-${DISTVERSION} @@ -51,6 +51,8 @@ OPTIONS_DEFINE= ASSERTS DOCS ASSERTS_DESC= Enable assertions (thread unsafe) CONFIGURE_ARGS+= --enable-optimized +# Build some docs manually later +CONFIGURE_ARGS+= --disable-docs MAN1= clang${LLVM_SUFFIX}.1 @@ -61,6 +63,7 @@ COMMANDS= c-index-test \ clang++ \ clang-check \ clang-cpp \ + clang-format \ clang-tblgen FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} @@ -74,12 +77,6 @@ CONFIGURE_ARGS+= --disable-assertions RELTYPE= Release .endif -.if ${PORT_OPTIONS:MDOCS} -CONFIGURE_ARGS+= --enable-docs -.else -CONFIGURE_ARGS+= --disable-docs -.endif - .include <bsd.port.pre.mk> .if ${ARCH} == "sparc64" @@ -108,7 +105,10 @@ pre-build: cd ${WRKSRC}/utils/unittest && ${GMAKE} post-build: - @cd ${WRKSRC}/tools/clang/docs/tools && ${GMAKE} clang.1 + @cd ${WRKSRC}/tools/clang/docs/tools && ${GMAKE} man +.if ${PORT_OPTIONS:MDOCS} + @cd ${WRKSRC}/tools/clang/docs/tools && ${GMAKE} html ps +.endif post-install: ${LN} -sf ${LLVM_PREFIX}/bin/clang ${LLVM_PREFIX}/bin/clang-cpp @@ -118,6 +118,9 @@ post-install: ${LN} -f ${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor +.if ${PORT_OPTIONS:MDOCS} + cd ${WRKSRC}/tools/clang/docs/tools && ${GMAKE} install-html install-ps +.endif ${INSTALL_MAN} ${WRKSRC}/tools/clang/docs/tools/clang.1 \ ${MANPREFIX}/man/man1/clang${LLVM_SUFFIX}.1 diff --git a/lang/clang33/pkg-plist b/lang/clang33/pkg-plist index 1f0c9e72b9fa..c22f9b542428 100644 --- a/lang/clang33/pkg-plist +++ b/lang/clang33/pkg-plist @@ -3,12 +3,14 @@ bin/clang33 bin/clang++33 bin/clang-check33 bin/clang-cpp33 +bin/clang-format33 bin/clang-tblgen33 llvm33/bin/c-index-test llvm33/bin/clang llvm33/bin/clang++ llvm33/bin/clang-check llvm33/bin/clang-cpp +llvm33/bin/clang-format llvm33/bin/clang-tblgen llvm33/include/clang-c/CXCompilationDatabase.h llvm33/include/clang-c/CXString.h |