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
cocor Compiler generator that combines the functionality of lex and yacc
1.7_4 lang on this many watch lists=0 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 1.7_3Version of this port present on the latest quarterly branch.
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: 2003-01-18 10:12:33
Last Update: 2024-01-09 09:47:14
Commit Hash: c75c944
License: not specified in port
WWW:
http://www.scifac.ru.ac.za/coco/
Description:
Coco/R combines the functionality of the well-known UNIX tools lex and yacc, to form an extremely easy to use compiler generator that generates recursive descent parsers, their associated scanners, and (in some versions) a driver program, from attributed grammars (written using EBNF syntax with attributes and semantic actions) which conform to the restrictions imposed by LL(1) parsing (rather than LALR parsing, as allowed by yacc). The user has to add modules for symbol table handling, optimization, and code generation in order to get a running compiler. Coco/R can also be used to construct other syntax-based applications that have less of a "compiler" flavour. Coco/R is available in Oberon, Modula-2, Pascal, Delphi, C, Java and C# versions. This port only builds the C/C++ version.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (157 items)
Collapse this list.
  1. bin/cocor
  2. lib/cocor/cplus2/cr_abs.cpp
  3. lib/cocor/cplus2/cr_abs.hpp
  4. lib/cocor/cplus2/cr_abs.o
  5. lib/cocor/cplus2/cr_error.cpp
  6. lib/cocor/cplus2/cr_error.hpp
  7. lib/cocor/cplus2/cr_error.o
  8. lib/cocor/cplus2/cr_lib.a
  9. lib/cocor/cplus2/cr_parse.cpp
  10. lib/cocor/cplus2/cr_parse.hpp
  11. lib/cocor/cplus2/cr_parse.o
  12. lib/cocor/cplus2/cr_scan.cpp
  13. lib/cocor/cplus2/cr_scan.hpp
  14. lib/cocor/cplus2/cr_scan.o
  15. lib/cocor/cplus2/unix.mk
  16. lib/cocor/taste/crossref.c
  17. lib/cocor/taste/crossref.h
  18. lib/cocor/taste/crossref.o
  19. lib/cocor/taste/pretty
  20. lib/cocor/taste/pretty.atg
  21. lib/cocor/taste/pretty.c
  22. lib/cocor/taste/pretty.o
  23. lib/cocor/taste/prettyc.h
  24. lib/cocor/taste/prettye.h
  25. lib/cocor/taste/prettyp.c
  26. lib/cocor/taste/prettyp.h
  27. lib/cocor/taste/prettyp.o
  28. lib/cocor/taste/prettypr.c
  29. lib/cocor/taste/prettypr.h
  30. lib/cocor/taste/prettypr.o
  31. lib/cocor/taste/prettys.c
  32. lib/cocor/taste/prettys.h
  33. lib/cocor/taste/prettys.o
  34. lib/cocor/taste/taste
  35. lib/cocor/taste/taste.atg
  36. lib/cocor/taste/taste.c
  37. lib/cocor/taste/taste.frm
  38. lib/cocor/taste/taste.o
  39. lib/cocor/taste/tastec.h
  40. lib/cocor/taste/tastee.h
  41. lib/cocor/taste/tastep.c
  42. lib/cocor/taste/tastep.h
  43. lib/cocor/taste/tastep.o
  44. lib/cocor/taste/tastes.c
  45. lib/cocor/taste/tastes.h
  46. lib/cocor/taste/tastes.o
  47. lib/cocor/taste/tc.c
  48. lib/cocor/taste/tc.h
  49. lib/cocor/taste/tc.o
  50. lib/cocor/taste/test.tas
  51. lib/cocor/taste/tl.c
  52. lib/cocor/taste/tl.h
  53. lib/cocor/taste/tl.o
  54. lib/cocor/taste/unix.mk
  55. lib/cocor/taste/wrong.tas
  56. lib/cocor/taste/xref
  57. lib/cocor/taste/xref.atg
  58. lib/cocor/taste/xref.c
  59. lib/cocor/taste/xref.frm
  60. lib/cocor/taste/xref.o
  61. lib/cocor/taste/xrefc.h
  62. lib/cocor/taste/xrefe.h
  63. lib/cocor/taste/xrefp.c
  64. lib/cocor/taste/xrefp.h
  65. lib/cocor/taste/xrefp.o
  66. lib/cocor/taste/xrefs.c
  67. lib/cocor/taste/xrefs.h
  68. lib/cocor/taste/xrefs.o
  69. lib/cocor/taste_cp/crossref.cpp
  70. lib/cocor/taste_cp/crossref.hpp
  71. lib/cocor/taste_cp/crossref.o
  72. lib/cocor/taste_cp/pretty
  73. lib/cocor/taste_cp/pretty.atg
  74. lib/cocor/taste_cp/pretty.cpp
  75. lib/cocor/taste_cp/pretty.o
  76. lib/cocor/taste_cp/prettyc.hpp
  77. lib/cocor/taste_cp/prettye.hpp
  78. lib/cocor/taste_cp/prettyp.cpp
  79. lib/cocor/taste_cp/prettyp.hpp
  80. lib/cocor/taste_cp/prettyp.o
  81. lib/cocor/taste_cp/prettypr.cpp
  82. lib/cocor/taste_cp/prettypr.hpp
  83. lib/cocor/taste_cp/prettypr.o
  84. lib/cocor/taste_cp/prettys.cpp
  85. lib/cocor/taste_cp/prettys.hpp
  86. lib/cocor/taste_cp/prettys.o
  87. lib/cocor/taste_cp/taste
  88. lib/cocor/taste_cp/taste.atg
  89. lib/cocor/taste_cp/taste.cpp
  90. lib/cocor/taste_cp/taste.frm
  91. lib/cocor/taste_cp/taste.o
  92. lib/cocor/taste_cp/tastec.hpp
  93. lib/cocor/taste_cp/tastee.hpp
  94. lib/cocor/taste_cp/tastep.cpp
  95. lib/cocor/taste_cp/tastep.hpp
  96. lib/cocor/taste_cp/tastep.o
  97. lib/cocor/taste_cp/tastes.cpp
  98. lib/cocor/taste_cp/tastes.hpp
  99. lib/cocor/taste_cp/tastes.o
  100. lib/cocor/taste_cp/tc.cpp
  101. lib/cocor/taste_cp/tc.hpp
  102. lib/cocor/taste_cp/tc.o
  103. lib/cocor/taste_cp/test.tas
  104. lib/cocor/taste_cp/tl.cpp
  105. lib/cocor/taste_cp/tl.hpp
  106. lib/cocor/taste_cp/tl.o
  107. lib/cocor/taste_cp/unix.mk
  108. lib/cocor/taste_cp/wrong.tas
  109. lib/cocor/taste_cp/xref
  110. lib/cocor/taste_cp/xref.atg
  111. lib/cocor/taste_cp/xref.cpp
  112. lib/cocor/taste_cp/xref.frm
  113. lib/cocor/taste_cp/xref.o
  114. lib/cocor/taste_cp/xrefc.hpp
  115. lib/cocor/taste_cp/xrefe.hpp
  116. lib/cocor/taste_cp/xrefp.cpp
  117. lib/cocor/taste_cp/xrefp.hpp
  118. lib/cocor/taste_cp/xrefp.o
  119. lib/cocor/taste_cp/xrefs.cpp
  120. lib/cocor/taste_cp/xrefs.hpp
  121. lib/cocor/taste_cp/xrefs.o
  122. share/man/man1/cocor.1.gz
  123. share/cocor/compiler.frm
  124. share/cocor/cplus2/compiler.frm
  125. share/cocor/cplus2/parser_c.frm
  126. share/cocor/cplus2/parser_h.frm
  127. share/cocor/cplus2/scan_c.frm
  128. share/cocor/cplus2/scan_h.frm
  129. share/cocor/parser_c.frm
  130. share/cocor/parser_h.frm
  131. share/cocor/scan_c.frm
  132. share/cocor/scan_h.frm
  133. share/doc/cocor/coco.use
  134. share/doc/cocor/cocol
  135. share/examples/cocor/adacs.atg
  136. share/examples/cocor/c.atg
  137. share/examples/cocor/calc.atg
  138. share/examples/cocor/calc.inp
  139. share/examples/cocor/cdecl.inp
  140. share/examples/cocor/cdecl1.atg
  141. share/examples/cocor/cdecl2.atg
  142. share/examples/cocor/cdecl3.atg
  143. share/examples/cocor/clang.inp
  144. share/examples/cocor/clang1.atg
  145. share/examples/cocor/clang2.atg
  146. share/examples/cocor/expr.atg
  147. share/examples/cocor/expr.inp
  148. share/examples/cocor/microada.atg
  149. share/examples/cocor/mod2.atg
  150. share/examples/cocor/oberon.atg
  151. share/examples/cocor/pascal.atg
  152. share/examples/cocor/pimmod2.atg
  153. share/examples/cocor/umbriel1.atg
  154. share/examples/cocor/umbriel2.atg
  155. @owner
  156. @group
  157. @mode
