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

We also have a status page: https://freshports.wordpress.com/

Port details
ptoc ANSI/Turbo Pascal to C/C++ converter
3.58 lang on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: osa@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
License: not specified in port
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).

WWW: http://www.garret.ru/~knizhnik/
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (49 items)
  1. bin/cganal
  2. bin/ptoc
  3. etc/ptoc.cfg
  4. include/ptoc/array.h
  5. include/ptoc/graph.h
  6. include/ptoc/io.h
  7. include/ptoc/paslib.h
  8. include/ptoc/ptoc.h
  9. include/ptoc/set.h
  10. lib/libXbgi.a
  11. lib/libptoc.a
  12. share/doc/ptoc/Readme.htm
  13. share/examples/ptoc/arr.pas
  14. share/examples/ptoc/bgidemo.pas
  15. share/examples/ptoc/ccall.pas
  16. share/examples/ptoc/coord.txt
  17. share/examples/ptoc/dos.h
  18. share/examples/ptoc/dos.pas
  19. share/examples/ptoc/func.pas
  20. share/examples/ptoc/hello.pas
  21. share/examples/ptoc/impact.pas
  22. share/examples/ptoc/lister.pas
  23. share/examples/ptoc/makefile.bsd
  24. share/examples/ptoc/nested.pas
  25. share/examples/ptoc/objpas.pas
  26. share/examples/ptoc/polut2.pas
  27. share/examples/ptoc/printer.pas
  28. share/examples/ptoc/q2.txt
  29. share/examples/ptoc/random.txt
  30. share/examples/ptoc/rename.cxx
  31. share/examples/ptoc/rename.pas
  32. share/examples/ptoc/set.pas
  33. share/examples/ptoc/str.pas
  34. share/examples/ptoc/test.c
  35. share/examples/ptoc/test.cxx
  36. share/examples/ptoc/test.pas
  37. share/examples/ptoc/test.txt
  38. share/examples/ptoc/tpascal.pas
  39. share/examples/ptoc/trinor.pas
  40. share/examples/ptoc/vibrkinp.pas
  41. share/examples/ptoc/vibrkinp.txt
  42. share/examples/ptoc/vibrtabl.pas
  43. share/examples/ptoc/war2.pas
  44. share/examples/ptoc/war2.txt
  45. share/examples/ptoc/xy2.txt
  46. share/examples/ptoc/xy2orig.txt
  47. share/ptoc/graph.pas
  48. share/ptoc/ptoc.pas
  49. share/ptoc/tptoc.pas
  50. Collapse this list.

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

PKGNAME: ptoc

distinfo:

SHA256 (ptoc-3.58.tar.gz) = 671d0a5e1a49aa3368bbfa8cb0de4bc52d7a0b804774571923f2b085c986d084
SIZE (ptoc-3.58.tar.gz) = 270507


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

Build dependencies:
  1. bison : devel/bison
  2. x11.pc : x11/libX11
Runtime dependencies:
  1. x11.pc : x11/libX11
There are no ports dependent upon this port

Configuration Options
===> The following configuration options are available for ptoc-3.58:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings

USES:
bison

Master Sites:
  1. http://www.garret.ru/

Number of commits found: 30

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
19 May 2016 10:44:12
Original commit files touched by this commit  3.58
Revision:415499
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
27 Oct 2014 15:23:31
Original commit files touched by this commit  3.58
Revision:371587
bapt search for other commits by this committer
Cleanup plist
04 Jul 2014 00:24:35
Original commit files touched by this commit  3.58
Revision:360495  Sanity Test Failure
adamw search for other commits by this committer
Remove NOPORTDOCS and NOPORTEXAMPLES.
17 Jun 2014 13:23:23
Original commit files touched by this commit  3.58
Revision:358113
vanilla search for other commits by this committer
Stagify.

Approved by:	portmgr@
20 Sep 2013 19:53:10
Original commit files touched by this commit  3.58
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)
08 Mar 2013 11:32:12
Original commit files touched by this commit  3.58
Revision:313635
bapt search for other commits by this committer
Convert USE_BISON to USES= bison

It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the
following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
03 Jul 2011 13:45:36
Original commit files touched by this commit  3.58
ohauer search for other commits by this committer
- remove MD5
20 May 2010 14:58:15
Original commit files touched by this commit  3.58
osa search for other commits by this committer
Update from 3.56 to 3.58.
06 Mar 2009 12:04:11
Original commit files touched by this commit  3.56_2
johans search for other commits by this committer
- Update bison to 2.4.1, see announcements for important changes:
  http://lists.gnu.org/archive/html/bug-bison/2008-11/msg00000.html
  http://lists.gnu.org/archive/html/bug-bison/2008-12/msg00000.html
