BSD Ports

devel/rubygem-ruby-filemagic 0.7.3_1 DragonFly

Ruby binding to libmagic(3)

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE, RUBY
Categories
devel, ruby
Package size
18.9 KiB, 76.8 KiB installed

Description

FileMagic is a Ruby binding to the magic(4) library, which you may know better as the file(1) command. The file(1) command identifies the type of a file using, among other tests, a test for whether the file begins with a certain magic number.

In the other systems

SystemPortVersion
DragonFlydevel/rubygem-ruby-filemagic0.7.3_1
FreeBSDdevel/rubygem-ruby-filemagic0.7.3_1

Install

Binary package:

pkg install rubygem-ruby-filemagic

From DPorts:

cd /usr/dports/devel/rubygem-ruby-filemagic && make install clean

Dependencies

Run dependencies 2

No port depends on this one.