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
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2023Q3
emacs GNU editing macros
30.2,3 editors on this many watch lists=99 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 30.1_4,3Version of this port present on the latest quarterly branch.
Maintainer: emacs@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Last Update: 2025-08-16 00:42:54
Commit Hash: 41e3c04
People watching this port, also watch:: gmake, unzip, freetype2, expat, gettext
License: GPLv3+
WWW:
https://www.gnu.org/software/emacs/
Description:
GNU Emacs is an extensible, customizable, free/libre text editor. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing. The features of GNU Emacs include: - content-aware editing modes, including syntax coloring, for many file types - complete built-in documentation, including a tutorial for new users - full Unicode support for nearly all human scripts - powerful customizability, using Emacs Lisp code or a graphical interface - a vast ecosystem of functionality beyond text editing, including a project planner, mail and news reader, debugger interface, calendar, even a psychotherapist, and more - a packaging system for downloading and installing extensions.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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:
  • emacs>0:editors/emacs
Conflicts:
CONFLICTS_INSTALL:
  • emacs-devel
  • emacs-devel-nox
  • emacs-canna
  • emacs-nox
  • emacs-wayland
To install the port:
cd /usr/ports/editors/emacs/ && make install clean
To add the package, run one of these commands:
  • pkg install editors/emacs
  • pkg install emacs
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: emacs
Package flavors (<flavor>: <package>)
  • full: emacs
  • canna: emacs-canna
  • nox: emacs-nox
  • wayland: emacs-wayland
distinfo:
TIMESTAMP = 1755212823 SHA256 (emacs-30.2.tar.xz) = b3f36f18a6dd2715713370166257de2fae01f9d38cfe878ced9b1e6ded5befd9 SIZE (emacs-30.2.tar.xz) = 55320324

Expand this list (2 items)

Collapse this list.

SHA256 (emacs30.1-canna-20250224.diff.gz) = b93296ae41037e6457317fd1113f8c3f659f32d4310c28a6a5bf633f6fcd31e5 SIZE (emacs30.1-canna-20250224.diff.gz) = 30488

Collapse this list.


Packages (timestamps in pop-ups are UTC):
emacs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest30.2,330.2,3-30.2,330.2,3---
FreeBSD:13:quarterly30.1_5,330.1_5,3-30.1_5,330.1_5,3-29.1_2,329.1_2,3
FreeBSD:14:latest30.2,330.2,3-30.2,330.2,3---
FreeBSD:14:quarterly30.1_5,330.1_5,3-30.1_5,330.1_5,3-29.1_2,329.1_2,3
FreeBSD:15:latest30.2,330.2,3n/a30.2,3n/a-29.2_1,3-
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest-30.2,3n/a-n/a---
 

emacs-canna
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest30.2,330.2,3-30.2,330.2,3---
FreeBSD:13:quarterly30.1_5,330.1_5,3-30.1_5,330.1_5,3-29.1_2,329.1_2,3
FreeBSD:14:latest30.2,330.2,3-30.2,330.2,3---
FreeBSD:14:quarterly30.1_5,330.1_5,3-30.1_5,330.1_5,3-29.1_2,329.1_2,3
FreeBSD:15:latest30.2,330.2,3n/a30.2,3n/a-29.2_1,3-
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest-30.2,3n/a-n/a---
 

emacs-nox
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest30.2,330.2,327.1_4,330.2,330.2,3---
FreeBSD:13:quarterly30.1_5,330.1_5,3-30.1_5,330.1_5,329.1_2,329.1_2,329.1_2,3
FreeBSD:14:latest30.2,330.2,328.2_1,330.2,330.2,328.2_6,3-28.2_6,3
FreeBSD:14:quarterly30.1_5,330.1_5,3-30.1_5,330.1_5,329.1_2,329.1_2,329.1_2,3
FreeBSD:15:latest30.2,330.2,3n/a30.2,3n/a29.2_1,329.2_1,329.2_1,3
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest-30.2,3n/a-n/a---
 

