aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2012-02-08 11:57:24 +0800
committerpgollucci <pgollucci@FreeBSD.org>2012-02-08 11:57:24 +0800
commit2540f966a34f819e95cc28de2cdceedc40ac4772 (patch)
tree0a4bf2b5a0f2e2e3e5fde48d87b37e47725adc8e /devel
parentf5975b89f706d40ffa553cf6ca4bf55a942ec388 (diff)
downloadfreebsd-ports-gnome-2540f966a34f819e95cc28de2cdceedc40ac4772.tar.gz
freebsd-ports-gnome-2540f966a34f819e95cc28de2cdceedc40ac4772.tar.zst
freebsd-ports-gnome-2540f966a34f819e95cc28de2cdceedc40ac4772.zip
method_source is a utility to return a method's sourcecode as a Ruby string.
Also returns Proc and Lambda sourcecode. Author: John Mair http://banisterfiend.wordpress.com/ WWW: http://rubygems.org/gems/method_source PR: ports/164864 Submitted by: Shin-ya MURAKAMI <murashin@gfd-dennou.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-method_source/Makefile22
-rw-r--r--devel/rubygem-method_source/distinfo2
-rw-r--r--devel/rubygem-method_source/pkg-descr5
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e01127500b86..52bff18d977d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3643,6 +3643,7 @@
SUBDIR += rubygem-main
SUBDIR += rubygem-mash
SUBDIR += rubygem-metaid
+ SUBDIR += rubygem-method_source
SUBDIR += rubygem-minitest
SUBDIR += rubygem-mixlib-authentication
SUBDIR += rubygem-mixlib-cli
diff --git a/devel/rubygem-method_source/Makefile b/devel/rubygem-method_source/Makefile
new file mode 100644
index 000000000000..39bcb954fe14
--- /dev/null
+++ b/devel/rubygem-method_source/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: rubygem-method_source
+# Date created: 2012-02-08
+# Whom: Shin-ya MURAKAMI <murashin@gfd-dennou.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= method_source
+PORTVERSION= 0.7.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= A tool to retrieve the sourcecode for a method
+
+LICENSE= MIT
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-method_source/distinfo b/devel/rubygem-method_source/distinfo
new file mode 100644
index 000000000000..9b8b8225e17e
--- /dev/null
+++ b/devel/rubygem-method_source/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/method_source-0.7.0.gem) = b19bed636fb1f0bb523c578d0fb045e90c3e218e9014a2c4171b8eb2a0ba6a01
+SIZE (rubygem/method_source-0.7.0.gem) = 9728
diff --git a/devel/rubygem-method_source/pkg-descr b/devel/rubygem-method_source/pkg-descr
new file mode 100644
index 000000000000..6beacd02b917
--- /dev/null
+++ b/devel/rubygem-method_source/pkg-descr
@@ -0,0 +1,5 @@
+method_source is a utility to return a method's sourcecode as a Ruby string.
+Also returns Proc and Lambda sourcecode.
+
+Author: John Mair http://banisterfiend.wordpress.com/
+WWW: http://rubygems.org/gems/method_source