Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details on branch 2024Q3
pcre2 Perl Compatible Regular Expressions library, version 2
10.49 devel Σ=38 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.49Version 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: 2026-09-29 13:16:08
Commit Hash: c07687c
People watching this port, also watch: libiconv, readline, pkg, liblz4, gettext-runtime
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: #
Expand this list (100 items)
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.49/catalog.mk
  3. /usr/local/share/licenses/pcre2-10.49/LICENSE
  4. /usr/local/share/licenses/pcre2-10.49/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.16.1
  17. lib/libpcre2-32.a
  18. lib/libpcre2-32.so
  19. lib/libpcre2-32.so.0
  20. lib/libpcre2-32.so.0.16.1
  21. lib/libpcre2-8.a
  22. lib/libpcre2-8.so
  23. lib/libpcre2-8.so.0
  24. lib/libpcre2-8.so.0.16.1
  25. lib/libpcre2-posix.a
  26. lib/libpcre2-posix.so
  27. lib/libpcre2-posix.so.3
  28. lib/libpcre2-posix.so.3.0.9
  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:
  • For RUN/BUILD depends:
    • pcre2>0:devel/pcre2
  • For LIB depends:
    • libpcre2-16.so:devel/pcre2
    • libpcre2-32.so:devel/pcre2
    • libpcre2-8.so:devel/pcre2
    • libpcre2-posix.so: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 = 1790629398 SHA256 (pcre2-10.49.tar.bz2) = 53c156e1ba416a20da8e65395daa132da0d80e76910424caca3fcdae7831d384 SIZE (pcre2-10.49.tar.bz2) = 2185271

Packages (timestamps in pop-ups are UTC): #
pcre2
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest10.4910.4910.4210.45_110.49
FreeBSD:14:quarterly10.4910.49-10.45_110.49
FreeBSD:15:latest10.4910.49n/a10.45_1n/a
FreeBSD:15:quarterly10.4910.49n/a-n/a
FreeBSD:16:latest10.4910.49n/a-n/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. chinese/tintin++
  7. comms/xastir
