Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 03:57:16 GMT
From:      Danilo Egêa Gondolfo <danilogondolfo@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172551: New Port - devel/ccons
Message-ID:  <201210090357.q993vG1e072781@red.freebsd.org>
Resent-Message-ID: <201210092230.q99MURYl043727@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172551
>Category:       ports
>Synopsis:       New Port - devel/ccons
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 09 22:30:27 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Danilo Egêa Gondolfo
>Release:        FreeBSD 9.1-RC1
>Organization:
Universidade Estadual de Maringá
>Environment:
FreeBSD projeto 9.1-RC1 FreeBSD 9.1-RC1 #2 r240716: Wed Sep 26 13:31:15 BRT 2012     root@projeto:/usr/obj/usr/src/sys/PROJETO  amd64
>Description:
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.

The project builds on top of clang and llvm.

It builds on FreeBSD >= 9
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ccons
#	ccons/distinfo
#	ccons/Makefile
#	ccons/pkg-descr
#
echo c - ccons
mkdir -p ccons > /dev/null 2>&1
echo x - ccons/distinfo
sed 's/^X//' >ccons/distinfo << 'END-of-ccons/distinfo'
XSHA256 (ccons-r235.tar.gz) = 9ca451626e4a54c1504cd86e646041a70a9aff8724a727488671abb3bea1440c
XSIZE (ccons-r235.tar.gz) = 26187
END-of-ccons/distinfo
echo x - ccons/Makefile
sed 's/^X//' >ccons/Makefile << 'END-of-ccons/Makefile'
X# $FreeBSD$
X
XPORTNAME=	ccons
XPORTVERSION=	r235
XCATEGORIES=	devel
XMASTER_SITES=	GOOGLE_CODE
X
XMAINTAINER=	danilogondolfo@gmail.com
XCOMMENT=	Interactive Console for the C Programming Language
X
XBUILD_DEPENDS=	${LOCALBASE}/bin/llvm-config:${PORTSDIR}/devel/llvm \
X		${LOCALBASE}/bin/clang:${PORTSDIR}/lang/clang \
X		${LOCALBASE}/bin/ld:${PORTSDIR}/devel/binutils
XLIB_DEPENDS=	ncurses:${PORTSDIR}/devel/ncurses
X
XONLY_FOR_ARCHS=	i386 amd64
XUSE_GMAKE=	yes
XUSE_CMAKE=	yes
XCMAKE_ARGS+=	-DLLVM_CONFIG_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/llvm-config
X
XCXX=	${LOCALBASE}/bin/clang++
XCXXFLAGS+=	-fno-rtti
XLDFLAGS+=	-lclangFrontendTool -lclangFrontend -lclangDriver -lclangSerialization \
X		-lclangCodeGen -lclangParse -lclangSema -lclangStaticAnalyzerCheckers \
X		-lclangStaticAnalyzerCore -lclangAnalysis -lclang -lclangAST -lclangLex \
X		-lclangBasic -ledit -lm ${PTHREAD_LIBS}
X
XPLIST_FILES=	bin/ccons
X
XWRKSRC=	${WRKDIR}/ccons
X
XMAKE_JOBS_SAFE=	yes
X
XMAN1=	ccons.1
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 900044
XBROKEN=	ccons don\'t work on FreeBSD < 9.0-RELEASE
X.endif
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/ccons ${PREFIX}/bin/ccons
X	@${INSTALL_MAN} ${WRKSRC}/man/ccons.1 ${MAN1PREFIX}/man/man1/ccons.1
X
X.include <bsd.port.post.mk>
END-of-ccons/Makefile
echo x - ccons/pkg-descr
sed 's/^X//' >ccons/pkg-descr << 'END-of-ccons/pkg-descr'
XThe goal of the ccons project is to create an interactive console
Xfor the C programming language, similar to "python" and "irb" for
XPython and Ruby respectively.
X
XWWW: http://code.google.com/p/ccons/
END-of-ccons/pkg-descr
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210090357.q993vG1e072781>