aboutsummaryrefslogtreecommitdiff
path: root/lang/clang-devel/Makefile
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2014-09-26 20:05:54 +0000
committerBrooks Davis <brooks@FreeBSD.org>2014-09-26 20:05:54 +0000
commit80dbd590721fba18d72b90b6c7f2c89da2218f54 (patch)
tree864b3693ec9ac1759789d8524949c1dd1b935344 /lang/clang-devel/Makefile
parent35a3d830138c0833e3a499b58edb346961f41131 (diff)
downloadports-80dbd590721fba18d72b90b6c7f2c89da2218f54.tar.gz
ports-80dbd590721fba18d72b90b6c7f2c89da2218f54.zip
Notes
Diffstat (limited to 'lang/clang-devel/Makefile')
-rw-r--r--lang/clang-devel/Makefile24
1 files changed, 8 insertions, 16 deletions
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile
index fe730079a6f1..9e12863495bb 100644
--- a/lang/clang-devel/Makefile
+++ b/lang/clang-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= clang
PORTVERSION= 3.6.r${SVN_REV}
+PORTREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@@ -30,6 +31,7 @@ LLVM_SUFFIX= -devel
LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX}
DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX}
+PYTHONLIBDIR= ${LLVM_PREFIX}/lib/python
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX}
@@ -156,12 +158,12 @@ post-install:
${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \
${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX}
.endfor
- ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
- ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Resources
+ ${MKDIR} ${STAGEDIR}${PYTHONLIBDIR}
+ ${MKDIR} ${STAGEDIR}${PYTHONLIBDIR}/Resources
${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/*.py \
- ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+ ${STAGEDIR}${PYTHONLIBDIR}
${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/Resources/* \
- ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Resources
+ ${STAGEDIR}${PYTHONLIBDIR}/Resources
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/scanview.css \
${WRKSRC}/tools/clang/tools/scan-build/sorttable.js \
@@ -175,12 +177,8 @@ PLIST_FILE_LIST= ${COMMANDS:S|^|bin/|} \
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
+ lib/clang \
+ lib/python
build-plist:
${RM} -f ${PLIST}
@@ -200,11 +198,5 @@ build-plist:
${FIND} ${STAGEDIR}${DOCSDIR} -type d | ${SORT} -r | \
${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%@dirrm %%DOCSDIR%%|' \
>> ${PLIST}
- cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && \
- ls ${PLIST_PYFILE_LIST} | ${SORT} | \
- ${SED} -e 's|^|%%PYTHON_SITELIBDIR%%/|' >> ${PLIST}
- cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && \
- ${FIND} ${PLIST_PYDIR_LIST} -type d | ${SORT} -r | \
- ${SED} -e 's|^|@dirrm %%PYTHON_SITELIBDIR%%/|' >> ${PLIST}
.include <bsd.port.post.mk>