Expand this list (289 items / 282 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. databases/mariadb1011-client
  3. databases/mariadb1011-server
  4. databases/mariadb114-client
  5. databases/mariadb114-server
  6. databases/mariadb118-client
  7. databases/mariadb118-server
  8. databases/mariadb123-client
  9. databases/mariadb123-server
  10. databases/mydumper
  11. databases/postgis33
  12. databases/postgis34
  13. databases/postgis35
  14. databases/postgis36
  15. databases/postgis37
  16. deskutils/gucharmap
  17. devel/R-cran-rJava
  18. devel/aifad
  19. devel/android-tools
  20. devel/git
  21. devel/gitaly
  22. devel/glib20
  23. devel/godot
  24. devel/godot-tools
  25. devel/libgit2
  26. devel/libnjs
  27. devel/ocaml-pcre2
  28. devel/php-pcov
  29. devel/poco
  30. devel/qt5-core
  31. devel/qt6-base
  32. devel/root
  33. devel/shards
  34. devel/sord
  35. devel/swig
  36. devel/universal-ctags
  37. editors/editorconfig-core-c
  38. editors/gnome-text-editor
  39. editors/lite-xl
  40. editors/mle
  41. editors/pragtical
  42. editors/vscode
  43. editors/xmlcopyeditor
  44. emulators/open-simh
  45. emulators/vice
  46. ftp/proftpd
  47. games/naev
  48. games/trx
  49. graphics/gdal
  50. graphics/gmt
  51. irc/atheme-services
  52. irc/unreal
  53. lang/crystal
  54. lang/julia
  55. lang/njs
  56. lang/php80-legacy
  57. lang/php82
  58. lang/php83
  59. lang/php84
  60. lang/php85
  61. lang/php86
  62. lang/rizin
  63. lang/swipl
  64. mail/astroid
  65. mail/courier
  66. mail/courier-imap
  67. mail/cyrus-imapd310
  68. mail/cyrus-imapd312
  69. mail/dovecot24
  70. mail/exim
  71. mail/exim-ldap2
  72. mail/exim-monitor
  73. mail/exim-mysql
  74. mail/exim-postgresql
  75. mail/exim-sa-exim
  76. mail/exim-sqlite
  77. mail/fdm
  78. mail/imapfilter
  79. mail/maildrop
  80. mail/mboxgrep
  81. mail/mfmod_pcre
  82. mail/neomutt
  83. mail/postfix
  84. mail/postfix-current
  85. mail/rspamd
  86. mail/rspamd-devel
  87. mail/sqwebmail
  88. math/R
  89. math/libRmath
  90. math/octave-forge-strings
  91. math/scilab
  92. misc/boxes
  93. multimedia/kodi
  94. multimedia/tvheadend
  95. net/389-ds-base
  96. net/amqpcat
  97. net/dico
  98. net/freeswitch
  99. net/frr10
  100. net/frr9
  101. net/haproxy
  102. net/haproxy-devel
  103. net/haproxy26
  104. net/haproxy28
  105. net/haproxy30
  106. net/haproxy32
  107. net/haproxy33
  108. net/lavinmq
  109. net/libyang2
  110. net/libyang3
  111. net/ngrep
  112. net/sniproxy
  113. net/sslh
  114. net/tintin++
  115. net/tinyfugue-devel
  116. net/vinagre
  117. net/wireshark
  118. net-mgmt/ettercap
  119. net-mgmt/netdata
  120. net-mgmt/netxms
  121. net-mgmt/yaf
  122. net-mgmt/zabbix6-agent
  123. net-mgmt/zabbix6-proxy
  124. net-mgmt/zabbix6-server
  125. net-mgmt/zabbix7-agent
  126. net-mgmt/zabbix7-proxy
  127. net-mgmt/zabbix7-server
  128. net-mgmt/zabbix74-agent
  129. net-mgmt/zabbix74-proxy
  130. net-mgmt/zabbix74-server
  131. news/leafnode
  132. news/tin
  133. ports-mgmt/pkg-provides
  134. science/afni
  135. science/libcifpp
  136. security/aide
  137. security/bruteblock
  138. security/clamav
  139. security/clamav-lts
  140. security/modsecurity3
  141. security/nmap
  142. security/nmap-devel
  143. security/ossec-hids-agent
  144. security/ossec-hids-local
  145. security/ossec-hids-server
  146. security/snort3
  147. security/snuffleupagus
  148. security/sssd2
  149. security/suricata
  150. shells/fish
  151. sysutils/cfengine
  152. sysutils/cfengine-devel
  153. sysutils/cfengine-lts
  154. sysutils/cfengine327
  155. sysutils/cfengine328
  156. sysutils/fdupes
  157. sysutils/fsearch
  158. sysutils/less
  159. sysutils/lnav
  160. sysutils/logstalgia
  161. sysutils/syslog-ng
  162. textproc/confget
  163. textproc/gnugrep
  164. textproc/link-grammar
  165. textproc/markterm
  166. textproc/ripgrep
  167. textproc/sigil
  168. textproc/the_silver_searcher
  169. textproc/ugrep
  170. www/angie
  171. www/apache24
  172. www/bluefish
  173. www/edbrowse
  174. www/freenginx
  175. www/freenginx-acme
  176. www/freenginx-acme-module
  177. www/freenginx-devel
  178. www/freeunit
  179. www/freeunit-php
  180. www/freeunit-python
  181. www/lagrange
  182. www/lighttpd
  183. www/mod_auth_openidc
  184. www/mod_php82
  185. www/mod_php83
  186. www/mod_php84
  187. www/mod_php85
  188. www/mod_php86
  189. www/mod_security
  190. www/nginx
  191. www/nginx-acme
  192. www/nginx-devel
  193. www/nginx-full
  194. www/nginx-lite
  195. www/nginx-naxsi
  196. www/openresty
  197. www/pound
  198. www/privoxy
  199. www/restinio
  200. www/trafficserver
  201. www/varnish7
  202. www/vinyl09
  203. www/xapian-omega
  204. www/xapian-omega14
  205. x11/elementary-terminal
  206. x11/gnome-applets
  207. x11/gnome-console
  208. x11/mate-terminal
  209. x11/roxterm
  210. x11/xfce4-terminal
  211. x11/xfce4-verve-plugin
  212. x11-fm/thunar
  213. x11-toolkits/gtksourceview5
  214. x11-toolkits/termit
  215. x11-toolkits/vte3
  216. x11-toolkits/wxgtk32
  217. x11-wm/i3
  218. x11-wm/mango
  219. x11-wm/picom
  220. x11-wm/sway
  221. x11-wm/swayfx
  222. Collapse this list.

Deleted ports which required this port:

Expand this list of 62 deleted ports
  1. chinese/tin*
  2. databases/mariadb105-client*
  3. databases/mariadb105-server*
  4. databases/mariadb106-client*
  5. databases/mariadb106-server*
  6. databases/mariadb114-connector-c*
  7. devel/anjuta*
  8. devel/godot35*
  9. devel/godot35-tools*
  10. devel/pecl-pcov*
  11. editors/atom*
  12. emulators/qemu2*
  13. emulators/qemu30*
  14. emulators/qemu40*
  15. emulators/qemu41*
  16. emulators/qemu42*
  17. emulators/qemu5*
  18. emulators/qemu50*
  19. lang/J*
  20. lang/julia06*
  21. lang/julia07*
  22. lang/julia10*
  23. lang/julia11*
  24. lang/php73*
  25. lang/php74*
  26. lang/php80*
  27. lang/php81*
  28. math/sage*
  29. net/frr8*
  30. net/haproxy25*
  31. net/haproxy27*
  32. net/haproxy29*
  33. net-mgmt/zabbix62-agent*
  34. net-mgmt/zabbix62-proxy*
  35. net-mgmt/zabbix62-server*
  36. net-mgmt/zabbix64-agent*
  37. net-mgmt/zabbix64-proxy*
  38. net-mgmt/zabbix64-server*
  39. net-mgmt/zabbix72-agent*
  40. net-mgmt/zabbix72-proxy*
  41. net-mgmt/zabbix72-server*
  42. security/clamav-milter*
  43. security/sssd-devel*
  44. sysutils/cfengine324*
  45. sysutils/cfengine325*
  46. sysutils/cfengine326*
  47. www/lighttpd-mod_h264_streaming*
  48. www/mod_php73*
  49. www/mod_php74*
  50. www/mod_php80*
  51. www/mod_php81*
  52. www/unit*
  53. www/unit-java*
  54. www/unit-perl*
  55. www/unit-php*
  56. www/unit-python*
  57. www/unit-ruby*
  58. www/unit-wasm*
  59. x11/pantheon-terminal*
  60. x11-wm/i3-gaps*
  61. x11-wm/mangowc*
  62. x11-wm/sway-devel*
  63. Collapse this list of deleted ports.
for Run #
  1. sysutils/debootstrap

Configuration Options: #
===> The following configuration options are available for pcre2-10.49: 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
pkg-message: #
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.49/
Collapse this list.

There are no commits on branch 2024Q3 for this port