- Take over bison maintainership - as approved by portmgr (marcus)
- Add patches for ports to compile with new bison:
  Replace %{ .. %} with %code { .. } where required
  and accommodate stricter typing requirements
Thanks to pav for an exp-run on pointyhat

PR:             ports/131640
Approved by:    portmgr (pav)
19 Apr 2008 17:56:05
Original commit files touched by this commit  3.56_2
  Sanity Test Failure
miwi search for other commits by this committer
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
        Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
        ehaupt, nox, itetcu, flz, pav

PR:             116263
Tested on:      pointyhat
Approved by:    portmgr (pav)
24 Mar 2008 23:21:25
Original commit files touched by this commit  3.56_2
miwi search for other commits by this committer
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:    portmgr (xorg cleanup)
17 Oct 2007 10:13:01
Original commit files touched by this commit  3.56_2
ade search for other commits by this committer
Migration from bison 1.x to 2.x

PR:             117086
Tested by:      -exp runs
19 May 2007 20:32:57
Original commit files touched by this commit  3.56_1
flz search for other commits by this committer
- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
22 Jan 2006 12:42:24
Original commit files touched by this commit  3.56
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
31 May 2005 08:09:10
Original commit files touched by this commit  3.56
osa search for other commits by this committer
Remove BROKEN.

Author rerolled tarball after bug report and small modification.
Changes:
--- old/ptoc/bring.h    Tue Feb 24 21:40:02 2004
+++ new/ptoc/bring.h    Sun May 15 00:40:19 2005
@@ -69,9 +69,11 @@
     static b_ring *top_b_ring;

     static void push(b_ring* r) {
+       /*
         if (r->outer != NULL) {
             r = new b_ring(r->scope);
         }
+       */
         r->outer = curr_b_ring;
         curr_b_ring = r;
     }
31 May 2005 02:13:50
Original commit files touched by this commit  3.56
kris search for other commits by this committer
BROKEN: Size mismatch
25 Apr 2005 10:24:15
Original commit files touched by this commit  3.56
osa search for other commits by this committer
Update to 3.56.
01 Mar 2004 14:31:55
Original commit files touched by this commit  3.55
osa search for other commits by this committer
Update to 3.55.
04 Feb 2004 12:55:42
Original commit files touched by this commit  3.54_1
osa search for other commits by this committer
SIZEfy my ports.
04 Feb 2004 05:21:48
Original commit files touched by this commit  3.54_1
marcus search for other commits by this committer
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
30 Jan 2004 12:34:05
Original commit files touched by this commit  3.54
osa search for other commits by this committer
Update MD5, author report about make some changes in parser code.
Diff old vs. new version avaliable upon request.

Notify from:    kris via bento
04 Nov 2003 12:04:00
Original commit files touched by this commit  3.54
osa search for other commits by this committer
Make portlint(1) happy.
24 Sep 2003 13:32:26
Original commit files touched by this commit  3.54
osa search for other commits by this committer
Update to 3.54.
Utilize ${DOCSDIR} and ${EXAMPLESDIR}.
Use new name schema for patch files.
Fix ${MASTER_SITES} and home page URL.
Take maintainership.
20 Feb 2003 18:38:02
Original commit files touched by this commit  3.50
knu search for other commits by this committer
De-pkg-comment.
02 Dec 2002 16:32:08
Original commit files touched by this commit  3.50
marcus search for other commits by this committer
Fix build with bison 1.75.

Reported by:    bento
07 Nov 2002 03:10:58
Original commit files touched by this commit  3.50
adamw search for other commits by this committer
Fix PORTCOMMENTs that were killing INDEX builds.

105 pointy hats to:     me
Approved by:            pat
24 Dec 2001 02:17:17
Original commit files touched by this commit
pat search for other commits by this committer
- PORTDOCS police   - DOCSDIR support to some   - Brush out some lint    
24 Oct 2000 17:11:59
Original commit files touched by this commit
kevlo search for other commits by this committer
Upgrade to version 3.50    
08 Oct 2000 04:17:26
Original commit files touched by this commit
asami search for other commits by this committer
Convert category lang to new layout.  
03 Oct 2000 12:04:24
Original commit files touched by this commit
alex search for other commits by this committer
Remove 0-sized, unused file.  

Number of commits found: 30

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
opensslNov 02
openssl-develNov 02
wordpressNov 01
php56Oct 30
php70Oct 30
php71Oct 30
wiresharkOct 30
chromiumOct 28
wgetOct 27
wgetOct 27
openoffice-4*Oct 26
openoffice-devel*Oct 26
gitlabOct 25
nodeOct 25
node4Oct 25

1 vulnerabilities affecting 7 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 31866
Broken 126
Deprecated 55
Ignore 364
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 51
Expired 11
Set to expire 47
Interactive 0
new 24 hours 4
new 48 hours3184
new 7 days3220
new fortnight3394
new month3446

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