diff options
author | swills <swills@FreeBSD.org> | 2012-07-25 09:48:00 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2012-07-25 09:48:00 +0800 |
commit | 1f8b28cd40c4cd71879a1a3222a595af199cc7e0 (patch) | |
tree | f42f9a16b628f34cba6ee14232c9205c6bb87b51 | |
parent | aab04c19f14519b5cff42ccd694d7c0f492c45e7 (diff) | |
download | freebsd-ports-gnome-1f8b28cd40c4cd71879a1a3222a595af199cc7e0.tar.gz freebsd-ports-gnome-1f8b28cd40c4cd71879a1a3222a595af199cc7e0.tar.zst freebsd-ports-gnome-1f8b28cd40c4cd71879a1a3222a595af199cc7e0.zip |
Ripper parses Ruby source and tokenizes or builds an AST.
This gem is meant for Ruby 1.8.x builds. Ruby 1.9.x comes with a functioning
ripper implementation out of the box. This gem is a port of the Ripper 1.9
for Ruby 1.8.x. Ripper was written by Minero Aoki and ported by Loren Segal.
WWW: http://github.com/lsegal/ripper18
PR: ports/169390
Submitted by: Douglas Thrift
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rubygem-ripper/Makefile | 30 | ||||
-rw-r--r-- | devel/rubygem-ripper/distinfo | 2 | ||||
-rw-r--r-- | devel/rubygem-ripper/pkg-descr | 7 |
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b8fd7d8a3a1a..54c8e52b1795 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3853,6 +3853,7 @@ SUBDIR += rubygem-rdoc SUBDIR += rubygem-require_all SUBDIR += rubygem-rgl + SUBDIR += rubygem-ripper SUBDIR += rubygem-rparsec SUBDIR += rubygem-rr SUBDIR += rubygem-rscm diff --git a/devel/rubygem-ripper/Makefile b/devel/rubygem-ripper/Makefile new file mode 100644 index 000000000000..f4779307079d --- /dev/null +++ b/devel/rubygem-ripper/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: rubygem-ripper +# Date created: 24 June 2012 +# Whom: Douglas Thrift +# +# $FreeBSD$ +# + +PORTNAME= ripper +PORTVERSION= 1.0.5 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= douglas@douglasthrift.net +COMMENT= Parses Ruby source and tokenizes or builds an AST + +LICENSE= BSD + +BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.pre.mk> + +.if ${RUBY_VER} != 1.8 +IGNORE= is already included in Ruby 1.9 and later +.endif + +.include <bsd.port.post.mk> diff --git a/devel/rubygem-ripper/distinfo b/devel/rubygem-ripper/distinfo new file mode 100644 index 000000000000..64bcba44ead1 --- /dev/null +++ b/devel/rubygem-ripper/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/ripper-1.0.5.gem) = 7fcb60a6a27103be22d56ccb56df7b8a5c35172360cca5a510deb902cf9dc5ed +SIZE (rubygem/ripper-1.0.5.gem) = 70656 diff --git a/devel/rubygem-ripper/pkg-descr b/devel/rubygem-ripper/pkg-descr new file mode 100644 index 000000000000..0f7ec7799ec5 --- /dev/null +++ b/devel/rubygem-ripper/pkg-descr @@ -0,0 +1,7 @@ +Ripper parses Ruby source and tokenizes or builds an AST. + +This gem is meant for Ruby 1.8.x builds. Ruby 1.9.x comes with a functioning +ripper implementation out of the box. This gem is a port of the Ripper 1.9 +for Ruby 1.8.x. Ripper was written by Minero Aoki and ported by Loren Segal. + +WWW: http://github.com/lsegal/ripper18 |