devel/physfs 3.2.0 FreeBSD
Library to provide abstract access to various archives
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
4239360ccc- License
- ZLIB
- Categories
- devel
- Package size
- 139.3 KiB, 616.7 KiB installed
Description
PhysicsFS is a library to provide abstract access to various archives. It is intended for use in video games, and the design was somewhat inspired by Quake 3's file subsystem. The programmer defines a "write directory" on the physical filesystem. No file writing done through the PhysicsFS API can leave that write directory, for security. For example, an embedded scripting language cannot write outside of this path if it uses PhysFS for all of its I/O, which means that untrusted scripts can run more safely. Symbolic links can be disabled as well, for added safety. For file reading, the programmer lists directories and archives that form a "search path". Once the search path is defined, it becomes a single, transparent hierarchical filesystem. This makes for easy access to ZIP files in the same way as you access a file directly on the disk, and it makes it easy to ship a new archive that will override a previous archive on a per-file basis. Finally, PhysicsFS gives you platform-abstracted means to determine if CD-ROMs are available, the user's home directory, where in the real filesystem your program is running, etc.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/physfs | 3.2.0 |
| OpenBSD | devel/physfs | 3.2.0 |
| NetBSD | devel/physfs | 3.2.0 |
| DragonFly | devel/physfs | 3.2.0 |
| MidnightBSD | devel/physfs | 3.2.0 |
Install
Binary package:
pkg install physfs
From the ports tree:
cd /usr/ports/devel/physfs/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= physfs>0:devel/physfs
LIB_DEPENDS= libphysfs.so:devel/physfs
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.2.0 | 3.2.0 | 3.0.2 | 3.2.0 | 3.2.0 |
| FreeBSD:14:quarterly | 3.2.0 | 3.2.0 | n/a | 3.2.0 | 3.2.0 |
| FreeBSD:15:latest | 3.2.0 | 3.2.0 | n/a | 3.2.0 | 3.2.0 |
| FreeBSD:15:quarterly | 3.2.0 | 3.2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.2.0 | 3.2.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 2
Required by 36
- audio/sdl_sound
- devel/allegro5
- devel/love07
- devel/love08
- devel/love10
- devel/love5
- emulators/dosbox
- games/90secondportraits
- games/avoision
- games/barony
- games/blobby
- games/blockattack
- games/colobot
- games/cretan-hubris
- games/dxx-rebirth
- games/egoboo
- games/excido
- games/f1spirit-remake
- games/fbg2
- games/gltron
- games/gunfudeadlands
- games/hedgewars
- games/naev
- games/neverball
- games/oblige
- games/orthorobot
- games/solarus
- games/solarus-quest-editor
- games/supertux2
- games/thegrind
- games/trigger-rally
- games/voadi
- games/vvvvvv
- games/warzone2100
- graphics/radius-engine
- lang/smalltalk
Configuration
No options to configure.
- USES
- cmake readline tar:bzip2
- Service scripts
- none
Files
pkg-plist 9
- bin/test_physfs
- include/physfs.h
- lib/cmake/PhysFS/PhysFSConfig-.cmake
- lib/cmake/PhysFS/PhysFSConfig.cmake
- lib/libphysfs.a
- lib/libphysfs.so
- lib/libphysfs.so.1
- lib/libphysfs.so.3.2.0
- libdata/pkgconfig/physfs.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| icculus-physfs-release-3.2.0_GH0.tar.gz | 242857 | 1991500eaeb8d5325e3a8361847ff3bf8e03ec89252b7915e1f25b3f8ab5d560 |