mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
dbbfc7889a
- If a port has another upstream, remove GOOGLE_CODE - If a port only has GOOGLE_CODE mark it BROKEN Some ports have a local mirror configured but for security reasons, it is not considered upstream. Sponsored by: Absolight
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ccons
|
|
PORTVERSION= r251
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
|
COMMENT= Interactive Console for the C Programming Language
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN= Unfetchable (google code has gone away)
|
|
|
|
BUILD_DEPENDS= llvm-config33:devel/llvm33 \
|
|
clang++33:lang/clang33
|
|
RUN_DEPENDS= clang++33:lang/clang33
|
|
LIB_DEPENDS= libncurses.so:devel/ncurses
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
USES= cmake libedit
|
|
CMAKE_ARGS+= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config33
|
|
CXXFLAGS+= -fno-rtti
|
|
|
|
SUB_FILES= ccons.sh
|
|
PLIST_FILES= bin/ccons man/man1/ccons.1.gz \
|
|
bin/ccons-bin
|
|
|
|
WRKSRC= ${WRKDIR}/ccons
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 1000054
|
|
CXXFLAGS+= -stdlib=libc++
|
|
.endif
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/ccons ${STAGEDIR}${PREFIX}/bin/ccons-bin
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/ccons.sh ${STAGEDIR}${PREFIX}/bin/ccons
|
|
@${INSTALL_MAN} ${WRKSRC}/man/ccons.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ccons.1
|
|
|
|
.include <bsd.port.post.mk>
|