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

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details on branch 2025Q2
pcre2 Perl Compatible Regular Expressions library, version 2
10.45 devel on this many watch lists=39 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 10.45Version of this port present on the latest quarterly branch.
Maintainer: krion@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2015-08-25 17:31:42
Last Update: 2025-02-06 09:40:08
Commit Hash: 46124cf
People watching this port, also watch:: libiconv, readline, pkg, gettext-runtime, indexinfo
License: BSD3CLAUSE
WWW:
https://www.pcre.org/
Description:
PCRE2 is the name used for a revised API for the PCRE library, which is a set of functions, written in C, that implement regular expression pattern matching using the same syntax and semantics as Perl, with just a few differences. Some features that appeared in Python and the original PCRE before they appeared in Perl are also available using the Python syntax. There is also some support for one or two .NET and Oniguruma syntax items, and there are options for requesting some minor changes that give better ECMAScript (aka JavaScript) compatibility.
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 (131 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/pcre2-10.45/catalog.mk
  3. /usr/local/share/licenses/pcre2-10.45/LICENSE
  4. /usr/local/share/licenses/pcre2-10.45/BSD3CLAUSE
  5. bin/pcre2-config
  6. bin/pcre2grep
  7. bin/pcre2test
  8. include/pcre2.h
  9. include/pcre2posix.h
  10. lib/libpcre2-16.a
  11. lib/libpcre2-16.so
  12. lib/libpcre2-16.so.0
  13. lib/libpcre2-16.so.0.14.0
  14. lib/libpcre2-32.a
  15. lib/libpcre2-32.so
  16. lib/libpcre2-32.so.0
  17. lib/libpcre2-32.so.0.14.0
  18. lib/libpcre2-8.a
  19. lib/libpcre2-8.so
  20. lib/libpcre2-8.so.0
  21. lib/libpcre2-8.so.0.14.0
  22. lib/libpcre2-posix.a
  23. lib/libpcre2-posix.so
  24. lib/libpcre2-posix.so.3
  25. lib/libpcre2-posix.so.3.0.6
  26. libdata/pkgconfig/libpcre2-16.pc
  27. libdata/pkgconfig/libpcre2-32.pc
  28. libdata/pkgconfig/libpcre2-8.pc
  29. libdata/pkgconfig/libpcre2-posix.pc
  30. share/man/man1/pcre2-config.1.gz
  31. share/man/man1/pcre2grep.1.gz
  32. share/man/man1/pcre2test.1.gz
  33. share/man/man3/pcre2.3.gz
  34. share/man/man3/pcre2_callout_enumerate.3.gz
  35. share/man/man3/pcre2_code_copy.3.gz
  36. share/man/man3/pcre2_code_copy_with_tables.3.gz
  37. share/man/man3/pcre2_code_free.3.gz
  38. share/man/man3/pcre2_compile.3.gz
  39. share/man/man3/pcre2_compile_context_copy.3.gz
  40. share/man/man3/pcre2_compile_context_create.3.gz
  41. share/man/man3/pcre2_compile_context_free.3.gz
  42. share/man/man3/pcre2_config.3.gz
  43. share/man/man3/pcre2_convert_context_copy.3.gz
  44. share/man/man3/pcre2_convert_context_create.3.gz
  45. share/man/man3/pcre2_convert_context_free.3.gz
  46. share/man/man3/pcre2_converted_pattern_free.3.gz
  47. share/man/man3/pcre2_dfa_match.3.gz
  48. share/man/man3/pcre2_general_context_copy.3.gz
  49. share/man/man3/pcre2_general_context_create.3.gz
  50. share/man/man3/pcre2_general_context_free.3.gz
  51. share/man/man3/pcre2_get_error_message.3.gz
  52. share/man/man3/pcre2_get_mark.3.gz
  53. share/man/man3/pcre2_get_match_data_size.3.gz
  54. share/man/man3/pcre2_get_ovector_count.3.gz
  55. share/man/man3/pcre2_get_ovector_pointer.3.gz
  56. share/man/man3/pcre2_get_startchar.3.gz
  57. share/man/man3/pcre2_jit_compile.3.gz
  58. share/man/man3/pcre2_jit_free_unused_memory.3.gz
  59. share/man/man3/pcre2_jit_match.3.gz
  60. share/man/man3/pcre2_jit_stack_assign.3.gz
  61. share/man/man3/pcre2_jit_stack_create.3.gz
  62. share/man/man3/pcre2_jit_stack_free.3.gz
  63. share/man/man3/pcre2_maketables.3.gz
  64. share/man/man3/pcre2_maketables_free.3.gz
  65. share/man/man3/pcre2_match.3.gz
  66. share/man/man3/pcre2_match_context_copy.3.gz
  67. share/man/man3/pcre2_match_context_create.3.gz
  68. share/man/man3/pcre2_match_context_free.3.gz
  69. share/man/man3/pcre2_match_data_create.3.gz
  70. share/man/man3/pcre2_match_data_create_from_pattern.3.gz
  71. share/man/man3/pcre2_match_data_free.3.gz
  72. share/man/man3/pcre2_get_match_data_heapframes_size.3.gz
  73. share/man/man3/pcre2_pattern_convert.3.gz
  74. share/man/man3/pcre2_pattern_info.3.gz
  75. share/man/man3/pcre2_serialize_decode.3.gz
  76. share/man/man3/pcre2_serialize_encode.3.gz
  77. share/man/man3/pcre2_serialize_free.3.gz
  78. share/man/man3/pcre2_serialize_get_number_of_codes.3.gz
  79. share/man/man3/pcre2_set_bsr.3.gz
  80. share/man/man3/pcre2_set_callout.3.gz
  81. share/man/man3/pcre2_set_character_tables.3.gz
  82. share/man/man3/pcre2_set_compile_extra_options.3.gz
  83. share/man/man3/pcre2_set_compile_recursion_guard.3.gz
  84. share/man/man3/pcre2_set_depth_limit.3.gz
  85. share/man/man3/pcre2_set_glob_escape.3.gz
  86. share/man/man3/pcre2_set_glob_separator.3.gz
  87. share/man/man3/pcre2_set_heap_limit.3.gz
  88. share/man/man3/pcre2_set_match_limit.3.gz
  89. share/man/man3/pcre2_set_max_pattern_compiled_length.3.gz
  90. share/man/man3/pcre2_set_max_pattern_length.3.gz
  91. share/man/man3/pcre2_set_max_varlookbehind.3.gz
  92. share/man/man3/pcre2_set_newline.3.gz
  93. share/man/man3/pcre2_set_offset_limit.3.gz
  94. share/man/man3/pcre2_set_optimize.3.gz
  95. share/man/man3/pcre2_set_parens_nest_limit.3.gz
  96. share/man/man3/pcre2_set_recursion_limit.3.gz
  97. share/man/man3/pcre2_set_recursion_memory_management.3.gz
  98. share/man/man3/pcre2_set_substitute_callout.3.gz
  99. share/man/man3/pcre2_set_substitute_case_callout.3.gz
  100. share/man/man3/pcre2_substitute.3.gz
  101. share/man/man3/pcre2_substring_copy_byname.3.gz
  102. share/man/man3/pcre2_substring_copy_bynumber.3.gz
  103. share/man/man3/pcre2_substring_free.3.gz
  104. share/man/man3/pcre2_substring_get_byname.3.gz
  105. share/man/man3/pcre2_substring_get_bynumber.3.gz
  106. share/man/man3/pcre2_substring_length_byname.3.gz
  107. share/man/man3/pcre2_substring_length_bynumber.3.gz
  108. share/man/man3/pcre2_substring_list_free.3.gz
  109. share/man/man3/pcre2_substring_list_get.3.gz
  110. share/man/man3/pcre2_substring_nametable_scan.3.gz
  111. share/man/man3/pcre2_substring_number_from_name.3.gz
  112. share/man/man3/pcre2api.3.gz
  113. share/man/man3/pcre2build.3.gz
  114. share/man/man3/pcre2callout.3.gz
  115. share/man/man3/pcre2compat.3.gz
  116. share/man/man3/pcre2convert.3.gz
  117. share/man/man3/pcre2demo.3.gz
  118. share/man/man3/pcre2jit.3.gz
  119. share/man/man3/pcre2limits.3.gz
  120. share/man/man3/pcre2matching.3.gz
  121. share/man/man3/pcre2partial.3.gz
  122. share/man/man3/pcre2pattern.3.gz
  123. share/man/man3/pcre2perform.3.gz
  124. share/man/man3/pcre2posix.3.gz
  125. share/man/man3/pcre2sample.3.gz
  126. share/man/man3/pcre2serialize.3.gz
  127. share/man/man3/pcre2syntax.3.gz
  128. share/man/man3/pcre2unicode.3.gz
  129. @owner
  130. @group
  131. @mode
Collapse this list.
Dependency lines:
  • pcre2>0:devel/pcre2
To install the port:
cd /usr/ports/devel/pcre2/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/pcre2
  • pkg install pcre2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: pcre2
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1738825989 SHA256 (pcre2-10.45.tar.bz2) = 21547f3516120c75597e5b30a992e27a592a31950b5140e7b8bfde3f192033c4 SIZE (pcre2-10.45.tar.bz2) = 2072403

Packages (timestamps in pop-ups are UTC):
pcre2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest10.4510.4510.3610.4510.45-10.36-
FreeBSD:13:quarterly10.4310.4310.4210.4310.4310.4210.4210.42
FreeBSD:14:latest10.4510.4510.4210.4510.4510.42-10.42
FreeBSD:14:quarterly10.4310.43-10.4310.4310.4210.4210.42
FreeBSD:15:latest10.4510.45n/a10.45n/a10.42_110.42_110.43
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. pkgconf>=1.3.0_1 : devel/pkgconf
  2. autoconf>=2.72 : devel/autoconf
  3. automake>=1.17 : devel/automake
  4. libtoolize : devel/libtool
This port is required by:
for Build
  1. devel/gitaly
  2. www/angie-module-auth-jwt
  3. www/angie-module-auth-spnego
  4. www/angie-module-brotli
  5. www/angie-module-cache-purge
  6. www/angie-module-dav-ext
  7. www/angie-module-echo
Expand this list (31 items / 24 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. www/angie-module-enhanced-memcached
  3. www/angie-module-eval
  4. www/angie-module-geoip2
  5. www/angie-module-headers-more
  6. www/angie-module-image-filter
  7. www/angie-module-jwt
  8. www/angie-module-keyval
  9. www/angie-module-lua
  10. www/angie-module-ndk
  11. www/angie-module-njs
  12. www/angie-module-perl
  13. www/angie-module-postgres
  14. www/angie-module-redis2
  15. www/angie-module-rtmp
  16. www/angie-module-set-misc
  17. www/angie-module-subs
  18. www/angie-module-testcookie
  19. www/angie-module-upload
  20. www/angie-module-vod
  21. www/angie-module-xslt
  22. Collapse this list.

Deleted ports which required this port:

Expand this list of 4 deleted ports
  1. lang/julia06*
  2. lang/julia07*
  3. lang/julia10*
  4. lang/julia11*
  5. Collapse this list of deleted ports.
for Libraries
  1. audio/mumble
  2. audio/ncmpc
  3. audio/zrythm
  4. cad/libredwg
  5. comms/xastir
  6. databases/mariadb1011-client
  7. databases/mariadb1011-server
Expand this list (225 items / 218 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/mariadb105-client
  3. databases/mariadb105-server
  4. databases/mariadb106-client
  5. databases/mariadb106-server
  6. databases/mariadb114-client
  7. databases/mariadb114-server
  8. databases/postgis33
  9. databases/postgis34
  10. databases/postgis35
  11. deskutils/gucharmap
  12. devel/R-cran-rJava
  13. devel/android-tools
  14. devel/git
  15. devel/gitaly
  16. devel/glib20
  17. devel/godot
  18. devel/godot-tools
  19. devel/godot35
  20. devel/godot35-tools
  21. devel/libgit2
  22. devel/libnjs
  23. devel/ocaml-pcre2
  24. devel/pecl-pcov
  25. devel/poco
  26. devel/qt5-core
  27. devel/qt6-base
  28. devel/root
  29. devel/shards
  30. devel/sord
  31. devel/swig
  32. devel/universal-ctags
  33. editors/editorconfig-core-c
  34. editors/lite-xl
  35. editors/mle
  36. editors/pragtical
  37. editors/vscode
  38. editors/xmlcopyeditor
  39. emulators/vice
  40. ftp/proftpd
  41. games/naev
  42. graphics/gdal
  43. graphics/gmt
  44. irc/unreal
  45. lang/crystal
  46. lang/julia
  47. lang/njs
  48. lang/php81
  49. lang/php82
  50. lang/php83
  51. lang/php84
  52. lang/rizin
  53. lang/swipl
  54. mail/astroid
  55. mail/courier
  56. mail/courier-imap
  57. mail/cyrus-imapd310
  58. mail/exim
  59. mail/exim-ldap2
  60. mail/exim-monitor
  61. mail/exim-mysql
  62. mail/exim-postgresql
  63. mail/exim-sa-exim
  64. mail/exim-sqlite
  65. mail/fdm
  66. mail/imapfilter
  67. mail/maildrop
  68. mail/mboxgrep
  69. mail/mfmod_pcre
  70. mail/neomutt
  71. mail/postfix
  72. mail/postfix-current
  73. mail/rspamd
  74. mail/rspamd-devel
  75. math/R
  76. math/libRmath
  77. math/octave-forge-strings
  78. math/py-rpy2
  79. misc/boxes
  80. net/dico
  81. net/frr10
  82. net/frr8
  83. net/frr9
  84. net/haproxy
  85. net/haproxy-devel
  86. net/haproxy25
  87. net/haproxy26
  88. net/haproxy27
  89. net/haproxy28
  90. net/haproxy29
  91. net/libyang2
  92. net/sslh
  93. net/vinagre
  94. net/wireshark
  95. net-mgmt/netdata
  96. net-mgmt/zabbix6-agent
  97. net-mgmt/zabbix6-proxy
  98. net-mgmt/zabbix6-server
  99. net-mgmt/zabbix7-agent
  100. net-mgmt/zabbix7-proxy
  101. net-mgmt/zabbix7-server
  102. net-mgmt/zabbix72-agent
  103. net-mgmt/zabbix72-proxy
  104. net-mgmt/zabbix72-server
  105. news/leafnode
  106. news/tin
  107. ports-mgmt/pkg-provides
  108. science/afni
  109. security/aide
  110. security/bruteblock
  111. security/clamav
  112. security/clamav-lts
  113. security/nmap-devel
  114. security/ossec-hids-agent
  115. security/ossec-hids-local
  116. security/ossec-hids-server
  117. security/snort3
  118. security/snuffleupagus
  119. security/sssd2
  120. security/suricata
  121. shells/fish
  122. sysutils/cfengine
  123. sysutils/cfengine-devel
  124. sysutils/cfengine-lts
  125. sysutils/cfengine324
  126. sysutils/cfengine325
  127. sysutils/fdupes
  128. sysutils/fsearch
  129. sysutils/lnav
  130. sysutils/logstalgia
  131. sysutils/syslog-ng
  132. textproc/confget
  133. textproc/gnugrep
  134. textproc/link-grammar
  135. textproc/ripgrep
  136. textproc/sigil
  137. textproc/ugrep
  138. www/angie
  139. www/apache24
  140. www/bluefish
  141. www/edbrowse
  142. www/freenginx
  143. www/freenginx-devel
  144. www/lagrange
  145. www/lighttpd
  146. www/mod_auth_openidc
  147. www/mod_php81
  148. www/mod_php82
  149. www/mod_php83
  150. www/mod_php84
  151. www/mod_qos
  152. www/nginx
  153. www/nginx-devel
  154. www/nginx-full
  155. www/nginx-lite
  156. www/nginx-naxsi
  157. www/pound
  158. www/privoxy
  159. www/restinio
  160. www/unit
  161. www/unit-java
  162. www/unit-perl
  163. www/unit-php
  164. www/unit-python
  165. www/unit-ruby
  166. www/unit-wasm
  167. www/varnish7
  168. www/xapian-omega
  169. x11/elementary-terminal
  170. x11/gnome-console
  171. x11/gnome-terminal
  172. x11/mate-terminal
  173. x11/roxterm
  174. x11/xfce4-terminal
  175. x11/xfce4-verve-plugin
  176. x11-fm/thunar
  177. x11-toolkits/gtksourceview5
  178. x11-toolkits/termit
  179. x11-toolkits/vte3
  180. x11-toolkits/wxgtk32
  181. x11-wm/i3
  182. x11-wm/picom
  183. x11-wm/sway
  184. x11-wm/swayfx
  185. Collapse this list.

Deleted ports which required this port:

Expand this list of 35 deleted ports
  1. chinese/tin*
  2. databases/mariadb114-connector-c*
  3. devel/anjuta*
  4. editors/atom*
  5. emulators/qemu2*
  6. emulators/qemu30*
  7. emulators/qemu40*
  8. emulators/qemu41*
  9. emulators/qemu42*
  10. emulators/qemu5*
  11. emulators/qemu50*
  12. lang/J*
  13. lang/julia06*
  14. lang/julia07*
  15. lang/julia10*
  16. lang/julia11*
  17. lang/php73*
  18. lang/php74*
  19. lang/php80*
  20. math/sage*
  21. net-mgmt/zabbix62-agent*
  22. net-mgmt/zabbix62-proxy*
  23. net-mgmt/zabbix62-server*
  24. net-mgmt/zabbix64-agent*
  25. net-mgmt/zabbix64-proxy*
  26. net-mgmt/zabbix64-server*
  27. security/clamav-milter*
  28. security/sssd-devel*
  29. www/lighttpd-mod_h264_streaming*
  30. www/mod_php73*
  31. www/mod_php74*
  32. www/mod_php80*
  33. x11/pantheon-terminal*
  34. x11-wm/i3-gaps*
  35. x11-wm/sway-devel*
  36. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for pcre2-10.45: DOCS=on: Build and/or install documentation LIBBZ2=off: Using pcre2grep with .bz2 files LIBZ=off: Using pcre2grep with .gz files ====> Command-line interface support: you can only select none or one of them LIBEDIT=off: Command line editing via libedit READLINE=off: Command line editing via libreadline ===> Use 'make config' to modify these settings
Options name:
devel_pcre2
USES:
autoreconf cpe libtool pkgconfig tar:bz2
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.45/
Collapse this list.

There are no commits on branch 2025Q2 for this port