Collapse this list.
Dependency lines:
  • cocor>0:lang/cocor
To install the port:
cd /usr/ports/lang/cocor/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/cocor
  • pkg install cocor
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: cocor
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (cocorc17.tgz) = df9e3650c2c69adc68632e3350e0e7d9dd57775c869bfb4c9bec4b4eb8676e35 SIZE (cocorc17.tgz) = 113249

Packages (timestamps in pop-ups are UTC):
cocor
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.7_41.7_41.7_31.7_41.7_4-1.7_3-
FreeBSD:13:quarterly1.7_31.7_31.7_31.7_31.7_41.7_31.7_31.7_3
FreeBSD:14:latest1.7_41.7_41.7_31.7_41.7_41.7_3-1.7_3
FreeBSD:14:quarterly1.7_31.7_4-1.7_31.7_41.7_31.7_31.7_3
FreeBSD:15:latest1.7_41.7_4n/a1.7_4n/a1.7_41.7_41.7_4
FreeBSD:15:quarterly--n/a-n/a---
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for cocor-1.7_4: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings
Options name:
lang_cocor
USES:
dos2unix tar:tgz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (3 items)
Collapse this list.
  1. ftp://ftp.psg.com/pub/modula-2/coco/
  2. ftp://ftp.ssw.uni-linz.ac.at/pub/Coco/C/
  3. http://www.scifac.ru.ac.za/coco/
