aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2015-08-18 14:01:55 +0800
committerkuriyama <kuriyama@FreeBSD.org>2015-08-18 14:01:55 +0800
commitb8d917ffa4c6e454c6f7a625047abd534445db57 (patch)
treeb8efb7c98c742c89b4aa64b65577edbbe68e8dbc
parent7bb06d0498a2af40f9fb7c158f511522c60851ef (diff)
downloadfreebsd-ports-gnome-b8d917ffa4c6e454c6f7a625047abd534445db57.tar.gz
freebsd-ports-gnome-b8d917ffa4c6e454c6f7a625047abd534445db57.tar.zst
freebsd-ports-gnome-b8d917ffa4c6e454c6f7a625047abd534445db57.zip
String#scrub for Ruby 2.0.0 and 1.9.3.
WWW: http://rubygems.org/gems/string-scrub/
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-string-scrub/Makefile25
-rw-r--r--textproc/rubygem-string-scrub/distinfo2
-rw-r--r--textproc/rubygem-string-scrub/pkg-descr3
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 5238d94da5a9..7ec90ec49a9e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1428,6 +1428,7 @@
SUBDIR += rubygem-simplecov-html
SUBDIR += rubygem-spreadsheet
SUBDIR += rubygem-stamp
+ SUBDIR += rubygem-string-scrub
SUBDIR += rubygem-syntax
SUBDIR += rubygem-termcolor
SUBDIR += rubygem-terminal-table
diff --git a/textproc/rubygem-string-scrub/Makefile b/textproc/rubygem-string-scrub/Makefile
new file mode 100644
index 000000000000..a493e26ef239
--- /dev/null
+++ b/textproc/rubygem-string-scrub/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= string-scrub
+PORTVERSION= 0.0.5
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= String\#scrub for Ruby 2.0.0 and 1.9.3
+
+LICENSE= MIT
+
+NO_ARCH= yes
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} >= 2.1
+BROKEN= Needed for Ruby 1.9.x/2.0.x only
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/rubygem-string-scrub/distinfo b/textproc/rubygem-string-scrub/distinfo
new file mode 100644
index 000000000000..ab7fec486942
--- /dev/null
+++ b/textproc/rubygem-string-scrub/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/string-scrub-0.0.5.gem) = 0f9d402148de9cb70b7d7b9a973ed40f4708ee581500573f46467c25fcc2c43b
+SIZE (rubygem/string-scrub-0.0.5.gem) = 10240
diff --git a/textproc/rubygem-string-scrub/pkg-descr b/textproc/rubygem-string-scrub/pkg-descr
new file mode 100644
index 000000000000..a59d4b54dfe9
--- /dev/null
+++ b/textproc/rubygem-string-scrub/pkg-descr
@@ -0,0 +1,3 @@
+String#scrub for Ruby 2.0.0 and 1.9.3.
+
+WWW: http://rubygems.org/gems/string-scrub/