FreeBSD Ports

lang/ptoc 3.58_1

ANSI/Turbo Pascal to C/C++ converter

Repository
FreeBSD ports
Maintainer
[email protected]
Categories
lang
Package size
179.0 KiB, 741.6 KiB installed

Description

This is yet another ANSI/Turbo Pascal to C/C++ converter together with BGI graphics library emulation for X Window System.

Converter recognizes Pascal dialects which are compatible with Turbo Pascal 4.0/5.0 and ISO Pascal standard - IEC 7185:1990(E) (including conformant arrays). Now it is tuned for Oregon Pascal-2 V2.1 which has few extensions to standard Pascal.

Converter can produce both C++ and C output.

Now PTOC recognizes Turbo Pascal's extensions, such as units, strings, some special types and operations. Turbo Pascal extensions are supported only for C++ language.

Also emulation libraries of Borland Graphics Interface (BGI) for X Window System included in this distribution (BGI emulators can be also used without converter for C programs using BGI).

Install

As a binary package — by origin, or by package name:

pkg install lang/ptoc
pkg install ptoc

From the ports tree:

cd /usr/ports/lang/ptoc/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ptoc>0:lang/ptoc

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.58_13.58_13.58_13.58_13.58_1
FreeBSD:14:quarterly3.58_13.58_1n/a3.58_13.58_1
FreeBSD:15:latest3.58_13.58_1n/a3.58_13.58_1
FreeBSD:15:quarterly3.58_13.58_1n/an/an/a
FreeBSD:16:latest3.58_13.58_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 10
All run dependencies 5

No port depends on this one.

Configuration

Options name: lang_ptoc

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
bison xorg
Service scripts
none

Files

pkg-plist 49
  • bin/cganal
  • bin/ptoc
  • etc/ptoc.cfg
  • include/ptoc/array.h
  • include/ptoc/graph.h
  • include/ptoc/io.h
  • include/ptoc/paslib.h
  • include/ptoc/ptoc.h
  • include/ptoc/set.h
  • lib/libXbgi.a
  • lib/libptoc.a
  • share/doc/ptoc/Readme.htm
  • share/examples/ptoc/arr.pas
  • share/examples/ptoc/bgidemo.pas
  • share/examples/ptoc/ccall.pas
  • share/examples/ptoc/coord.txt
  • share/examples/ptoc/dos.h
  • share/examples/ptoc/dos.pas
  • share/examples/ptoc/func.pas
  • share/examples/ptoc/hello.pas
  • share/examples/ptoc/impact.pas
  • share/examples/ptoc/lister.pas
  • share/examples/ptoc/makefile.bsd
  • share/examples/ptoc/nested.pas
  • share/examples/ptoc/objpas.pas
  • share/examples/ptoc/polut2.pas
  • share/examples/ptoc/printer.pas
  • share/examples/ptoc/q2.txt
  • share/examples/ptoc/random.txt
  • share/examples/ptoc/rename.cxx
  • share/examples/ptoc/rename.pas
  • share/examples/ptoc/set.pas
  • share/examples/ptoc/str.pas
  • share/examples/ptoc/test.c
  • share/examples/ptoc/test.cxx
  • share/examples/ptoc/test.pas
  • share/examples/ptoc/test.txt
  • share/examples/ptoc/tpascal.pas
  • share/examples/ptoc/trinor.pas
  • share/examples/ptoc/vibrkinp.pas
  • share/examples/ptoc/vibrkinp.txt
  • share/examples/ptoc/vibrtabl.pas
  • share/examples/ptoc/war2.pas
  • share/examples/ptoc/war2.txt
  • share/examples/ptoc/xy2.txt
  • share/examples/ptoc/xy2orig.txt
  • share/ptoc/graph.pas
  • share/ptoc/ptoc.pas
  • share/ptoc/tptoc.pas
distinfo 1
FileSizeSHA256
ptoc-3.58.tar.gz270507671d0a5e1a49aa3368bbfa8cb0de4bc52d7a0b804774571923f2b085c986d084
Master sites 1
  • http://www.garret.ru/

Commit history 0

No commits in the history this site was built from.