---
name: p2c
version: 1.21a_2
origin: lang/p2c
comment: Pascal to C translator
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 694343
desc: |+
  P2c is a tool for translating Pascal programs into C.  The input
  consists of a set of source files in any of the following Pascal
  dialects: HP Pascal, Turbo/UCSD Pascal, DEC VAX Pascal, Oregon
  Software Pascal/2, Macintosh Programmer's Workshop Pascal,
  Sun/Berkeley Pascal, Texas Instruments Pascal, Apollo Domain Pascal.
  Modula-2 syntax is also supported.  Output is a set of .c and .h files
  that comprise an equivalent program in any of several dialects of
  C. Output code may be kept machine- and dialectindependent, or it may
  be targeted to a specific machine and compiler. Most reasonable Pascal
  programs are converted into fully functional C which will compile and
  run with no further modifications, although p2c sometimes chooses to
  generate readable code at the expense of absolute generality.  P2c
  endeavors to insert notes and warning messages into the output code to
  point out areas which may require human intervention.  Output code is
  arranged to be readable and efficient, and to make use of C idioms
  wherever possible.  The main goal of the translation is to produce C
  files which are pleasant and "natural" enough to be acceptable as the
  new source files for a program.  In a pinch, p2c will also serve as an
  ad hoc Pascal compiler.  The p2cc script makes it easy to use p2c as a
  compiler.

categories: [lang]
files:
  /usr/local/bin/p2c: 9559853c55fb247e93444739199311318ed05941664e508b0d139e86545a5039
  /usr/local/bin/p2cc: c609c204305978f90ce66fea639380c0770227fd07cfc525c7539b62f57561ae
  /usr/local/include/p2c/p2c.h: a5b14cef3338bd1a9fe5e3ea3e2f9fea0792c3325de208e1380e66745672d32d
  /usr/local/lib/libp2c.a: b112c6ca2b7669c8e24688e70ea6cb3bb9867c7dc6ce95d5dc7f78d5595c446e
  /usr/local/lib/p2c/loc.p2crc: 12ceee49aee65de92c18d4b445ec4befeb3eb047c70980714f0c9139c558c64e
  /usr/local/lib/p2c/p2crc: ca8f8a2e9f76a969d0c1ea603f27c63e5d003de96a26896bd2bf150e13f5f38c
  /usr/local/lib/p2c/string.pas: 20a9acf688bafdf0b9e4e8d1ea3a377057e51b6965c533394e281fa1f75ef736
  /usr/local/lib/p2c/system.imp: 1c676befd90198057007ca95d696dee38b8c7bf319b7c23e20ab5276cc60958c
  /usr/local/lib/p2c/system.m2: fa5ab7437e69322fccd140eb33b9b1b167e6bcb25ecf5dc5c6a82245e3d8adcf
  /usr/local/lib/p2c/turbo.imp: e690ccd3a2028623e89531b2926c1f3bf449c908378bd15a3b1d631588b2cb7b
  /usr/local/man/man1/p2c.1.gz: 90aead6a98006ddf0f524b571295d44f891d115bd245dc02ea5f6099914ac0cb
  /usr/local/man/man1/p2cc.1.gz: 0bd3778472a0f8014e9c051e8cd7788bc2fb9b403bedfe602e26137e98de11f3
directories:
  /usr/local/lib/p2c/: n
  /usr/local/include/p2c/: n
scripts: {}
