Commit f13ffc81 authored by lippe's avatar lippe
Browse files

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
parent 614ab42b
......@@ -176,6 +176,7 @@
SUBDIR += ccache
SUBDIR += cccc
SUBDIR += ccdoc
SUBDIR += ccons
SUBDIR += ccrtp
SUBDIR += cdash
SUBDIR += cdecl
......
# $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>
SHA256 (ccons-r235.tar.gz) = 9ca451626e4a54c1504cd86e646041a70a9aff8724a727488671abb3bea1440c
SIZE (ccons-r235.tar.gz) = 26187
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/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment