Portfile

# $Id: Portfile 23076 2007-03-24 13:30:30Z mww@macports.org $

PortSystem 1.0

name cyclone
version 20070323
categories lang devel
platforms darwin
maintainers mww@macports.org
description safe programming language based on C
long_description \
Cyclone is a programming language based on C that is safe, meaning that it \
rules out programs that have buffer overflows, dangling pointers, format \
string attacks, and so on. High-level, type-safe languages, such as Java, \
Scheme, or ML also provide safety, but they don't give the same control over \
data representations and memory management that C does (witness the fact that \
the run-time systems for these languages are usually written in C.) \
Furthermore, porting legacy C code to these languages or interfacing with \
legacy C libraries is a difficult and error-prone process. The goal of Cyclone \
is to give programmers the same low-level control and performance of C without \
sacrificing safety, and to make it easy to port or interface with legacy C code.

homepage http://cyclone.thelanguage.org/
#master_sites http://cyclone.thelanguage.org/files/
#checksums sha1 3079dd7ed5df50525f432a1e5d7717a541a29074

fetch.type cvs
cvs.root :pserver:anonymous@cvs.eecs.harvard.edu:/home/cyclone/cvsroot
cvs.module cyclone
cvs.date ${version}

worksrcdir ${name}

configure.pre_args
configure.args -bindir ${prefix}/bin -libdir ${prefix}/lib/cyclone -includedir ${prefix}/include/cyclone

destroot.destdir \
INC_INSTALL=${destroot}${prefix}/include/cyclone \
BIN_INSTALL=${destroot}${prefix}/bin \
LIB_INSTALL=${destroot}${prefix}/lib/cyclone

platform darwin 8 {
configure.env CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0
}