forked from Lainports/freebsd-ports
New port: textproc/castxml: C-family Abstract Syntax Tree XML Output
This commit is contained in:
parent
28adb11997
commit
49d85b6eb7
6 changed files with 162 additions and 0 deletions
|
|
@ -74,6 +74,7 @@
|
|||
SUBDIR += c2html
|
||||
SUBDIR += c2man
|
||||
SUBDIR += ca-aspell
|
||||
SUBDIR += castxml
|
||||
SUBDIR += catdoc
|
||||
SUBDIR += cdif
|
||||
SUBDIR += cdiff
|
||||
|
|
|
|||
27
textproc/castxml/Makefile
Normal file
27
textproc/castxml/Makefile
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= castxml
|
||||
PORTVERSION= g20180728
|
||||
CATEGORIES= textproc devel
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= C-family Abstract Syntax Tree XML Output
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BROKEN_FreeBSD_10= plist mismatch: extra items are installed for some reason
|
||||
|
||||
BUILD_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
|
||||
RUN_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
|
||||
|
||||
USES= cmake:outsource
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= CastXML
|
||||
GH_PROJECT= CastXML
|
||||
GH_TAGNAME= a345f62
|
||||
LLVM_VERSION= 60
|
||||
|
||||
CMAKE_ARGS= -DLLVM_DIR:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
textproc/castxml/distinfo
Normal file
3
textproc/castxml/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1533440542
|
||||
SHA256 (CastXML-CastXML-g20180728-a345f62_GH0.tar.gz) = b9dd764a2bf7857033ecf1ed01ef9eac202ceadd00a6ff1da1a52fe3a8ccd08d
|
||||
SIZE (CastXML-CastXML-g20180728-a345f62_GH0.tar.gz) = 92591
|
||||
16
textproc/castxml/files/patch-CMakeLists.txt
Normal file
16
textproc/castxml/files/patch-CMakeLists.txt
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
--- CMakeLists.txt.orig 2018-07-27 17:13:45 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -183,8 +183,8 @@ add_subdirectory(doc)
|
||||
|
||||
install(DIRECTORY share/castxml/ DESTINATION "${CastXML_INSTALL_DATA_DIR}")
|
||||
|
||||
-install(FILES
|
||||
- "LICENSE"
|
||||
- "NOTICE"
|
||||
- DESTINATION "${CastXML_INSTALL_DOC_DIR}"
|
||||
- )
|
||||
+#install(FILES
|
||||
+# "LICENSE"
|
||||
+# "NOTICE"
|
||||
+# DESTINATION "${CastXML_INSTALL_DOC_DIR}"
|
||||
+# )
|
||||
8
textproc/castxml/pkg-descr
Normal file
8
textproc/castxml/pkg-descr
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
Parse C-family source files and optionally write a subset of the Abstract Syntax
|
||||
Tree (AST) to a representation in XML.
|
||||
|
||||
Source files are parsed as complete translation units using an internal Clang
|
||||
compiler. XML output is enabled by the --castxml-output=<v> or --castxml-gccxml
|
||||
option.
|
||||
|
||||
WWW: https://github.com/CastXML/CastXML
|
||||
107
textproc/castxml/pkg-plist
Normal file
107
textproc/castxml/pkg-plist
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
bin/castxml
|
||||
%%DATADIR%%/clang/include/__clang_cuda_builtin_vars.h
|
||||
%%DATADIR%%/clang/include/__clang_cuda_cmath.h
|
||||
%%DATADIR%%/clang/include/__clang_cuda_complex_builtins.h
|
||||
%%DATADIR%%/clang/include/__clang_cuda_intrinsics.h
|
||||
%%DATADIR%%/clang/include/__clang_cuda_math_forward_declares.h
|
||||
%%DATADIR%%/clang/include/__clang_cuda_runtime_wrapper.h
|
||||
%%DATADIR%%/clang/include/__stddef_max_align_t.h
|
||||
%%DATADIR%%/clang/include/__wmmintrin_aes.h
|
||||
%%DATADIR%%/clang/include/__wmmintrin_pclmul.h
|
||||
%%DATADIR%%/clang/include/adxintrin.h
|
||||
%%DATADIR%%/clang/include/altivec.h
|
||||
%%DATADIR%%/clang/include/ammintrin.h
|
||||
%%DATADIR%%/clang/include/arm64intr.h
|
||||
%%DATADIR%%/clang/include/arm_acle.h
|
||||
%%DATADIR%%/clang/include/arm_neon.h
|
||||
%%DATADIR%%/clang/include/armintr.h
|
||||
%%DATADIR%%/clang/include/avx2intrin.h
|
||||
%%DATADIR%%/clang/include/avx512bitalgintrin.h
|
||||
%%DATADIR%%/clang/include/avx512bwintrin.h
|
||||
%%DATADIR%%/clang/include/avx512cdintrin.h
|
||||
%%DATADIR%%/clang/include/avx512dqintrin.h
|
||||
%%DATADIR%%/clang/include/avx512erintrin.h
|
||||
%%DATADIR%%/clang/include/avx512fintrin.h
|
||||
%%DATADIR%%/clang/include/avx512ifmaintrin.h
|
||||
%%DATADIR%%/clang/include/avx512ifmavlintrin.h
|
||||
%%DATADIR%%/clang/include/avx512pfintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vbmi2intrin.h
|
||||
%%DATADIR%%/clang/include/avx512vbmiintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vbmivlintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vlbitalgintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vlbwintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vlcdintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vldqintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vlintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vlvbmi2intrin.h
|
||||
%%DATADIR%%/clang/include/avx512vlvnniintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vnniintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vpopcntdqintrin.h
|
||||
%%DATADIR%%/clang/include/avx512vpopcntdqvlintrin.h
|
||||
%%DATADIR%%/clang/include/avxintrin.h
|
||||
%%DATADIR%%/clang/include/bmi2intrin.h
|
||||
%%DATADIR%%/clang/include/bmiintrin.h
|
||||
%%DATADIR%%/clang/include/cetintrin.h
|
||||
%%DATADIR%%/clang/include/clflushoptintrin.h
|
||||
%%DATADIR%%/clang/include/clwbintrin.h
|
||||
%%DATADIR%%/clang/include/clzerointrin.h
|
||||
%%DATADIR%%/clang/include/cpuid.h
|
||||
%%DATADIR%%/clang/include/cuda_wrappers/algorithm
|
||||
%%DATADIR%%/clang/include/cuda_wrappers/complex
|
||||
%%DATADIR%%/clang/include/cuda_wrappers/new
|
||||
%%DATADIR%%/clang/include/emmintrin.h
|
||||
%%DATADIR%%/clang/include/f16cintrin.h
|
||||
%%DATADIR%%/clang/include/float.h
|
||||
%%DATADIR%%/clang/include/fma4intrin.h
|
||||
%%DATADIR%%/clang/include/fmaintrin.h
|
||||
%%DATADIR%%/clang/include/fxsrintrin.h
|
||||
%%DATADIR%%/clang/include/gfniintrin.h
|
||||
%%DATADIR%%/clang/include/htmintrin.h
|
||||
%%DATADIR%%/clang/include/htmxlintrin.h
|
||||
%%DATADIR%%/clang/include/ia32intrin.h
|
||||
%%DATADIR%%/clang/include/immintrin.h
|
||||
%%DATADIR%%/clang/include/intrin.h
|
||||
%%DATADIR%%/clang/include/inttypes.h
|
||||
%%DATADIR%%/clang/include/iso646.h
|
||||
%%DATADIR%%/clang/include/lwpintrin.h
|
||||
%%DATADIR%%/clang/include/lzcntintrin.h
|
||||
%%DATADIR%%/clang/include/mm3dnow.h
|
||||
%%DATADIR%%/clang/include/mm_malloc.h
|
||||
%%DATADIR%%/clang/include/mmintrin.h
|
||||
%%DATADIR%%/clang/include/module.modulemap
|
||||
%%DATADIR%%/clang/include/msa.h
|
||||
%%DATADIR%%/clang/include/mwaitxintrin.h
|
||||
%%DATADIR%%/clang/include/nmmintrin.h
|
||||
%%DATADIR%%/clang/include/omp.h
|
||||
%%DATADIR%%/clang/include/ompt.h
|
||||
%%DATADIR%%/clang/include/opencl-c.h
|
||||
%%DATADIR%%/clang/include/pkuintrin.h
|
||||
%%DATADIR%%/clang/include/pmmintrin.h
|
||||
%%DATADIR%%/clang/include/popcntintrin.h
|
||||
%%DATADIR%%/clang/include/prfchwintrin.h
|
||||
%%DATADIR%%/clang/include/rdseedintrin.h
|
||||
%%DATADIR%%/clang/include/rtmintrin.h
|
||||
%%DATADIR%%/clang/include/s390intrin.h
|
||||
%%DATADIR%%/clang/include/shaintrin.h
|
||||
%%DATADIR%%/clang/include/smmintrin.h
|
||||
%%DATADIR%%/clang/include/tbmintrin.h
|
||||
%%DATADIR%%/clang/include/tgmath.h
|
||||
%%DATADIR%%/clang/include/tmmintrin.h
|
||||
%%DATADIR%%/clang/include/unwind.h
|
||||
%%DATADIR%%/clang/include/vadefs.h
|
||||
%%DATADIR%%/clang/include/vaesintrin.h
|
||||
%%DATADIR%%/clang/include/vecintrin.h
|
||||
%%DATADIR%%/clang/include/vpclmulqdqintrin.h
|
||||
%%DATADIR%%/clang/include/wmmintrin.h
|
||||
%%DATADIR%%/clang/include/x86intrin.h
|
||||
%%DATADIR%%/clang/include/xmmintrin.h
|
||||
%%DATADIR%%/clang/include/xopintrin.h
|
||||
%%DATADIR%%/clang/include/xsavecintrin.h
|
||||
%%DATADIR%%/clang/include/xsaveintrin.h
|
||||
%%DATADIR%%/clang/include/xsaveoptintrin.h
|
||||
%%DATADIR%%/clang/include/xsavesintrin.h
|
||||
%%DATADIR%%/clang/include/xtestintrin.h
|
||||
%%DATADIR%%/detect_vs.c
|
||||
%%DATADIR%%/detect_vs.cpp
|
||||
%%DATADIR%%/empty.c
|
||||
%%DATADIR%%/empty.cpp
|
||||
Loading…
Add table
Reference in a new issue