BSD Ports

devel/rubygem-pathname 0.5.0 FreeBSD

Representation of the name of a file or directory on the filesystem

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE, RUBY
Categories
devel, rubygems
Package size
19.0 KiB, 67.1 KiB installed

Description

Pathname represents the name of a file or directory on the filesystem, but not the file itself.

The pathname depends on the Operating System: Unix, Windows, etc. This library works with pathnames of local OS, however non-Unix pathnames are supported experimentally.

A Pathname can be relative or absolute. It's not until you try to reference the file that it even matters whether the file exists or not.

Pathname is immutable. It has no method for destructive update.

The goal of this class is to manipulate file path information in a neater way than standard Ruby provides. The examples below demonstrate the difference.

All functionality from File, FileTest, and some from Dir and FileUtils is included, in an unsurprising way. It is essentially a facade for all of these, and more.

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-pathname0.5.0
DragonFlydevel/rubygem-pathname0.4.0
MidnightBSDdevel/rubygem-pathname0.5.0
HardenedBSDdevel/rubygem-pathname0.5.0
GhostBSDdevel/rubygem-pathname0.5.0

Install

Binary package:

pkg install rubygem-pathname

From the ports tree:

cd /usr/ports/devel/rubygem-pathname/ && make install clean

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

RUN_DEPENDS=	rubygem-pathname>0:devel/rubygem-pathname

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.5.00.5.00.2.00.4.00.5.0
FreeBSD:14:quarterly0.5.00.5.0n/a0.4.00.5.0
FreeBSD:15:latest0.5.00.5.0n/a0.4.00.4.0
FreeBSD:15:quarterly0.5.00.5.0n/an/an/a
FreeBSD:16:latest0.5.00.5.0n/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/pathname-0.5.0.gem19968d5a331784f6e1f2fefb31c2ff0b8855aabfb661d807284ead9fa47b883d81623
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.