BSD Ports

textproc/rubygem-heredoc_unindent 1.2.0_1 MidnightBSD

Removes common margin from indented strings

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
textproc, rubygems

Description

This gem removes common margin from indented strings, such as the ones produced by indented heredocs. In other words, it strips out leading whitespace chars at the beggining of each line, but only as much as the line with the smallest margin.

In the other systems

SystemPortVersion
MidnightBSDtextproc/rubygem-heredoc_unindent1.2.0_1
FreeBSDtextproc/rubygem-heredoc_unindent1.2.0_1
DragonFlytextproc/rubygem-heredoc_unindent1.2.0_1
HardenedBSDtextproc/rubygem-heredoc_unindent1.2.0_1
GhostBSDtextproc/rubygem-heredoc_unindent1.2.0_1

Install

Binary package:

mport install heredoc_unindent

From mports:

cd /usr/mports/textproc/rubygem-heredoc_unindent && make install clean

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

RUN_DEPENDS=	heredoc_unindent>0:textproc/rubygem-heredoc_unindent

Dependencies

Required by 1

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/heredoc_unindent-1.2.0.gem10240dc87002a9d89e3ad06722e53c7f6db9b28677b69017dc5a69c1972a99dc83292
Master sites 1
  • RG