mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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. WWW: http://rubygems.org/gems/heredoc_unindent PR: ports/158747 Submitted by: Loic Pefferkorn <loic-freebsd at loicp.eu>
This commit is contained in:
parent
c51a8d4a08
commit
d32d08c006
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278633
4 changed files with 32 additions and 0 deletions
|
@ -1191,6 +1191,7 @@
|
||||||
SUBDIR += rubygem-ezamar
|
SUBDIR += rubygem-ezamar
|
||||||
SUBDIR += rubygem-ferret
|
SUBDIR += rubygem-ferret
|
||||||
SUBDIR += rubygem-formosa
|
SUBDIR += rubygem-formosa
|
||||||
|
SUBDIR += rubygem-heredoc_unindent
|
||||||
SUBDIR += rubygem-htmlentities
|
SUBDIR += rubygem-htmlentities
|
||||||
SUBDIR += rubygem-htmltools
|
SUBDIR += rubygem-htmltools
|
||||||
SUBDIR += rubygem-ini
|
SUBDIR += rubygem-ini
|
||||||
|
|
23
textproc/rubygem-heredoc_unindent/Makefile
Normal file
23
textproc/rubygem-heredoc_unindent/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# New ports collection makefile for: rubygem-heredoc_unindent
|
||||||
|
# Date created: 2011-07-08
|
||||||
|
# Whom: Loic Pefferkorn <loic-freebsd@loicp.eu>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= heredoc_unindent
|
||||||
|
PORTVERSION= 1.1.2
|
||||||
|
CATEGORIES= textproc rubygems
|
||||||
|
MASTER_SITES= RG
|
||||||
|
|
||||||
|
MAINTAINER= loic-freebsd@loicp.eu
|
||||||
|
COMMENT= Removes common margin from indented strings
|
||||||
|
|
||||||
|
LICENSE= MIT
|
||||||
|
|
||||||
|
RUN_DEPENDS= rubygem-hoe>=2.9.6:${PORTSDIR}/devel/rubygem-hoe
|
||||||
|
|
||||||
|
USE_RUBY= yes
|
||||||
|
USE_RUBYGEMS= yes
|
||||||
|
RUBYGEM_AUTOPLIST= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
textproc/rubygem-heredoc_unindent/distinfo
Normal file
2
textproc/rubygem-heredoc_unindent/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (rubygem/heredoc_unindent-1.1.2.gem) = 698fea6db6d871f34f94498da8bf6e29330792a4f114f87136579fc63586f5ed
|
||||||
|
SIZE (rubygem/heredoc_unindent-1.1.2.gem) = 11776
|
6
textproc/rubygem-heredoc_unindent/pkg-descr
Normal file
6
textproc/rubygem-heredoc_unindent/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
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.
|
||||||
|
|
||||||
|
WWW: http://rubygems.org/gems/heredoc_unindent
|
Loading…
Add table
Reference in a new issue