citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 970f5e26906a9a60a33f8b52dd9d78453c5c2f26
parent a4831a8de134561c78e2f069955d2d9eb000aaea
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Thu,  9 Jun 2016 23:01:39 -0600

pkg/openbsd: add ccitrunrun package

Diffstat:
Apkg/openbsd/devel/ccitrunrun/Makefile | 39+++++++++++++++++++++++++++++++++++++++
Apkg/openbsd/devel/ccitrunrun/pkg/DESCR | 4++++
2 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/pkg/openbsd/devel/ccitrunrun/Makefile b/pkg/openbsd/devel/ccitrunrun/Makefile @@ -0,0 +1,39 @@ +# $OpenBSD$ + +COMMENT = see citrun run + +DISTNAME = ccitrunrun-0 +CATEGORIES = devel + +HOMEPAGE = http://citrun.com + +# BSD +PERMIT_PACKAGE_CDROM = Yes + +MASTER_SITES = http://citrun.com/src/ + +WANTLIB += GL GLU GLEW glut c freetype m pthread z + +SHARED_LIBS += ccitrunrun 0.0 # 0.0 + +# -std=c++11 +MODULES = gcc4 +MODGCC4_ARCHS = * +MODGCC4_LANGS = c++ + +LIB_DEPENDS = devel/citrun \ + graphics/freeglut \ + graphics/glew +BUILD_DEPENDS = devel/jam \ + devel/llvm + +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} citrun-wrap jam + +do-test: + cd ${WRKSRC} && prove + +do-install: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${ALL_FAKE_FLAGS} jam install + +.include <bsd.port.mk> diff --git a/pkg/openbsd/devel/ccitrunrun/pkg/DESCR b/pkg/openbsd/devel/ccitrunrun/pkg/DESCR @@ -0,0 +1,4 @@ +C It Run is a suite of tools that lets you watch your source code execute. + +This package contains citrun binaries that have been instrumented with citrun, +in case you wanted to watch citrun itself running.