Date: Mon, 22 Oct 2012 22:12:29 +0000 (UTC) From: Felippe de Meirelles Motta <lippe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306291 - in head/devel: . ccons Message-ID: <201210222212.q9MMCTwm018449@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lippe Date: Mon Oct 22 22:12:28 2012 New Revision: 306291 URL: http://svn.freebsd.org/changeset/ports/306291 Log: The goal of the ccons project is to create an interactive console for the C programming language, similar to "python" and "irb" for Python and Ruby respectively. PR: ports/172551 Submitted by: Danilo Egea Gondolfo <danilogondolfo@gmail.com> Feature safe: yes Added: head/devel/ccons/ head/devel/ccons/Makefile (contents, props changed) head/devel/ccons/distinfo (contents, props changed) head/devel/ccons/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Oct 22 22:00:25 2012 (r306290) +++ head/devel/Makefile Mon Oct 22 22:12:28 2012 (r306291) @@ -176,6 +176,7 @@ SUBDIR += ccache SUBDIR += cccc SUBDIR += ccdoc + SUBDIR += ccons SUBDIR += ccrtp SUBDIR += cdash SUBDIR += cdecl Added: head/devel/ccons/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ccons/Makefile Mon Oct 22 22:12:28 2012 (r306291) @@ -0,0 +1,48 @@ +# $FreeBSD$ + +PORTNAME= ccons +PORTVERSION= r235 +CATEGORIES= devel +MASTER_SITES= GOOGLE_CODE + +MAINTAINER= danilogondolfo@gmail.com +COMMENT= Interactive Console for the C Programming Language + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/bin/llvm-config:${PORTSDIR}/devel/llvm \ + ${LOCALBASE}/bin/clang:${PORTSDIR}/lang/clang \ + ${LOCALBASE}/bin/ld:${PORTSDIR}/devel/binutils +LIB_DEPENDS= ncurses:${PORTSDIR}/devel/ncurses + +ONLY_FOR_ARCHS= i386 amd64 +USE_CMAKE= yes +CMAKE_ARGS+= -DLLVM_CONFIG_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/llvm-config + +CXX= ${LOCALBASE}/bin/clang++ +CXXFLAGS+= -fno-rtti +LDFLAGS+= -lclangFrontendTool -lclangFrontend -lclangDriver -lclangSerialization \ + -lclangCodeGen -lclangParse -lclangSema -lclangStaticAnalyzerCheckers \ + -lclangStaticAnalyzerCore -lclangAnalysis -lclang -lclangAST -lclangLex \ + -lclangBasic -ledit -lm ${PTHREAD_LIBS} + +PLIST_FILES= bin/ccons + +WRKSRC= ${WRKDIR}/ccons + +MAKE_JOBS_SAFE= yes + +MAN1= ccons.1 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 900044 +BROKEN= ccons don\'t work on FreeBSD < 9.0-RELEASE +.endif + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/ccons ${PREFIX}/bin/ccons + @${INSTALL_MAN} ${WRKSRC}/man/ccons.1 ${MAN1PREFIX}/man/man1/ccons.1 + +.include <bsd.port.post.mk> Added: head/devel/ccons/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ccons/distinfo Mon Oct 22 22:12:28 2012 (r306291) @@ -0,0 +1,2 @@ +SHA256 (ccons-r235.tar.gz) = 9ca451626e4a54c1504cd86e646041a70a9aff8724a727488671abb3bea1440c +SIZE (ccons-r235.tar.gz) = 26187 Added: head/devel/ccons/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ccons/pkg-descr Mon Oct 22 22:12:28 2012 (r306291) @@ -0,0 +1,5 @@ +The goal of the ccons project is to create an interactive console +for the C programming language, similar to "python" and "irb" for +Python and Ruby respectively. + +WWW: http://code.google.com/p/ccons/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210222212.q9MMCTwm018449>