devel/rubygem-rainbow 3.1.1 MidnightBSD
Extends ruby String class enabling coloring text on ANSI terminals
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, rubygems
Description
Rainbow extends ruby String class adding methods to wrap the string with ANSI escape codes.
Rainbow adds following methods to String class:
* foreground(color) (with color and colour aliases) * background(color) * reset * bright * italic (not well supported by terminal emulators). * underline * blink * inverse * hide.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/rubygem-rainbow | 3.1.1 |
| FreeBSD | devel/rubygem-rainbow | 3.1.1 |
| DragonFly | devel/rubygem-rainbow | 3.1.1 |
Install
Binary package:
mport install rainbow
From mports:
cd /usr/mports/devel/rubygem-rainbow && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rainbow>0:devel/rubygem-rainbow
Dependencies
No port depends on this one.
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/rainbow-3.1.1.gem | 13824 | 039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a |
Master sites 1
- RG