aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-05-23 22:29:09 +0800
committerbrooks <brooks@FreeBSD.org>2013-05-23 22:29:09 +0800
commit37b03ad751d11e429dd7620a62fc081e2fe6bb94 (patch)
tree72258af5a9b8a5c94e1455286ebae3ac4e000215 /lang
parent9774b510a2bc5959bd10157832082fa46a14421d (diff)
downloadfreebsd-ports-gnome-37b03ad751d11e429dd7620a62fc081e2fe6bb94.tar.gz
freebsd-ports-gnome-37b03ad751d11e429dd7620a62fc081e2fe6bb94.tar.zst
freebsd-ports-gnome-37b03ad751d11e429dd7620a62fc081e2fe6bb94.zip
Correct plist by adding the new clang-format command and @dirrmtry
entries for Python library directories.
Diffstat (limited to 'lang')
-rw-r--r--lang/clang-devel/Makefile5
-rw-r--r--lang/clang-devel/pkg-plist3
2 files changed, 7 insertions, 1 deletions
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile
index 1b95748e3419..822a079e0c0b 100644
--- a/lang/clang-devel/Makefile
+++ b/lang/clang-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clang
PORTVERSION= 3.4.r${SVN_REV}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@@ -171,6 +171,7 @@ PLIST_FILE_LIST= bin/ccc-analyzer \
bin/clang++ \
bin/clang-check \
bin/clang-cpp \
+ bin/clang-format \
bin/clang-tblgen \
bin/scan-build \
bin/scan-view \
@@ -203,6 +204,8 @@ build-plist:
cd ${PYTHONPREFIX_SITELIBDIR} && \
${FIND} ${PLIST_PYDIR_LIST} -type d | ${SORT} -r | \
${SED} -e 's|^|@dirrm %%PYTHON_SITELIBDIR%%/|' >> ${PLIST}
+ echo "@dirrmtry %%PYTHON_SITELIBDIR%%" >> ${PLIST}
+ echo "@dirrmtry %%PYTHON_LIBDIR%%" >> ${PLIST}
${FIND} ${DATADIR} ${DOCSDIR} -type d | ${SORT} -r | \
${SED} -e 's|${DATADIR}|@dirrm %%DATADIR%%|' \
-e 's|${DOCSDIR}|%%PORTDOCS%%@dirrm %%DOCSDIR%%|' >> ${PLIST}
diff --git a/lang/clang-devel/pkg-plist b/lang/clang-devel/pkg-plist
index 7a8eff91ac17..1c5e069c85a5 100644
--- a/lang/clang-devel/pkg-plist
+++ b/lang/clang-devel/pkg-plist
@@ -5,6 +5,7 @@ bin/clang
bin/clang++
bin/clang-check
bin/clang-cpp
+bin/clang-format
bin/clang-tblgen
bin/scan-build
bin/scan-view
@@ -510,6 +511,8 @@ lib/libclangTooling.a
@dirrm include/clang-c
@dirrm include/clang
@dirrm %%PYTHON_SITELIBDIR%%/Resources
+@dirrmtry %%PYTHON_SITELIBDIR%%
+@dirrmtry %%PYTHON_LIBDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ps
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/img
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/clang