BSD Ports

textproc/rubygem-abbrev 0.1.2 FreeBSD

Calculate a set of unique abbreviations for a given set of strings

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE, RUBY
Categories
textproc, rubygems
Package size
6.8 KiB, 14.1 KiB installed

Description

Given a set of strings, Abbrev calculates the set of unambiguous abbreviations for those strings, and returns a hash where the keys are all the possible abbreviations and the values are the full strings.

Thus, given words is "car" and "cone", the keys pointing to "car" would be "ca" and "car", while those pointing to "cone" would be "co", "con", and "cone".

In the other systems

SystemPortVersion
FreeBSDtextproc/rubygem-abbrev0.1.2
DragonFlytextproc/rubygem-abbrev0.1.2

Install

Binary package:

pkg install rubygem-abbrev

From the ports tree:

cd /usr/ports/textproc/rubygem-abbrev/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-abbrev>0:textproc/rubygem-abbrev

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1.20.1.20.1.00.1.20.1.2
FreeBSD:14:quarterly0.1.20.1.2n/a0.1.20.1.2
FreeBSD:15:latest0.1.20.1.2n/a0.1.20.1.2
FreeBSD:15:quarterly0.1.20.1.2n/an/an/a
FreeBSD:16:latest0.1.20.1.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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 6
Run dependencies 6

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/abbrev-0.1.2.gem8704ad1b4eaaaed4cb722d5684d63949e4bde1d34f2a95e20db93aecfe7cbac74242
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.