Package: fpc
Version: 1.9.8
Revision: 1
Source: ftp://ftp.freepascal.org/mirrors/fpc/beta/source-%v/%n-%v.source.tar.gz
Source-MD5: 9b459ccf4273bde8e6f5e32cbd488ecc
Source2: ftp://ftp.freepascal.org/mirrors/fpc/beta/source-%v/%n-%v.darwin.bootstrap.tar.gz
Source2-MD5: 632dfd942aeea0155dea571654e86eb9
SourceDirectory: fpc
CompileScript: <<
# replace /sw with the correct path in the default fpc.cfg file
sed -e 's|/PREFIX|%p|g' -e 's|VERSION|%v|g' <%b/../fpc.cfg.in >%b/../fpc.cfg
# compile the stuff
make clean PP=%b/../ppcppc
make compiler_cycle PP=%b/../ppcppc
make -C rtl PP=%b/compiler/ppcppc OPT="-gl -g"
make packages_base_all fcl PP=%b/compiler/ppcppc OPT="-gl -g"
make packages_extra_all PP=%b/compiler/ppcppc OPT="-gl -g"
make utils PP=%b/compiler/ppcppc DATA2INC=%b/utils/data2inc OPT="-gl -g"
make fv ide PP=%b/compiler/ppcppc OPT="-gl -g"
<<
InstallScript: <<
make compiler_install rtl_install utils_install INSTALL_PREFIX=%i PP=%b/compiler/ppcppc FPCMAKE=%b/utils/fpcm/fpcmake
make fcl_install packages_install INSTALL_PREFIX=%i PP=%b/compiler/ppcppc FPCMAKE=%b/utils/fpcm/fpcmake
make fv_install ide_install INSTALL_PREFIX=%i PP=%b/compiler/ppcppc FPCMAKE=%b/utils/fpcm/fpcmake
mkdir %i/etc
install -c -m 644 %b/../fpc.cfg %i/etc/
<<
ConfFiles: %p/etc/fpc.cfg
License: GPL
Description: Free Pascal (aka FPK Pascal) compiler
DescDetail: <<
Free Pascal (aka FPK Pascal) is a 32 or 64 bit (from 1.9.6) pascal compiler. It is available for different processors Intel x86, Amd64/x86Ê64 (from 1.9.6), PowerPC (from 1.9.2), Sparc (from 1.9.6) and Motorola 680x0 (1.0.x only). The following operating systems are supported Linux, FreeBSD, NetBSD, MacOSX/Darwin, MacOS classic, DOS, Win32, OS/2, BeOS, SunOS (Solaris), Netware (libc and classic), QNX and Classic Amiga. 

The language syntax is semantically compatible with TP 7.0 as well as most versions of Delphi (classes, rtti, exceptions, ansistrings, widestrings, interfaces). Furthermore Free Pascal supports function overloading, operator overloading, global properties and other such features.
<<
DescPort: <<
 Nothing special, yet. ToDo: .fpc.cfg, fcl, docs, split of packages, fv&ide, lazarus.
<<
Homepage: http://www.freepascal.org
Maintainer: Karl-Michael Schindler <schindler@physik.uni-halle.de>
