From f0f0fbbd9737fed715eceec20a82f7a87045fb75 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Wed, 15 Jan 2014 20:45:52 +0000 Subject: Add a port for CheriVis, a tool for inspecting CHERI CPU instruction traces. Approved by: bapt (mentor) --- devel/cherivis-devel/Makefile | 28 ++++++++++++++++++++++++++++ devel/cherivis-devel/distinfo | 2 ++ devel/cherivis-devel/pkg-descr | 8 ++++++++ devel/cherivis-devel/pkg-plist | 12 ++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 devel/cherivis-devel/Makefile create mode 100644 devel/cherivis-devel/distinfo create mode 100644 devel/cherivis-devel/pkg-descr create mode 100644 devel/cherivis-devel/pkg-plist (limited to 'devel/cherivis-devel') diff --git a/devel/cherivis-devel/Makefile b/devel/cherivis-devel/Makefile new file mode 100644 index 000000000000..faa5ad89cf81 --- /dev/null +++ b/devel/cherivis-devel/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= cherivis-devel +PORTVERSION= 0.1 +CATEGORIES= devel gnustep + +MAINTAINER= theraven@FreeBSD.org +COMMENT= Visualisation tool for CHERI / BERI streamtraces. + +LICENSE= MIT + +USE_GITHUB= yes +GH_ACCOUNT= CTSRD-CHERI +GH_PROJECT= CheriVis +GH_COMMIT= 9b8ed78 +GH_TAGNAME= ${GH_COMMIT} + +LLVM_VERSION?=34 +BUILD_DEPENDS+= llvm-config${LLVM_VERSION}:${PORTSDIR}/devel/llvm${LLVM_VERSION} + +MAKE_FLAGS+= LLVM_CONFIG=llvm-config${LLVM_VERSION} +USE_GNUSTEP= yes +USE_GNUSTEP_BACK= yes +USE_GNUSTEP_BUILD= yes +USE_GNUSTEP_INSTALL= yes +USE_GNUSTEP_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES} + +.include diff --git a/devel/cherivis-devel/distinfo b/devel/cherivis-devel/distinfo new file mode 100644 index 000000000000..6b794f59b8c2 --- /dev/null +++ b/devel/cherivis-devel/distinfo @@ -0,0 +1,2 @@ +SHA256 (cherivis-0.1.tar.gz) = 6b9d06ec5fbeab519de1870aeb23974535c9276562fbad4001ef50c00f75a8b2 +SIZE (cherivis-0.1.tar.gz) = 234466 diff --git a/devel/cherivis-devel/pkg-descr b/devel/cherivis-devel/pkg-descr new file mode 100644 index 000000000000..99a7c42b7e50 --- /dev/null +++ b/devel/cherivis-devel/pkg-descr @@ -0,0 +1,8 @@ +A tool for viewing streamtraces from the BERI and CHERI processors from SRI +International and the University of Cambridge. CheriVis uses LLVM to read +object code and to disassemble MIPS instructions. + +The current version of the port only understands traditional MIPS instructions. + +WWW: https://github.com/CTSRD-CHERI/CheriVis + diff --git a/devel/cherivis-devel/pkg-plist b/devel/cherivis-devel/pkg-plist new file mode 100644 index 000000000000..7e430095229e --- /dev/null +++ b/devel/cherivis-devel/pkg-plist @@ -0,0 +1,12 @@ +GNUstep/Local/Applications/CheriVis.app/CheriVis +GNUstep/Local/Applications/CheriVis.app/Resources/CheriVis.desktop +GNUstep/Local/Applications/CheriVis.app/Resources/CheriVis.gorm/data.classes +GNUstep/Local/Applications/CheriVis.app/Resources/CheriVis.gorm/data.info +GNUstep/Local/Applications/CheriVis.app/Resources/CheriVis.gorm/objects.gorm +GNUstep/Local/Applications/CheriVis.app/Resources/CheriVis.tiff +GNUstep/Local/Applications/CheriVis.app/Resources/Info-gnustep.plist +GNUstep/Local/Applications/CheriVis.app/stamp.make +GNUstep/Local/Tools/CheriVis +@dirrmtry GNUstep/Local/Applications/CheriVis.app/Resources/CheriVis.gorm +@dirrmtry GNUstep/Local/Applications/CheriVis.app/Resources +@dirrmtry GNUstep/Local/Applications/CheriVis.app -- cgit v1.2.3