emacs-wayland
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest30.2,330.2,3-30.2,330.2,3---
FreeBSD:13:quarterly30.1_5,330.1_5,3-30.1_5,330.1_5,3---
FreeBSD:14:latest30.2,330.2,3-30.2,330.2,3---
FreeBSD:14:quarterly30.1_5,330.1_5,3-30.1_5,330.1_5,3---
FreeBSD:15:latest30.2,330.2,3n/a30.2,3n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest-30.2,3n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. update-desktop-database : devel/desktop-file-utils
  4. gcc13 : lang/gcc13
  5. as : devel/binutils
  6. xpm.pc : x11/libXpm
  7. ice.pc : x11/libICE
  8. sm.pc : x11/libSM
  9. x11.pc : x11/libX11
  10. xcb.pc : x11/libxcb
  11. xcomposite.pc : x11/libXcomposite
  12. xext.pc : x11/libXext
  13. xfixes.pc : x11/libXfixes
  14. xi.pc : x11/libXi
  15. xinerama.pc : x11/libXinerama
  16. xmu.pc : x11-toolkits/libXmu
  17. xrandr.pc : x11/libXrandr
  18. xrender.pc : x11/libXrender
  19. xt.pc : x11-toolkits/libXt
Runtime dependencies:
  1. mailutils : mail/mailutils
  2. update-desktop-database : devel/desktop-file-utils
  3. gcc13 : lang/gcc13
  4. xpm.pc : x11/libXpm
  5. ice.pc : x11/libICE
  6. sm.pc : x11/libSM
  7. x11.pc : x11/libX11
  8. xcb.pc : x11/libxcb
  9. xcomposite.pc : x11/libXcomposite
  10. xext.pc : x11/libXext
  11. xfixes.pc : x11/libXfixes
  12. xi.pc : x11/libXi
  13. xinerama.pc : x11/libXinerama
  14. xmu.pc : x11-toolkits/libXmu
  15. xrandr.pc : x11/libXrandr
  16. xrender.pc : x11/libXrender
  17. xt.pc : x11-toolkits/libXt
  18. indexinfo : print/indexinfo
Library dependencies:
  1. libgmp.so : math/gmp
  2. libfontconfig.so : x11-fonts/fontconfig
  3. libfreetype.so : print/freetype2
  4. libdbus-1.so : devel/dbus
  5. libgif.so : graphics/giflib
  6. libgnutls.so : security/gnutls
  7. libfontconfig.so : x11-fonts/fontconfig
  8. libfreetype.so : print/freetype2
  9. libharfbuzz.so : print/harfbuzz
  10. liblcms2.so : graphics/lcms2
  11. libpng16.so : graphics/png
  12. libtiff.so : graphics/tiff
  13. libtree-sitter.so : devel/tree-sitter
  14. libwebpdemux.so : graphics/webp
  15. libjpeg.so : graphics/jpeg-turbo
  16. libsqlite3.so : databases/sqlite3
  17. libatk-1.0.so : accessibility/at-spi2-core
  18. libcairo.so : graphics/cairo
  19. libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
  20. libglib-2.0.so : devel/glib20
  21. libintl.so : devel/gettext-runtime
  22. libgtk-3.so : x11-toolkits/gtk30
  23. librsvg-2.so : graphics/librsvg2-rust
  24. libxml2.so : textproc/libxml2
  25. libharfbuzz.so : print/harfbuzz
  26. libpango-1.0.so : x11-toolkits/pango
This port is required by:
for Build
  1. audio/emms
  2. audio/mpg123.el
  3. databases/bbdb
  4. databases/closql
  5. databases/emacsql
  6. databases/pg.el
  7. deskutils/howm
