devel/fruit 3.7.1 DragonFly
Dependency injection framework for C++
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20
- Categories
- devel
- Package size
- 128.2 KiB, 761.1 KiB installed
Description
Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some C++11 features to detect most injection problems at compile-time. It allows to split the implementation code in "components" (aka modules) that can be assembled to form other components. From a component with no requirements it's then possible to create an injector, that provides an instance of the interfaces exposed by the component.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/fruit | 3.7.1 |
| FreeBSD | devel/fruit | 3.7.1 |
| NetBSD | games/fruit | 2.1 |
| HardenedBSD | devel/fruit | 3.7.1 |
| GhostBSD | devel/fruit | 3.7.1 |
Install
Binary package:
pkg install fruit
From DPorts:
cd /usr/dports/devel/fruit && make install clean
Dependencies
No port depends on this one.