It is intended to be a complete, though small and very fast, free Eiffel

compiler. It is available for a very wide range of platforms: GNU/Linux,
GNU/Hurd, FreeBSD, BSD/OS, NetBSD, OpenBSD, HP-UX, IRIX, XENIX, Solaris,
DOS, OS2, WINDOWS NT/95/2000, Macintosh, NeXT, Amiga, AmigaDE/Elate, BeOS,
QNX, VMS, etc. Actually, SmartEiffel should run on any platform for which
an ANSI C compiler exists.

The current distribution includes an Eiffel to C compiler, an Eiffel to 
Java bytecode compiler, a debogger, a documentation tool, a pretty printer 
and various other tools.
This commit is contained in:
Lars Nordlund 2004-10-30 21:30:12 +00:00 committed by Thomas Klausner
parent e14a0e0482
commit 3b06c5cc4b
6 changed files with 2759 additions and 0 deletions

12
smarteiffel/DESCR Normal file
View file

@ -0,0 +1,12 @@
$NetBSD: DESCR,v 1.1.1.1 2004/10/30 21:30:12 larnor Exp $
It is intended to be a complete, though small and very fast, free Eiffel
compiler. It is available for a very wide range of platforms: GNU/Linux,
GNU/Hurd, FreeBSD, BSD/OS, NetBSD, OpenBSD, HP-UX, IRIX, XENIX, Solaris,
DOS, OS2, WINDOWS NT/95/2000, Macintosh, NeXT, Amiga, AmigaDE/Elate, BeOS,
QNX, VMS, etc. Actually, SmartEiffel should run on any platform for which
an ANSI C compiler exists.
The current distribution includes an Eiffel to C compiler, an Eiffel to
Java bytecode compiler, a debogger, a documentation tool, a pretty printer
and various other tools.

12
smarteiffel/MESSAGE Normal file
View file

@ -0,0 +1,12 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2004/10/30 21:30:12 larnor Exp $
To use the SmartEiffel compiler, please set this environment variable:
SmartEiffel=${PREFIX}/SmartEiffel/sys/system.se
and add this to your PATH:
${PREFIX}/SmartEiffel/bin
===========================================================================

34
smarteiffel/Makefile Normal file
View file

@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.1.1.1 2004/10/30 21:30:12 larnor Exp $
DISTNAME= se
PKGNAME= SmartEiffel-2.0
CATEGORIES= lang
MASTER_SITES= ftp://ftp.loria.fr/pub/loria/SmartEiffel/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= lars.nordlund@hem.utfors.se
HOMEPAGE= http://smarteiffel.loria.fr/
COMMENT= The GNU Eiffel Compiler
WRKSRC= ${WRKDIR}/SmartEiffel
MAKE_ENV= SmartEiffel=${WRKSRC}/sys/system.se
ALL_TARGET= all
post-patch:
${SED} "s:XXXWORKDIRXXX:${WRKDIR}:g" ${FILESDIR}/system.se \
> ${WRKSRC}/sys/system.se
post-build:
${MV} -f ${WRKSRC}/sys/system.se ${WRKSRC}/sys/system.se.bak
${SED} "s:${WRKDIR}:${LOCALBASE}:g" ${WRKSRC}/sys/system.se.bak > \
${WRKSRC}/sys/system.se
${RM} -f ${WRKSRC}/sys/system.se.bak
${RM} -f ${WRKSRC}/sys/system.se~
do-install:
${CP} -r ${WRKSRC} ${LOCALBASE}
#post-install:
.include "../../mk/bsd.pkg.mk"

2557
smarteiffel/PLIST Normal file

File diff suppressed because it is too large Load diff

4
smarteiffel/distinfo Normal file
View file

@ -0,0 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2004/10/30 21:30:12 larnor Exp $
SHA1 (se.tar.bz2) = 343747fc62460b43d5a00d58fab12c4f1542fb10
Size (se.tar.bz2) = 4136823 bytes

140
smarteiffel/files/system.se Normal file
View file

@ -0,0 +1,140 @@
-- This is the configuration file of SmartEiffel, generated by the
-- SmartEiffel installer.
-- If you have any problems or questions, please:
-- - either look at the SmartEiffel site (http://SmartEiffel.loria.fr)
-- - or contact the SmartEiffel team (SmartEiffel@loria.fr)
-- ======================================================================= --
[General]
-- This section contains some general-purpose keys. They describe how is the
-- SmartEiffel distribution arranged, and on which operating system it was
-- installed.
-- The 'bin' key is the path to the directory that contains the SmartEiffel
-- directory. It is used by 'compile' to find 'compile_to_c'.
-- The 'sys' directory is used to find the C and Java files used by the
-- compilers.
-- The 'short' directory is used by the 'short' utility to format the output.
-- The 'os' key tells on which system SmartEiffel is installed on.
-- At last, 'tag' gives the version of install configuration (used only by the
-- installer)
bin: XXXWORKDIRXXX/SmartEiffel/bin/
sys: XXXWORKDIRXXX/SmartEiffel/sys/
short: XXXWORKDIRXXX/SmartEiffel/short/
os: UNIX
tag: 2
[Environment]
-- This section contains keys that can be used environment variables. They may
-- be used by other sections (typically [Loadpath]) or Ace files.
path_tutorial: XXXWORKDIRXXX/SmartEiffel/tutorial/
path_tools: XXXWORKDIRXXX/SmartEiffel/tools/
path_lib: XXXWORKDIRXXX/SmartEiffel/lib/
[Loadpath]
-- This section contains the default loadpaths used by this SmartEiffel
-- installation.
-- The key is used when naming clusters (SmartEiffel output when a
-- class is not found, or external tools like eiffeldoc)
-- The value of the key is the path to a loadpath file.
-- Note that the loadpath files are read in the order given below.
lib: ${path_lib}loadpath.se
tools: ${path_tools}loadpath.se
tutorial: ${path_tutorial}loadpath.se
-- ======================================================================= --
-- Below are the "C mode" sections. Each C mode describes which C compiler must
-- be called, with which options, which linker, and so on. The keys are
-- described below.
-- The first sections (boost, ..., debug_check) are by default used in
-- conjunction with the corresponding SmartEiffel check level. This behaviour
-- may be changed by using the -c_mode flag.
-- The recognized keys in each section are:
-- 'compiler_type', which tells which is the compiler type to use
-- 'compiler_path', which gives the path to the compiler executable
-- 'compiler_options', which gives some options to the compiler
-- 'linker_path', which gives the path to the linker executable (not used in
-- -no_split mode)
-- 'linker_options', which gives some options for the linker (not used in
-- -no_split mode)
-- 'smarteiffel_options', which gives some extra SmartEiffel options to take
-- into account
[boost]
c_compiler_type: gcc
c_compiler_options: -pipe -O2
cpp_compiler_type: g++
cpp_compiler_options: -pipe -O2
[no_check]
c_compiler_type: gcc
c_compiler_options: -pipe -O1
cpp_compiler_type: g++
cpp_compiler_options: -pipe -O1
[require_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[ensure_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[invariant_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[loop_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[all_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[debug_check]
c_compiler_type: gcc
c_compiler_options: -pipe -g
cpp_compiler_type: g++
cpp_compiler_options: -pipe -g
smarteiffel_options: -no_strip
[release]
c_compiler_type: gcc
c_compiler_options: -pipe -O3 -fomit-frame-pointer
cpp_compiler_type: g++
cpp_compiler_options: -pipe -O3 -fomit-frame-pointer
smarteiffel_options: -no_split -compact