Expand this list (138 items / 131 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/cask
  3. devel/clojure-cider
  4. devel/cond-let
  5. devel/dash.el
  6. devel/distel
  7. devel/epl.el
  8. devel/forge
  9. devel/gettext-po-mode
  10. devel/ghub
  11. devel/git-modes
  12. devel/llama.el
  13. devel/lua-mode
  14. devel/magit
  15. devel/p5-Sepia
  16. devel/pkg-info.el
  17. devel/psvn
  18. devel/tablist
  19. devel/transient
  20. devel/treepy.el
  21. editors/apel
  22. editors/flim
  23. editors/paredit-mode.el
  24. editors/psgml
  25. editors/semi
  26. editors/slime
  27. editors/sly
  28. editors/sly-asdf
  29. editors/sly-named-readtables
  30. editors/sly-quicklisp
  31. editors/tamago
  32. editors/web-mode
  33. editors/with-editor
  34. irc/riece
  35. japanese/boiled-mozc
  36. japanese/cp5022x-el
  37. japanese/ddskk
  38. japanese/lookup
  39. japanese/migemo.el
  40. japanese/mozc-el
  41. japanese/navi2ch
  42. japanese/yc.el
  43. lang/alchemist.el
  44. lang/clojure-mode.el
  45. lang/csharp-mode.el
  46. lang/elixir-mode.el
  47. lang/haskell-mode.el
  48. lang/php-mode.el
  49. lang/tuareg-mode.el
  50. mail/c-sig
  51. mail/mew
  52. mail/mew-devel
  53. mail/mu4e
  54. mail/mu4e-maildirs
  55. mail/notmuch-emacs
  56. mail/wanderlust
  57. mail/x-face-e21
  58. mail/xcite
  59. math/coq
  60. math/ess
  61. math/hs-Agda
  62. misc/compat.el
  63. misc/elscreen
  64. print/auctex
  65. print/hyperlatex
  66. print/pdf-tools
  67. security/starttls
  68. sysutils/puppet-mode.el
  69. textproc/adoc-mode.el
  70. textproc/dictem
  71. textproc/dictionary
  72. textproc/doc-mode.el
  73. textproc/markdown-mode.el
  74. textproc/muse
  75. textproc/uim-el
  76. textproc/xml-lite.el
  77. textproc/yaml-mode.el
  78. textproc/yaml.el
  79. www/emacs-w3m
  80. Collapse this list.

Deleted ports which required this port:

Expand this list of 53 deleted ports
  1. databases/closql-devel*
  2. databases/emacs-sqlite3-api*
  3. databases/emacsql-devel*
  4. databases/lsdb*
  5. deskutils/etask*
  6. deskutils/org-mode.el*
  7. deskutils/planner.el*
  8. deskutils/remember.el*
  9. devel/cedet*
  10. devel/ecb*
  11. devel/eieio*
  12. devel/elib*
  13. devel/forge-devel*
  14. devel/ghub-devel*
  15. devel/graphql.el*
  16. devel/libegit2*
  17. devel/magit-devel*
  18. devel/magit-popup*
  19. devel/peg.el*
  20. devel/pymacs*
  21. devel/semantic*
  22. devel/transient-devel*
  23. devel/xtla*
  24. editors/gnuserv*
  25. editors/mode-info*
  26. editors/nxml*
  27. editors/speedbar*
  28. editors/tree-widget*
  29. editors/with-editor-devel*
  30. editors/yasnippet*
  31. graphics/xface.el*
  32. irc/irchat-jp*
  33. japanese/egg-canna*
  34. japanese/migemo-emacs*
  35. japanese/migemo-emacs23*
  36. lang/bigloo*
  37. lang/ocaml-mode.el*
  38. lang/quack*
  39. lang/sml-mode.el*
  40. mail/emh*
  41. mail/mailcrypt*
  42. mail/vm*
  43. mail/wanderlust-devel*
  44. math/proofgeneral*
  45. misc/color-theme.el*
  46. net/tramp*
  47. net-im/jabber.el*
  48. security/easypg*
  49. textproc/emacs-wiki*
  50. textproc/htmlize.el*
  51. textproc/ibus-el*
  52. textproc/rst.el*
  53. textproc/xml-parse.el*
  54. Collapse this list of deleted ports.
for Run
  1. audio/emms
  2. audio/mpg123.el
  3. cad/dinotrace
  4. cad/verilog-mode.el
  5. databases/bbdb
  6. databases/closql
  7. databases/emacsql
Expand this list (140 items / 133 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/pg.el
  3. deskutils/howm
  4. devel/cask
  5. devel/clojure-cider
  6. devel/cond-let
  7. devel/dash.el
  8. devel/distel
  9. devel/epl.el
  10. devel/forge
  11. devel/ghub
  12. devel/git-modes
  13. devel/llama.el
  14. devel/lua-mode
  15. devel/magit
  16. devel/p5-Sepia
  17. devel/pkg-info.el
  18. devel/psvn
  19. devel/tablist
  20. devel/transient
  21. devel/treepy.el
  22. editors/apel
  23. editors/flim
  24. editors/paredit-mode.el
  25. editors/psgml
  26. editors/semi
  27. editors/slime
  28. editors/sly
  29. editors/sly-asdf
  30. editors/sly-named-readtables
  31. editors/sly-quicklisp
  32. editors/tamago
  33. editors/web-mode
  34. editors/with-editor
  35. irc/riece
  36. japanese/boiled-mozc
  37. japanese/cp5022x-el
  38. japanese/ddskk
  39. japanese/lookup
  40. japanese/migemo.el
  41. japanese/mozc-el
  42. japanese/navi2ch
  43. japanese/yc.el
  44. lang/alchemist.el
  45. lang/clojure-mode.el
  46. lang/csharp-mode.el
  47. lang/elixir-mode.el
  48. lang/haskell-mode.el
  49. lang/php-mode.el
  50. lang/tuareg-mode.el
  51. mail/c-sig
  52. mail/mailest
  53. mail/mew
  54. mail/mew-devel
  55. mail/mu4e
  56. mail/mu4e-maildirs
  57. mail/notmuch-emacs
  58. mail/wanderlust
  59. mail/x-face-e21
  60. mail/xcite
  61. math/coq
  62. math/ess
  63. misc/compat.el
  64. misc/elscreen
  65. print/auctex
  66. print/hyperlatex
  67. print/pdf-tools
  68. security/starttls
  69. sysutils/puppet-mode.el
  70. textproc/adoc-mode.el
  71. textproc/dictem
  72. textproc/dictionary
  73. textproc/doc-mode.el
  74. textproc/markdown-mode.el
  75. textproc/muse
  76. textproc/uim-el
  77. textproc/xml-lite.el
  78. textproc/yaml-mode.el
  79. textproc/yaml.el
  80. www/emacs-w3m
  81. Collapse this list.

Deleted ports which required this port:

Expand this list of 54 deleted ports
  1. databases/closql-devel*
  2. databases/emacs-sqlite3-api*
  3. databases/emacsql-devel*
  4. databases/lsdb*
  5. deskutils/etask*
  6. deskutils/org-mode.el*
  7. deskutils/planner.el*
  8. deskutils/remember.el*
  9. devel/cedet*
  10. devel/ecb*
  11. devel/eieio*
  12. devel/elib*
  13. devel/forge-devel*
  14. devel/ghub-devel*
  15. devel/graphql.el*
  16. devel/libegit2*
  17. devel/magit-devel*
  18. devel/magit-popup*
  19. devel/peg.el*
  20. devel/pymacs*
  21. devel/semantic*
  22. devel/transient-devel*
  23. devel/xtla*
  24. editors/gnuserv*
  25. editors/mode-info*
  26. editors/nxml*
  27. editors/speedbar*
  28. editors/tree-widget*
  29. editors/with-editor-devel*
  30. editors/yasnippet*
  31. graphics/xface.el*
  32. irc/irchat-jp*
  33. japanese/egg-canna*
  34. japanese/migemo-emacs*
  35. japanese/migemo-emacs23*
  36. lang/bigloo*
  37. lang/gcl*
  38. lang/ocaml-mode.el*
  39. lang/quack*
  40. lang/sml-mode.el*
  41. mail/emh*
  42. mail/mailcrypt*
  43. mail/vm*
  44. mail/wanderlust-devel*
  45. math/proofgeneral*
  46. misc/color-theme.el*
  47. net/tramp*
  48. net-im/jabber.el*
  49. security/easypg*
  50. textproc/emacs-wiki*
  51. textproc/htmlize.el*
  52. textproc/ibus-el*
  53. textproc/rst.el*
  54. textproc/xml-parse.el*
  55. 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 emacs-30.2,3: ACL=on: Access control list support DBUS=on: D-Bus IPC system support GNUTLS=on: SSL/TLS support via GnuTLS GSETTINGS=on: GSettings API for application settings HARFBUZZ=on: HarfBuzz for text shaping LCMS2=on: Little CMS 2.x support M17N=off: M17N support for text-shaping [implies XFT] MAILUTILS=on: Mail framework via GNU Mailutils MODULES=on: Dynamic modules support NATIVECOMP=on: Emacs Lisp native compiler support OTF=off: Opentype fonts PGTK=off: Pure GTK GUI [implies CAIRO, GTK3] SCROLLBARS=on: Toolkit scroll-bars SOURCES=on: Install sources SQLITE3=on: SQLite 3 database support THREADS=on: Threading support TREESITTER=on: tree-sitter support XFT=off: Xft font library support XIM=on: X Input Method XML=on: XML format or parser support XWIDGETS=off: Experimental GTK widgets [implies GTK3] ====> Graphics support CAIRO=on: Cairo graphics library support [implies PNG, prevents XFT] GIF=on: GIF image format support JPEG=on: JPEG image format support MAGICK=off: ImageMagick image processing support (deprecated) PNG=on: PNG image format support SVG=on: Scalable vector graphics support [implies PNG] TIFF=on: TIFF image format support WEBP=on: WebP image format support XPM=on: XPM pixmap image format support ====> File notification support: you can only select none or one of them GFILE=off: File notification via gfile KQUEUE=on: File notification via kqueue ====> Sound (audio) support: you can only select none or one of them ALSA=off: ALSA audio architecture support OSS=on: Open Sound System support ====> X11 toolkit: you can only select none or one of them GTK2=off: GTK 2 GUI toolkit support GTK3=on: GTK 3 GUI toolkit support MOTIF=off: Motif widget library support XAW=off: Athena widgets XAW3D=off: Athena3D widgets ===> Use 'make config' to modify these settings
Options name:
editors_emacs
USES:
cpe gmake localbase:ldflags ncurses pkgconfig tar:xz jpeg sqlite:3 gnome desktop-file-utils gnome xorg
pkg-message:
For install or upgrade:
Emacs is now built with native compilation enabled by default, which requires GCC version 11 or later. However, it is known that some elisp applications don't work correctly when compiled. You can work around any such issues by disabling native compilation using the following steps. 1. Add the following lines at the top of your Emacs configuration: (setq native-comp-deferred-compilation nil comp-enable-subr-trampolines nil) 2. Exit emacs 3. rm -rf ~/.emacs.d/eln-cache 4. Start emacs again Whereas all elisp files included in the Emacs source archive are native compiled at build time, 3rd party elisp files (for example, from elisp ports/packages) are native compiled at run time. This will result in high CPU usage when they are compiled. If this annoys you, you can throttle the number of jobs by changing the value of the variable 'native-comp-async-jobs-number' in your emacs configuration. See the output of `C-h v native-comp-async-jobs-number` for details.
Master Sites:
Expand this list (10 items)
Collapse this list.
  1. ftp://ftp.fu-berlin.de/unix/gnu/emacs/
  2. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/emacs/
  3. ftp://mirrors.rit.edu/gnu/emacs/
  4. http://ftp.halifax.rwth-aachen.de/gnu/emacs/
  5. http://mirror.navercorp.com/gnu/emacs/
  6. https://ftp.gnu.org/gnu/emacs/
  7. https://ftpmirror.gnu.org/emacs/
  8. https://mirror.netcologne.de/gnu/emacs/
  9. https://mirrors.kernel.org/gnu/emacs/
  10. https://www.nic.funet.fi/pub/gnu/gnu/emacs/
Collapse this list.

There are no commits on branch 2023Q3 for this port