mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
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
This commit is contained in:
parent
cf25012956
commit
76efabfb88
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306291
@ -176,6 +176,7 @@
|
||||
SUBDIR += ccache
|
||||
SUBDIR += cccc
|
||||
SUBDIR += ccdoc
|
||||
SUBDIR += ccons
|
||||
SUBDIR += ccrtp
|
||||
SUBDIR += cdash
|
||||
SUBDIR += cdecl
|
||||
|
48
devel/ccons/Makefile
Normal file
48
devel/ccons/Makefile
Normal file
@ -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>
|
2
devel/ccons/distinfo
Normal file
2
devel/ccons/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ccons-r235.tar.gz) = 9ca451626e4a54c1504cd86e646041a70a9aff8724a727488671abb3bea1440c
|
||||
SIZE (ccons-r235.tar.gz) = 26187
|
5
devel/ccons/pkg-descr
Normal file
5
devel/ccons/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user