Collapse this list.

Number of commits found: 26

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7_4
09 Jan 2024 09:47:14
commit hash: c75c944686415d24160b910420b8cec40549ce46commit hash: c75c944686415d24160b910420b8cec40549ce46commit hash: c75c944686415d24160b910420b8cec40549ce46commit hash: c75c944686415d24160b910420b8cec40549ce46 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
MANPREFIX: eleminate its usage  and move man to share/man
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)
1.7_3
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)
1.7_3
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)
1.7_3
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.
1.7_3
21 Oct 2016 12:51:41
Revision:424411Original commit files touched by this commit 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
1.7_3
28 Aug 2016 09:01:20
Revision:421012Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Switch to options helpers
- Regenerate patches with `make makepatch`
1.7_3
28 May 2015 20:30:32
Revision:387771Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Strip binaries
1.7_2
27 Oct 2014 15:23:31
Revision:371587Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
1.7_2
29 Jul 2014 19:11:53
Revision:363374Original commit files touched by this commit
adamw search for other commits by this committer
Convert a bunch of EXTRACT_SUFX=... into USES=tar:...

Approved by:	portmgr (not really, but touches unstaged ports)
1.7_2
29 Jul 2014 17:12:50
Revision:363362Original commit files touched by this commit
adamw search for other commits by this committer
Rename all patches that contain '::' as a path separator, and use
'__' instead.
1.7_2
31 May 2014 20:17:59
Revision:356017Original commit files touched by this commit
pawel search for other commits by this committer
Add staging support
1.7_2
21 Feb 2014 13:37:50
Revision:345417Original commit files touched by this commit
ehaupt search for other commits by this committer
Remove trailing whitespaces from category lang
1.7_2
10 Feb 2014 13:54:28
Revision:343634Original commit files touched by this commit
ehaupt search for other commits by this committer
According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
1.7_2
19 Nov 2013 23:08:45
Revision:334361Original commit files touched by this commit
mat search for other commits by this committer
- Convert to dos2unix.mk
- While at it convert to gmake.mk ports that still USE_GMAKE.
1.7_2
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)
1.7_2
14 Aug 2013 22:35:54
Revision:324744Original commit files touched by this commit Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
1.7_2
10 Nov 2012 12:14:49
Revision:307273Original commit files touched by this commit
pawel search for other commits by this committer
- Update MASTER_SITES
- Support NO_WRKSUBDIR
- Support COPYTREE_SHARE
- Support PORTEXAMPLES
- Add MAKE_JOBS_SAFE

PR:		ports/172025
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Feature safe:	yes
1.7_1
03 Jul 2011 13:45:36
Original commit files touched by this commit
ohauer search for other commits by this committer
- remove MD5
1.7_1
25 Mar 2009 12:35:49
Original commit files touched by this commit
arved search for other commits by this committer
Fix make -j
1.7_1
27 Dec 2006 20:22:29
Original commit files touched by this commit
linimon search for other commits by this committer
Maintainer's email address bounces.

Hat:            portmgr
1.7_1
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@
1.7_1
31 Mar 2004 03:12:58
Original commit files touched by this commit
trevor search for other commits by this committer
SIZEify (maintainer timeout)
1.7_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)
1.7
17 Feb 2003 13:53:37
Original commit files touched by this commit
leeym search for other commits by this committer
update to cocor-1.7, switch to new master site and apply COMMENT.

PR:             48380
Submitted by:   Guy Antony Halse <guy@rucus.net>
1.6
18 Jan 2003 10:12:08
Original commit files touched by this commit
edwin search for other commits by this committer
New port: lang/cocor (Coco/R, a compiler generator)

        Coco/R is a recursive decent compiler generator.  This is
        a FreeBSD port of the C/C++ version of Coco/R.

PR:             ports/36251
Submitted by:   Guy Antony Halse <guy@rucus.ru.ac.za>

Number of commits found: 26