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 2026Q1
py-pygments Syntax highlighter written in Python
2.19.2 textproc on this many watch lists=37 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 2.19.2Version of this port present on the latest quarterly branch.
Maintainer: nivit@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2007-04-02 21:35:33
Last Update: 2025-06-22 06:30:13
Commit Hash: 4b481e4
People watching this port, also watch:: libxml2, expat, libiconv, freetype2, png
Also Listed In: python
License: BSD2CLAUSE
WWW:
https://pygments.org/
Description:
Pygments is a syntax highlighting package written in Python. It is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code. Highlights are: * a wide range of common languages and markup formats is supported * special attention is paid to details, increasing quality by a fair amount * support for new languages and formats are added easily * a number of output formats, presently HTML, LaTeX, RTF and ANSI sequences * it is usable as a command-line tool and as a library
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
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
To install the port:
cd /usr/ports/textproc/py-pygments/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-pygments
  • pkg install py311-pygments
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-pygments listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-pygments
Package flavors (<flavor>: <package>)
  • py311: py311-pygments
distinfo:
TIMESTAMP = 1750573109 SHA256 (pygments-2.19.2.tar.gz) = 636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887 SIZE (pygments-2.19.2.tar.gz) = 4968631

Packages (timestamps in pop-ups are UTC):
py37-pygments
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.7.2--n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py39-pygments
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly--2.15.1--n/an/an/a
FreeBSD:14:latest--2.14.0--2.15.1-2.15.1
FreeBSD:14:quarterly-----2.17.22.17.22.17.2
FreeBSD:15:latest--n/a-n/an/a2.17.22.17.2
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py311-pygments
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.19.22.19.2-2.19.22.19.2n/an/an/a
FreeBSD:13:quarterly2.19.22.19.2-2.19.22.19.2n/an/an/a
FreeBSD:14:latest2.19.22.19.2-2.19.22.19.2---
FreeBSD:14:quarterly2.19.22.19.2-2.19.22.19.2---
FreeBSD:15:latest2.19.22.19.2n/a2.19.2n/an/a--
FreeBSD:15:quarterly2.19.22.19.2n/a-n/an/a--
FreeBSD:16:latest2.19.22.19.2n/a-n/an/a--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatchling>=1.18.0 : devel/py-hatchling@py311
  2. python3.11 : lang/python311
  3. py311-build>=0 : devel/py-build@py311
  4. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest-cov>=4.1.0 : devel/py-pytest-cov@py311
  2. py311-pytest-randomly>=3.12.0 : devel/py-pytest-randomly@py311
  3. py311-wcag-contrast-ratio>=0.9 : www/py-wcag-contrast-ratio@py311
  4. py311-pytest>=7,1 : devel/py-pytest@py311
  5. python3.11 : lang/python311
  6. tex.fmt : print/tex-formats
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Build
  1. devel/libsoup3
  2. games/openage
  3. graphics/qgis
  4. graphics/qgis-ltr
  5. math/mathicsscript
  6. science/abinit
  7. sysutils/conan
Expand this list (15 items / 8 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. sysutils/mog
  3. textproc/gtk-doc
  4. textproc/py-mathics-pygments
  5. Collapse this list.

Deleted ports which required this port:

Expand this list of 5 deleted ports
  1. devel/py-mwlib.rl*
  2. devel/qbzr*
  3. math/sage*
  4. science/py-pydap*
  5. www/searx*
  6. Collapse this list of deleted ports.
for Run
  1. audio/lv2
  2. comms/py-pymodbus
  3. databases/py-litecli
  4. databases/py-mycli
  5. databases/py-pgcli
  6. devel/bpython
  7. devel/cppcheck
Expand this list (117 items / 110 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/ipython
  3. devel/py-cli-helpers
  4. devel/py-colored-traceback
  5. devel/py-copier
  6. devel/py-devtools
  7. devel/py-diff-cover
  8. devel/py-http-prompt
  9. devel/py-ipython-pygments-lexers
  10. devel/py-jupyter_console
  11. devel/py-knack
  12. devel/py-lineedit
  13. devel/py-mdv
  14. devel/py-mrkd
  15. devel/py-nbconvert
  16. devel/py-nbdime
  17. devel/py-pdoc
  18. devel/py-ptpython
  19. devel/py-pudb
  20. devel/py-pyface
  21. devel/py-pyinquirer
  22. devel/py-pyroma
  23. devel/py-pytest
  24. devel/py-qtconsole
  25. devel/py-readme-renderer
  26. devel/py-typecode
  27. devel/tortoisehg
  28. devel/viewvc-devel
  29. editors/retext
  30. games/openage
  31. graphics/py-mayavi
  32. graphics/py-rich-pixels
  33. graphics/py-traitsui
  34. graphics/qgis
  35. graphics/qgis-ltr
  36. mail/py-exchangelib
  37. math/mathicsscript
  38. math/py-mathics
  39. misc/py-napari
  40. net/py-errbot
  41. net/py-softlayer
  42. science/py-jupyter_jsmol
  43. science/py-vedo
  44. security/py-pwntools
  45. shells/xonsh
  46. sysutils/conan
  47. sysutils/mog
  48. sysutils/py-azure-cli
  49. sysutils/py-howdoi
  50. sysutils/py-qmk
  51. textproc/gtk-doc
  52. textproc/lookatme
  53. textproc/py-accessible-pygments
  54. textproc/py-furo
  55. textproc/py-gi-docgen
  56. textproc/py-jc
  57. textproc/py-jsx-lexer
  58. textproc/py-jupyterlab-pygments
  59. textproc/py-markdown2
  60. textproc/py-mathics-pygments
  61. textproc/py-mkdocs-material
  62. textproc/py-pydata-sphinx-theme
  63. textproc/py-pymdown-extensions
  64. textproc/py-rich
  65. textproc/py-rst2html5
  66. textproc/py-sphinx
  67. textproc/py-sphinx-tabs
  68. textproc/py-textual
  69. textproc/py-zensical
  70. textproc/rubygem-albino
  71. www/moin2
  72. www/py-WebError
  73. www/py-grip
  74. www/py-httpie
  75. www/py-nicegui
  76. www/py-nicegui-nogui
  77. www/py-nikola
  78. www/py-pelican
  79. www/py-searxng-devel
  80. www/qutebrowser
  81. www/trac
  82. x11-toolkits/py-kivy
  83. x11-toolkits/py-superqt
  84. Collapse this list.

Deleted ports which required this port:

Expand this list of 28 deleted ports
  1. devel/ipython5*
  2. devel/py-gdbgui*
  3. devel/py-mwlib.rl*
  4. devel/py-prettyprinter*
  5. devel/py-readme_renderer*
  6. devel/py-robotframework-ride*
  7. devel/py-spyder*
  8. devel/radian*
  9. devel/spyder*
  10. devel/tortoisehg2*
  11. japanese/trac*
  12. math/sage*
  13. textproc/ecromedos*
  14. textproc/gi-docgen*
  15. textproc/py-rich12*
  16. textproc/py-sphinx18*
  17. textproc/retext*
  18. textproc/scancode-toolkit*
  19. www/httpie*
  20. www/pelican*
  21. www/py-blogofile*
  22. www/py-django-dpaste*
  23. www/py-kallithea*
  24. www/py-rhodecode*
  25. www/py-searx*
  26. www/reviewboard*
  27. www/searx*
  28. www/trac-devel*
  29. 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:
No options to configure
Options name:
textproc_py-pygments
USES:
cpe python tex
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pygments/
  2. https://pypi.org/packages/source/p/pygments/
Collapse this list.

There are no commits on branch 2026Q1 for this port