Package: pascal-p5 Version: 1.4 Revision: 2018+02+13+5c5909 License: GPL BuildDepends: fpc (>= 3.0.4) Source: mirror:sourceforge:fink/pascalp5-code-5c590984931beaa80dc5089de782cfa5bff1cdf6.zip Source-Checksum: SHA256(ff5157a5a2d1da748d26e8d340c3115e534f54a5fafeb1bad2f5960f74219530) CompileScript: << #!/bin/sh -ev mkdir build fpc -Miso -ap -FEbuild source/pcom.pas fpc -Miso -ap -FEbuild source/pint.pas # create own p5 script. Derived from the one in bin cat > p5 << EOFCFG #!/bin/bash # # Compile with P5 using FreePascal # # Execute with: # # p5 # # Where is the name of the source file without # extention. The Pascal file is compiled and run. # Any compiler errors are output to the screen. # Input and output to and from the running program # are from the console. # The intermediate code is placed in .p5. # if [ -z "\$1" ] then echo "*** Error: Missing parameter" exit 1 fi if [ ! -f \$1.pas ] then echo "*** Error: Missing \$1.pas file" exit 1 fi echo Compiling and running \$1 echo pcom < \$1.pas > \$1.p5 pint < \$1.p5 EOFCFG chmod a+x p5 << InstallScript: << #!/bin/sh -ev mkdir -p %i/bin/ install -c -m 755 build/pint %i/bin/ install -c -m 755 build/pcom %i/bin/ install -c -m 755 p5 %i/bin/ << Description: P5, Zuerich type ISO 7185 Pascal compiler DescDetail: << This is the 5th version of the Pascal-P compiler from Zuerich. It is modified to be ISO 7185 Pascal compliant, both in the implementation language, and in the language it processes. << DescPort: << p5 is a shell script, which calls the compiler pcom and the interpreter pint. The compiler pcom creates an intermediate file NAME.p5, which is run by the interpreter pint. << Homepage: http://www.standardpascal.com/p5.html Maintainer: Karl-Michael Schindler