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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
sfml2 Simple and Fast Multimedia Library 2.x legacy
2.6.2 multimedianew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: agh@riseup.net search for ports maintained by this maintainer
Port Added: 2026-09-02 10:51:58
Last Update: 2026-09-02 10:49:37
Commit Hash: 0d76b81
Also Listed In: devel
License: ZLIB
WWW:
https://www.sfml-dev.org/
https://github.com/SFML/SFML
Description:
SFML is a portable and easy to use multimedia API written in C++. You can see it as a modern, object-oriented alternative to SDL. SFML is composed of several packages to perfectly suit your needs. You can use SFML as a minimal windowing system to interface with OpenGL, or as a fully-featured multimedia library for building games or interactive programs.
HomepageHomepage    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
Expand this list (142 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/SFML-2.6.2/catalog.mk
  3. /usr/local/share/licenses/SFML-2.6.2/LICENSE
  4. /usr/local/share/licenses/SFML-2.6.2/ZLIB
  5. include/SFML/Audio.hpp
  6. include/SFML/Audio/AlResource.hpp
  7. include/SFML/Audio/Export.hpp
  8. include/SFML/Audio/InputSoundFile.hpp
  9. include/SFML/Audio/Listener.hpp
  10. include/SFML/Audio/Music.hpp
  11. include/SFML/Audio/OutputSoundFile.hpp
  12. include/SFML/Audio/Sound.hpp
  13. include/SFML/Audio/SoundBuffer.hpp
  14. include/SFML/Audio/SoundBufferRecorder.hpp
  15. include/SFML/Audio/SoundFileFactory.hpp
  16. include/SFML/Audio/SoundFileFactory.inl
  17. include/SFML/Audio/SoundFileReader.hpp
  18. include/SFML/Audio/SoundFileWriter.hpp
  19. include/SFML/Audio/SoundRecorder.hpp
  20. include/SFML/Audio/SoundSource.hpp
  21. include/SFML/Audio/SoundStream.hpp
  22. include/SFML/Config.hpp
  23. include/SFML/GpuPreference.hpp
  24. include/SFML/Graphics.hpp
  25. include/SFML/Graphics/BlendMode.hpp
  26. include/SFML/Graphics/CircleShape.hpp
  27. include/SFML/Graphics/Color.hpp
  28. include/SFML/Graphics/ConvexShape.hpp
  29. include/SFML/Graphics/Drawable.hpp
  30. include/SFML/Graphics/Export.hpp
  31. include/SFML/Graphics/Font.hpp
  32. include/SFML/Graphics/Glsl.hpp
  33. include/SFML/Graphics/Glsl.inl
  34. include/SFML/Graphics/Glyph.hpp
  35. include/SFML/Graphics/Image.hpp
  36. include/SFML/Graphics/PrimitiveType.hpp
  37. include/SFML/Graphics/Rect.hpp
  38. include/SFML/Graphics/Rect.inl
  39. include/SFML/Graphics/RectangleShape.hpp
  40. include/SFML/Graphics/RenderStates.hpp
  41. include/SFML/Graphics/RenderTarget.hpp
  42. include/SFML/Graphics/RenderTexture.hpp
  43. include/SFML/Graphics/RenderWindow.hpp
  44. include/SFML/Graphics/Shader.hpp
  45. include/SFML/Graphics/Shape.hpp
  46. include/SFML/Graphics/Sprite.hpp
  47. include/SFML/Graphics/Text.hpp
  48. include/SFML/Graphics/Texture.hpp
  49. include/SFML/Graphics/Transform.hpp
  50. include/SFML/Graphics/Transformable.hpp
  51. include/SFML/Graphics/Vertex.hpp
  52. include/SFML/Graphics/VertexArray.hpp
  53. include/SFML/Graphics/VertexBuffer.hpp
  54. include/SFML/Graphics/View.hpp
  55. include/SFML/Main.hpp
  56. include/SFML/Network.hpp
  57. include/SFML/Network/Export.hpp
  58. include/SFML/Network/Ftp.hpp
  59. include/SFML/Network/Http.hpp
  60. include/SFML/Network/IpAddress.hpp
  61. include/SFML/Network/Packet.hpp
  62. include/SFML/Network/Socket.hpp
  63. include/SFML/Network/SocketHandle.hpp
  64. include/SFML/Network/SocketSelector.hpp
  65. include/SFML/Network/TcpListener.hpp
  66. include/SFML/Network/TcpSocket.hpp
  67. include/SFML/Network/UdpSocket.hpp
  68. include/SFML/OpenGL.hpp
  69. include/SFML/System.hpp
  70. include/SFML/System/Clock.hpp
  71. include/SFML/System/Err.hpp
  72. include/SFML/System/Export.hpp
  73. include/SFML/System/FileInputStream.hpp
  74. include/SFML/System/InputStream.hpp
  75. include/SFML/System/Lock.hpp
  76. include/SFML/System/MemoryInputStream.hpp
  77. include/SFML/System/Mutex.hpp
  78. include/SFML/System/NativeActivity.hpp
  79. include/SFML/System/NonCopyable.hpp
  80. include/SFML/System/Sleep.hpp
  81. include/SFML/System/String.hpp
  82. include/SFML/System/String.inl
  83. include/SFML/System/Thread.hpp
  84. include/SFML/System/Thread.inl
  85. include/SFML/System/ThreadLocal.hpp
  86. include/SFML/System/ThreadLocalPtr.hpp
  87. include/SFML/System/ThreadLocalPtr.inl
  88. include/SFML/System/Time.hpp
  89. include/SFML/System/Utf.hpp
  90. include/SFML/System/Utf.inl
  91. include/SFML/System/Vector2.hpp
  92. include/SFML/System/Vector2.inl
  93. include/SFML/System/Vector3.hpp
  94. include/SFML/System/Vector3.inl
  95. include/SFML/Window.hpp
  96. include/SFML/Window/Clipboard.hpp
  97. include/SFML/Window/Context.hpp
  98. include/SFML/Window/ContextSettings.hpp
  99. include/SFML/Window/Cursor.hpp
  100. include/SFML/Window/Event.hpp
  101. include/SFML/Window/Export.hpp
  102. include/SFML/Window/GlResource.hpp
  103. include/SFML/Window/Joystick.hpp
  104. include/SFML/Window/Keyboard.hpp
  105. include/SFML/Window/Mouse.hpp
  106. include/SFML/Window/Sensor.hpp
  107. include/SFML/Window/Touch.hpp
  108. include/SFML/Window/VideoMode.hpp
  109. include/SFML/Window/Vulkan.hpp
  110. include/SFML/Window/Window.hpp
  111. include/SFML/Window/WindowBase.hpp
  112. include/SFML/Window/WindowHandle.hpp
  113. include/SFML/Window/WindowStyle.hpp
  114. lib/cmake/SFML/SFMLConfig.cmake
  115. lib/cmake/SFML/SFMLConfigDependencies.cmake
  116. lib/cmake/SFML/SFMLConfigVersion.cmake
  117. lib/cmake/SFML/SFMLSharedTargets-release.cmake
  118. lib/cmake/SFML/SFMLSharedTargets.cmake
  119. lib/libsfml-audio.so
  120. lib/libsfml-audio.so.2.6
  121. lib/libsfml-audio.so.2.6.2
  122. lib/libsfml-graphics.so
  123. lib/libsfml-graphics.so.2.6
  124. lib/libsfml-graphics.so.2.6.2
  125. lib/libsfml-network.so
  126. lib/libsfml-network.so.2.6
  127. lib/libsfml-network.so.2.6.2
  128. lib/libsfml-system.so
  129. lib/libsfml-system.so.2.6
  130. lib/libsfml-system.so.2.6.2
  131. lib/libsfml-window.so
  132. lib/libsfml-window.so.2.6
  133. lib/libsfml-window.so.2.6.2
  134. libdata/pkgconfig/sfml-all.pc
  135. libdata/pkgconfig/sfml-audio.pc
  136. libdata/pkgconfig/sfml-graphics.pc
  137. libdata/pkgconfig/sfml-network.pc
  138. libdata/pkgconfig/sfml-system.pc
  139. libdata/pkgconfig/sfml-window.pc
  140. @owner
  141. @group
  142. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • SFML>0:multimedia/sfml2
Conflicts:
CONFLICTS:
  • sfml3
To install the port:
cd /usr/ports/multimedia/sfml2/ && make install clean
To add the package, run one of these commands:
  • pkg install multimedia/sfml2
  • pkg install SFML
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: SFML
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1787654600 SHA256 (SFML-SFML-2.6.2_GH0.tar.gz) = 15ff4d608a018f287c6a885db0a2da86ea389e516d2323629e4d4407a7ce047f SIZE (SFML-SFML-2.6.2_GH0.tar.gz) = 28624288

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
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. xorgproto>=0 : x11/xorgproto
  4. x11.pc : x11/libX11
  5. xcursor.pc : x11/libXcursor
  6. xrandr.pc : x11/libXrandr
Runtime dependencies:
  1. x11.pc : x11/libX11
  2. xcursor.pc : x11/libXcursor
  3. xrandr.pc : x11/libXrandr
Library dependencies:
  1. libFLAC.so : audio/flac
  2. libogg.so : audio/libogg
  3. libvorbis.so : audio/libvorbis
  4. libfreetype.so : print/freetype2
  5. libopenal.so.1 : audio/openal-soft
  6. libGL.so : graphics/libglvnd
This port is required by:
for Libraries
  1. games/etracer
  2. games/marblemarcher
  3. games/slade
  4. graphics/lux

Configuration Options:
===> The following configuration options are available for SFML-2.6.2: DOCS=on: Build and/or install documentation DOXYGEN=off: Build documentation with Doxygen ====> SFML modules AUDIO=on: SFML Audio module GRAPHICS=on: SFML Graphics module NETWORK=on: SFML Network module WINDOW=on: SFML Window module ===> Use 'make config' to modify these settings
Options name:
multimedia_sfml2
USES:
cmake compiler:c++11-lang openal:al gl xorg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/SFML/SFML/tar.gz/2.6.2?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.6.2
02 Sep 2026 10:49:37
commit hash: 0d76b81f912c8b776223fbd67aca7f7d72067e08commit hash: 0d76b81f912c8b776223fbd67aca7f7d72067e08commit hash: 0d76b81f912c8b776223fbd67aca7f7d72067e08commit hash: 0d76b81f912c8b776223fbd67aca7f7d72067e08 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Alastair Hogge
multimedia/sfml2: SFML-2 for legacy Ports

SFML-2 for legacy Ports:
 * SFML-2 is a legacy Port with SFML-3 now 2 years old, and upstream
   focusing on that. Create a new Port for legacy Ports requiring SFML-2
 * Use the correct category, multimedia/ instead of devel/

 PR:		297894

Number of commits found: 1