devel/rubygem-term-ansicolor 1.11.3 FreeBSD
Term::ANSIColor for Ruby
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2
- Categories
- devel, ruby
- Package size
- 44.5 KiB, 147.7 KiB installed
Description
Small Ruby library that colors strings using ANSI escape sequences. It's possible to use constants:
print red, bold, "red bold", reset, "\\n"
or unary functions:
print red(bold("red bold")), "\\n"
Blockforms do also autoreset at the block's end:
print red { bold { "red bold" } }, "\\n"
It's also possible to use this module as Mixin for classes of objects that respond to :to_str, e.g. String.
class String
include Term::ANSIColor
end
print "red bold".red.bold, "\\n"
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-term-ansicolor | 1.11.3 |
| DragonFly | devel/rubygem-term-ansicolor | 1.11.2 |
Install
Binary package:
pkg install rubygem-term-ansicolor
From the ports tree:
cd /usr/ports/devel/rubygem-term-ansicolor/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-term-ansicolor>0:devel/rubygem-term-ansicolor
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 | 1.11.3 | 1.11.3 | 1.7.1 | 1.11.2 | 1.11.3 |
| FreeBSD:14:quarterly | 1.11.3 | 1.11.3 | n/a | 1.11.2 | 1.11.3 |
| FreeBSD:15:latest | 1.11.3 | 1.11.3 | n/a | 1.11.2 | 1.11.2 |
| FreeBSD:15:quarterly | 1.11.3 | 1.11.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.11.3 | 1.11.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
rubygem-tins>=1<2: devel/rubygem-tins
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 22
- devel/libffi
- devel/libunwind
- devel/ruby-gems
- devel/rubygem-erb
- devel/rubygem-io-console
- devel/rubygem-irb
- devel/rubygem-logger
- devel/rubygem-mize
- devel/rubygem-pp
- devel/rubygem-prettyprint
- devel/rubygem-rbs
- devel/rubygem-rdoc
- devel/rubygem-readline
- devel/rubygem-reline
- devel/rubygem-sync
- devel/rubygem-tins
- devel/rubygem-tsort
- lang/ruby34
- math/rubygem-bigdecimal
- print/indexinfo
- textproc/libyaml
- textproc/rubygem-prism
Required by 1
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/term-ansicolor-1.11.3.gem | 49152 | 8c01ec3abd095eb94dca8aed5a127d36e594239eb525eb306259c9e930534603 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.