notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
ptoc ANSI/Turbo Pascal to C/C++ converter
3.58_1 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 View this port on Repology. pkg-fallout 3.58_1Version of this port present on the latest quarterly branch.
Maintainer: osa@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: python-doc-html, mscompress, pdflib
License: not specified in port
WWW:
http://www.garret.ru/~knizhnik/
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).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (52 items)
Collapse this list.
  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. @owner
  51. @group
  52. @mode
Collapse this list.
Dependency lines:
  • ptoc>0:lang/ptoc
To install the port:
cd /usr/ports/lang/ptoc/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/ptoc
  • pkg install ptoc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ptoc
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (ptoc-3.58.tar.gz) = 671d0a5e1a49aa3368bbfa8cb0de4bc52d7a0b804774571923f2b085c986d084 SIZE (ptoc-3.58.tar.gz) = 270507

Packages (timestamps in pop-ups are UTC):
ptoc
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.58_13.58_13.58_13.58_13.58_1-3.58_1-
FreeBSD:13:quarterly3.58_13.58_13.58_13.58_13.58_13.58_13.58_13.58_1
FreeBSD:14:latest3.58_13.58_13.58_13.58_13.58_13.58_1-3.58_1
FreeBSD:14:quarterly3.58_13.58_1-3.58_13.58_13.58_13.58_13.58_1
FreeBSD:15:latest3.58_13.58_1n/a3.58_1n/a3.58_13.58_13.58_1
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
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_1: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings
Options name:
lang_ptoc
USES:
bison xorg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. http://www.garret.ru/
Collapse this list.

Number of commits found: 37

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
3.58_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.58_1
20 Jul 2022 14:22:15
commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
lang: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alonso Cardenas Marquez <acm@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrey Zakhvatov
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Anton Berezin <tobez@tobez.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.58_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.58_1
26 Jan 2021 13:59:25
Revision:562665Original commit files touched by this commit
sunpoet search for other commits by this committer
Fix build with bison 3.7.4

PR:		248911
Exp-run by:	antoine
3.58_1
06 Nov 2019 18:06:41
Revision:516915Original commit files touched by this commit
zeising search for other commits by this committer
Add USES=xorg USES=gl, ports categories l

Add USES=xorg and USES=gl to ports in categories starting with 'l'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
3.58_1
14 May 2018 21:03:47
Revision:469968Original commit files touched by this commit
osa search for other commits by this committer
Fix build with clang 6.0.

Bump PORTREVISION.
3.58
19 May 2016 10:44:12
Revision:415499Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

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

Approved by:	portmgr@
3.58
20 Sep 2013 19:53:10
Revision:327741Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
3.58
08 Mar 2013 11:32:12
Revision:313635Original commit files touched by this commit
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
3.58
03 Jul 2011 13:45:36
Original commit files touched by this commit
ohauer search for other commits by this committer
- remove MD5
3.58
20 May 2010 14:58:15
Original commit files touched by this commit
osa search for other commits by this committer
Update from 3.56 to 3.58.
3.56_2
06 Mar 2009 12:04:11
Original commit files touched by this commit
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)
3.56_2
19 Apr 2008 17:56:05
Original commit files touched by this commit 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)
3.56_2
24 Mar 2008 23:21:25
Original commit files touched by this commit
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)
3.56_2
17 Oct 2007 10:13:01
Original commit files touched by this commit
ade search for other commits by this committer
Migration from bison 1.x to 2.x

PR:             117086
Tested by:      -exp runs
3.56_1
19 May 2007 20:32:57
Original commit files touched by this commit
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}.
3.56
22 Jan 2006 12:42:24
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
3.56
31 May 2005 08:09:10
Original commit files touched by this commit
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;
     }
3.56
31 May 2005 02:13:50
Original commit files touched by this commit
kris search for other commits by this committer
BROKEN: Size mismatch
3.56
25 Apr 2005 10:24:15
Original commit files touched by this commit
osa search for other commits by this committer
Update to 3.56.
3.55
01 Mar 2004 14:31:55
Original commit files touched by this commit
osa search for other commits by this committer
Update to 3.55.
3.54_1
04 Feb 2004 12:55:42
Original commit files touched by this commit
osa search for other commits by this committer
SIZEfy my ports.
3.54_1
04 Feb 2004 05:21:48
Original commit files touched by this commit
marcus search for other commits by this committer
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
3.54
30 Jan 2004 12:34:05
Original commit files touched by this commit
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
3.54
04 Nov 2003 12:04:00
Original commit files touched by this commit
osa search for other commits by this committer
Make portlint(1) happy.
3.54
24 Sep 2003 13:32:26
Original commit files touched by this commit
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.
3.50
20 Feb 2003 18:38:02
Original commit files touched by this commit
knu search for other commits by this committer
De-pkg-comment.
3.50
02 Dec 2002 16:32:08
Original commit files touched by this commit
marcus search for other commits by this committer
Fix build with bison 1.75.

Reported by:    bento
3.50
07 Nov 2002 03:10:58
Original commit files touched by this commit
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
commit hash: fp1.22453@dev.null.freshports.orgcommit hash: fp1.22453@dev.null.freshports.orgcommit hash: fp1.22453@dev.null.freshports.orgcommit hash: fp1.22453@dev.null.freshports.org 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
commit hash: fp1.5439@dev.null.freshports.orgcommit hash: fp1.5439@dev.null.freshports.orgcommit hash: fp1.5439@dev.null.freshports.orgcommit hash: fp1.5439@dev.null.freshports.org files touched by this commit
kevlo search for other commits by this committer
Upgrade to version 3.50    
08 Oct 2000 04:17:26
commit hash: fp1.4779@dev.null.freshports.orgcommit hash: fp1.4779@dev.null.freshports.orgcommit hash: fp1.4779@dev.null.freshports.orgcommit hash: fp1.4779@dev.null.freshports.org 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
commit hash: fp1.4569@dev.null.freshports.orgcommit hash: fp1.4569@dev.null.freshports.orgcommit hash: fp1.4569@dev.null.freshports.orgcommit hash: fp1.4569@dev.null.freshports.org files touched by this commit
alex search for other commits by this committer
Remove 0-sized, unused file.  

Number of commits found: 37