diff --git a/devel/Makefile b/devel/Makefile index 71d93b27f9a8..464a80368ee2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6092,6 +6092,7 @@ SUBDIR += rubygem-metaid SUBDIR += rubygem-metasm SUBDIR += rubygem-method_source + SUBDIR += rubygem-method_source0 SUBDIR += rubygem-micromachine SUBDIR += rubygem-micromachine2 SUBDIR += rubygem-middleware diff --git a/devel/rubygem-method_source0/Makefile b/devel/rubygem-method_source0/Makefile new file mode 100644 index 000000000000..84858e6be6bb --- /dev/null +++ b/devel/rubygem-method_source0/Makefile @@ -0,0 +1,23 @@ +# Created by: Shin-ya MURAKAMI +# $FreeBSD$ + +PORTNAME= method_source +PORTVERSION= 0.9.2 +CATEGORIES= devel rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 0 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Tool to retrieve the sourcecode for a method + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +PORTSCOUT= limit:^0\. + +.include diff --git a/devel/rubygem-method_source0/distinfo b/devel/rubygem-method_source0/distinfo new file mode 100644 index 000000000000..1d2d25b740fb --- /dev/null +++ b/devel/rubygem-method_source0/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1542045859 +SHA256 (rubygem/method_source-0.9.2.gem) = 980eba674be3d05dee1889d6cf1ce25735955a6394c6e38d7d2035dcf6e771df +SIZE (rubygem/method_source-0.9.2.gem) = 13824 diff --git a/devel/rubygem-method_source0/pkg-descr b/devel/rubygem-method_source0/pkg-descr new file mode 100644 index 000000000000..f00096a423ca --- /dev/null +++ b/devel/rubygem-method_source0/pkg-descr @@ -0,0 +1,4 @@ +method_source is a utility to return a method's sourcecode as a Ruby string. +Also returns Proc and Lambda sourcecode. + +WWW: https://github.com/banister/method_source