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
Port details on branch 2023Q3
pcre2 Perl Compatible Regular Expressions library, version 2
10.47_1 devel on this many watch lists=41 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.47_1Version 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-11-25 09:32:18
Commit Hash: 009d7ee
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:
pkg-plist: as obtained via: make generate-plist
Expand this list (135 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/pcre2-10.47_1/catalog.mk
  3. /usr/local/share/licenses/pcre2-10.47_1/LICENSE
  4. /usr/local/share/licenses/pcre2-10.47_1/BSD3CLAUSE
  5. bin/pcre2-config
  6. bin/pcre2grep
  7. include/pcre2.h
  8. include/pcre2posix.h
  9. lib/cmake/pcre2/pcre2-config-version.cmake
  10. lib/cmake/pcre2/pcre2-config.cmake
  11. lib/cmake/pcre2/pcre2-targets-release.cmake
  12. lib/cmake/pcre2/pcre2-targets.cmake
  13. lib/libpcre2-16.a
  14. lib/libpcre2-16.so
  15. lib/libpcre2-16.so.0
  16. lib/libpcre2-16.so.0.15.0
  17. lib/libpcre2-32.a
  18. lib/libpcre2-32.so
  19. lib/libpcre2-32.so.0
  20. lib/libpcre2-32.so.0.15.0
  21. lib/libpcre2-8.a
  22. lib/libpcre2-8.so
  23. lib/libpcre2-8.so.0
  24. lib/libpcre2-8.so.0.15.0
  25. lib/libpcre2-posix.a
  26. lib/libpcre2-posix.so
  27. lib/libpcre2-posix.so.3
  28. lib/libpcre2-posix.so.3.0.7
  29. libdata/pkgconfig/libpcre2-16.pc
  30. libdata/pkgconfig/libpcre2-32.pc
  31. libdata/pkgconfig/libpcre2-8.pc
  32. libdata/pkgconfig/libpcre2-posix.pc
  33. share/man/man1/pcre2-config.1.gz
  34. share/man/man1/pcre2grep.1.gz
  35. share/man/man1/pcre2test.1.gz
  36. share/man/man3/pcre2.3.gz
  37. share/man/man3/pcre2_callout_enumerate.3.gz
  38. share/man/man3/pcre2_code_copy.3.gz
  39. share/man/man3/pcre2_code_copy_with_tables.3.gz
  40. share/man/man3/pcre2_code_free.3.gz
  41. share/man/man3/pcre2_compile.3.gz
  42. share/man/man3/pcre2_compile_context_copy.3.gz
  43. share/man/man3/pcre2_compile_context_create.3.gz
  44. share/man/man3/pcre2_compile_context_free.3.gz
  45. share/man/man3/pcre2_config.3.gz
  46. share/man/man3/pcre2_convert_context_copy.3.gz
  47. share/man/man3/pcre2_convert_context_create.3.gz
  48. share/man/man3/pcre2_convert_context_free.3.gz
  49. share/man/man3/pcre2_converted_pattern_free.3.gz
  50. share/man/man3/pcre2_dfa_match.3.gz
  51. share/man/man3/pcre2_general_context_copy.3.gz
  52. share/man/man3/pcre2_general_context_create.3.gz
  53. share/man/man3/pcre2_general_context_free.3.gz
  54. share/man/man3/pcre2_get_error_message.3.gz
  55. share/man/man3/pcre2_get_mark.3.gz
  56. share/man/man3/pcre2_get_match_data_heapframes_size.3.gz
  57. share/man/man3/pcre2_get_match_data_size.3.gz
  58. share/man/man3/pcre2_get_ovector_count.3.gz
  59. share/man/man3/pcre2_get_ovector_pointer.3.gz
  60. share/man/man3/pcre2_get_startchar.3.gz
  61. share/man/man3/pcre2_jit_compile.3.gz
  62. share/man/man3/pcre2_jit_free_unused_memory.3.gz
  63. share/man/man3/pcre2_jit_match.3.gz
  64. share/man/man3/pcre2_jit_stack_assign.3.gz
  65. share/man/man3/pcre2_jit_stack_create.3.gz
  66. share/man/man3/pcre2_jit_stack_free.3.gz
  67. share/man/man3/pcre2_maketables.3.gz
  68. share/man/man3/pcre2_maketables_free.3.gz
  69. share/man/man3/pcre2_match.3.gz
  70. share/man/man3/pcre2_match_context_copy.3.gz
  71. share/man/man3/pcre2_match_context_create.3.gz
  72. share/man/man3/pcre2_match_context_free.3.gz
  73. share/man/man3/pcre2_match_data_create.3.gz
  74. share/man/man3/pcre2_match_data_create_from_pattern.3.gz
  75. share/man/man3/pcre2_match_data_free.3.gz
  76. share/man/man3/pcre2_next_match.3.gz
  77. share/man/man3/pcre2_pattern_convert.3.gz
  78. share/man/man3/pcre2_pattern_info.3.gz
  79. share/man/man3/pcre2_serialize_decode.3.gz
  80. share/man/man3/pcre2_serialize_encode.3.gz
  81. share/man/man3/pcre2_serialize_free.3.gz
  82. share/man/man3/pcre2_serialize_get_number_of_codes.3.gz
  83. share/man/man3/pcre2_set_bsr.3.gz
  84. share/man/man3/pcre2_set_callout.3.gz
  85. share/man/man3/pcre2_set_character_tables.3.gz
  86. share/man/man3/pcre2_set_compile_extra_options.3.gz
  87. share/man/man3/pcre2_set_compile_recursion_guard.3.gz
  88. share/man/man3/pcre2_set_depth_limit.3.gz
  89. share/man/man3/pcre2_set_glob_escape.3.gz
  90. share/man/man3/pcre2_set_glob_separator.3.gz
  91. share/man/man3/pcre2_set_heap_limit.3.gz
  92. share/man/man3/pcre2_set_match_limit.3.gz
  93. share/man/man3/pcre2_set_max_pattern_compiled_length.3.gz
  94. share/man/man3/pcre2_set_max_pattern_length.3.gz
  95. share/man/man3/pcre2_set_max_varlookbehind.3.gz
  96. share/man/man3/pcre2_set_newline.3.gz
  97. share/man/man3/pcre2_set_offset_limit.3.gz
  98. share/man/man3/pcre2_set_optimize.3.gz
  99. share/man/man3/pcre2_set_parens_nest_limit.3.gz
  100. share/man/man3/pcre2_set_recursion_limit.3.gz
  101. share/man/man3/pcre2_set_recursion_memory_management.3.gz
  102. share/man/man3/pcre2_set_substitute_callout.3.gz
  103. share/man/man3/pcre2_set_substitute_case_callout.3.gz
  104. share/man/man3/pcre2_substitute.3.gz
  105. share/man/man3/pcre2_substring_copy_byname.3.gz
  106. share/man/man3/pcre2_substring_copy_bynumber.3.gz
  107. share/man/man3/pcre2_substring_free.3.gz
  108. share/man/man3/pcre2_substring_get_byname.3.gz
  109. share/man/man3/pcre2_substring_get_bynumber.3.gz
  110. share/man/man3/pcre2_substring_length_byname.3.gz
  111. share/man/man3/pcre2_substring_length_bynumber.3.gz
  112. share/man/man3/pcre2_substring_list_free.3.gz
  113. share/man/man3/pcre2_substring_list_get.3.gz
  114. share/man/man3/pcre2_substring_nametable_scan.3.gz
  115. share/man/man3/pcre2_substring_number_from_name.3.gz
  116. share/man/man3/pcre2api.3.gz
  117. share/man/man3/pcre2build.3.gz
  118. share/man/man3/pcre2callout.3.gz
  119. share/man/man3/pcre2compat.3.gz
  120. share/man/man3/pcre2convert.3.gz
  121. share/man/man3/pcre2demo.3.gz
  122. share/man/man3/pcre2jit.3.gz
  123. share/man/man3/pcre2limits.3.gz
  124. share/man/man3/pcre2matching.3.gz
  125. share/man/man3/pcre2partial.3.gz
  126. share/man/man3/pcre2pattern.3.gz
  127. share/man/man3/pcre2perform.3.gz
  128. share/man/man3/pcre2posix.3.gz
  129. share/man/man3/pcre2sample.3.gz
  130. share/man/man3/pcre2serialize.3.gz
  131. share/man/man3/pcre2syntax.3.gz
  132. share/man/man3/pcre2unicode.3.gz
  133. @owner
  134. @group
  135. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
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 = 1761177391 SHA256 (pcre2-10.47.tar.bz2) = 47fe8c99461250d42f89e6e8fdaeba9da057855d06eb7fc08d9ca03fd08d7bc7 SIZE (pcre2-10.47.tar.bz2) = 2145789

Packages (timestamps in pop-ups are UTC):
pcre2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest10.47_110.47_110.3610.45_110.47_1n/an/an/a
FreeBSD:13:quarterly10.4610.4610.4210.45_110.46n/an/an/a
FreeBSD:14:latest10.47_110.47_110.4210.45_110.47_110.42-10.42
FreeBSD:14:quarterly10.4610.46-10.45_110.4610.4210.4210.42
FreeBSD:15:latest10.47_110.47_1n/a10.45_1n/an/a10.42_110.43
FreeBSD:15:quarterly10.4610.46n/a-n/an/a--
FreeBSD:16:latest10.47_110.47_1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. pkgconf>=1.3.0_1 : devel/pkgconf
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-auth-totp
  5. www/angie-module-brotli
  6. www/angie-module-cache-purge
  7. www/angie-module-dav-ext
Expand this list (33 items / 26 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. www/angie-module-echo
  3. www/angie-module-enhanced-memcached
  4. www/angie-module-eval
  5. www/angie-module-geoip2
  6. www/angie-module-headers-more
  7. www/angie-module-image-filter
  8. www/angie-module-jwt
  9. www/angie-module-keyval
  10. www/angie-module-lua
  11. www/angie-module-ndk
  12. www/angie-module-njs
  13. www/angie-module-perl
  14. www/angie-module-postgres
  15. www/angie-module-redis2
  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. www/angie-module-zstd
  23. Collapse this list.

Deleted ports which required this port:

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

Deleted ports which required this port:

Expand this list of 50 deleted ports
  1. chinese/tin*
  2. databases/mariadb105-client*
  3. databases/mariadb105-server*
  4. databases/mariadb114-connector-c*
  5. devel/anjuta*
  6. devel/godot35-tools*
  7. editors/atom*
  8. emulators/qemu2*
  9. emulators/qemu30*
  10. emulators/qemu40*
  11. emulators/qemu41*
  12. emulators/qemu42*
  13. emulators/qemu5*
  14. emulators/qemu50*
  15. lang/J*
  16. lang/julia06*
  17. lang/julia07*
  18. lang/julia10*
  19. lang/julia11*
  20. lang/php73*
  21. lang/php74*
  22. lang/php80*
  23. lang/php81*
  24. math/sage*
  25. net/haproxy25*
  26. net/haproxy27*
  27. net/haproxy29*
  28. net-mgmt/zabbix62-agent*
  29. net-mgmt/zabbix62-proxy*
  30. net-mgmt/zabbix62-server*
  31. net-mgmt/zabbix64-agent*
  32. net-mgmt/zabbix64-proxy*
  33. net-mgmt/zabbix64-server*
  34. security/clamav-milter*
  35. security/sssd-devel*
  36. www/lighttpd-mod_h264_streaming*
  37. www/mod_php73*
  38. www/mod_php74*
  39. www/mod_php80*
  40. www/mod_php81*
  41. www/unit*
  42. www/unit-java*
  43. www/unit-perl*
  44. www/unit-php*
  45. www/unit-python*
  46. www/unit-ruby*
  47. www/unit-wasm*
  48. x11/pantheon-terminal*
  49. x11-wm/i3-gaps*
  50. x11-wm/sway-devel*
  51. 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.47_1: DOCS=on: Build and/or install documentation LIBBZ2=off: Using pcre2grep with .bz2 files LIBZ=off: Using pcre2grep with .gz files STATIC=on: Build static executables and/or libraries ====> 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:
cmake:testing cpe pathfix 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.47/
Collapse this list.

There are no commits on branch 2023Q3 for this port