FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
p2c Pascal to C translator
2.01 lang on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port

There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
License: GPLv2
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 dialect independent, 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.

WWW: https://schneider.ncifcrf.gov/p2c/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/lang/p2c/ && make install clean
To add the package: pkg install p2c

PKGNAME: p2c

distinfo:

SHA256 (p2c-2.01.tar.gz) = a05635e6b0b40bee9617771ba628deefae13369cd7d49bb880cc8590495fcf60
SIZE (p2c-2.01.tar.gz) = 586605


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Runtime dependencies:
  1. perl5>=5.24<5.25 : lang/perl5.24
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
perl5 ncurses shebangfix

Master Sites:
  1. https://schneider.ncifcrf.gov/p2c/

Number of commits found: 20

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
19 Nov 2016 23:51:13
Original commit files touched by this commit  2.01
Revision:426545
marino search for other commits by this committer
lang/p2c, graphics/gle-graphics: Document ncurses requirement

Approved by:	ncurses blanket
10 Nov 2016 01:21:43
Original commit files touched by this commit  2.01
Revision:425823
linimon search for other commits by this committer
Mark as broken on aarch64: fails to link with sbrk.

While here, pet portlint and remove stale ia64 lines.

Approved by:	portmgr (tier-2 blanket)
21 Oct 2016 12:51:41
Original commit files touched by this commit  2.01
Revision:424411  Sanity Test Failure
mat search for other commits by this committer
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
04 Mar 2016 06:46:27
Original commit files touched by this commit  2.01
Revision:410087
wen search for other commits by this committer
- Update to 2.01

PR:		205212
Submitted by:	tkato432@yahoo.com
09 Nov 2015 12:59:04
Original commit files touched by this commit  1.21a_3
Revision:401096
antoine search for other commits by this committer
Mark a few ports BROKEN: unfetchable
08 May 2015 14:04:51
Original commit files touched by this commit  1.21a_3
Revision:385787
amdmi3 search for other commits by this committer
- Don't install static libraries with INSTALL_LIB (part 1/2)

Approved by:	portmgr blanket
MFH:		2015Q2
27 Oct 2014 15:23:31
Original commit files touched by this commit  1.21a_2
Revision:371587
bapt search for other commits by this committer
Cleanup plist
09 Feb 2014 21:55:51
Original commit files touched by this commit  1.21a_2
Revision:343545
marino search for other commits by this committer
lang/p2c: Restore build on DragonFly
19 Dec 2013 16:17:39
Original commit files touched by this commit  1.21a_2
Revision:336934
pawel search for other commits by this committer
- Fix build with clang
- Add LICENSE
- Support staging

PR:		ports/184820
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
20 Sep 2013 19:53:10
Original commit files touched by this commit  1.21a_2
Revision:327741
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
03 Jul 2011 13:45:36
Original commit files touched by this commit  1.21a_2
ohauer search for other commits by this committer
- remove MD5
29 Nov 2008 00:11:56
Original commit files touched by this commit  1.21a_2
linimon search for other commits by this committer
Reset jmz@FreeBSD.org due to no response to email about maintainer-timeout,
and no commit activity for 3 months.

Hat:    portmgr
26 Jan 2006 20:36:12
Original commit files touched by this commit  1.21a_2
jmz search for other commits by this committer
Fix mastersite, now it's fetchable again.

PR:             ports/92385
Submitted by:   Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
22 Jan 2006 12:42:24
Original commit files touched by this commit  1.21a_2
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
13 Apr 2004 00:17:27
Original commit files touched by this commit  1.21a_2
jmz search for other commits by this committer
Install the source instead of the cat-file in ${PREFIX}/man/man1

PR:             65456
18 Mar 2004 02:27:55
Original commit files touched by this commit  1.21a_1
trevor search for other commits by this committer
Add size data.

Approved by:    maintainers
07 Mar 2003 06:05:38
Original commit files touched by this commit  1.21a_1
ade search for other commits by this committer
Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
22 Feb 2002 23:12:23
files touched by this commit
jmz search for other commits by this committer
Add a few functions in p2clib. This fixes bugs occuring with some pascal code.  
 
08 Dec 2000 13:52:45
files touched by this commit
jmz search for other commits by this committer
Update MASTER_SITES    
08 Oct 2000 04:17:26
files touched by this commit
asami search for other commits by this committer
Convert category lang to new layout.  

Number of commits found: 20

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
apache24Dec 06
cryptoppDec 06
mod_http2-develDec 06
py-cryptography*Dec 06
qemu*Dec 06
qemu-devel*Dec 06
qemu-sbruno*Dec 06
chromiumDec 05
ImageMagickDec 04
ImageMagick-nox11Dec 04
ImageMagick7Dec 04
ImageMagick7Dec 04
ImageMagick7-nox11Dec 04
ImageMagick7-nox11Dec 04
py-pillowDec 04

35 vulnerabilities affecting 74 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26955
Broken 313
Deprecated 173
Ignore 577
Forbidden 1
Restricted 214
No CDROM 82
Vulnerable 59
Expired 9
Set to expire 152
Interactive 0
new 24 hours 20
new 48 hours30
new 7 days75
new fortnight125
new month289

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.