Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2018 04:16:29 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476388 - in head/textproc: . castxml castxml/files
Message-ID:  <201808050416.w754GTOR047358@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Aug  5 04:16:28 2018
New Revision: 476388
URL: https://svnweb.freebsd.org/changeset/ports/476388

Log:
  New port: textproc/castxml: C-family Abstract Syntax Tree XML Output

Added:
  head/textproc/castxml/
  head/textproc/castxml/Makefile   (contents, props changed)
  head/textproc/castxml/distinfo   (contents, props changed)
  head/textproc/castxml/files/
  head/textproc/castxml/files/patch-CMakeLists.txt   (contents, props changed)
  head/textproc/castxml/pkg-descr   (contents, props changed)
  head/textproc/castxml/pkg-plist   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sun Aug  5 03:06:07 2018	(r476387)
+++ head/textproc/Makefile	Sun Aug  5 04:16:28 2018	(r476388)
@@ -74,6 +74,7 @@
     SUBDIR += c2html
     SUBDIR += c2man
     SUBDIR += ca-aspell
+    SUBDIR += castxml
     SUBDIR += catdoc
     SUBDIR += cdif
     SUBDIR += cdiff

Added: head/textproc/castxml/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/castxml/Makefile	Sun Aug  5 04:16:28 2018	(r476388)
@@ -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>

Added: head/textproc/castxml/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/castxml/distinfo	Sun Aug  5 04:16:28 2018	(r476388)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1533440542
+SHA256 (CastXML-CastXML-g20180728-a345f62_GH0.tar.gz) = b9dd764a2bf7857033ecf1ed01ef9eac202ceadd00a6ff1da1a52fe3a8ccd08d
+SIZE (CastXML-CastXML-g20180728-a345f62_GH0.tar.gz) = 92591

Added: head/textproc/castxml/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/castxml/files/patch-CMakeLists.txt	Sun Aug  5 04:16:28 2018	(r476388)
@@ -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}"
++#  )

Added: head/textproc/castxml/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/castxml/pkg-descr	Sun Aug  5 04:16:28 2018	(r476388)
@@ -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

Added: head/textproc/castxml/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/castxml/pkg-plist	Sun Aug  5 04:16:28 2018	(r476388)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808050416.w754GTOR047358>