forked from Lainports/freebsd-ports
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
30 lines
560 B
Makefile
30 lines
560 B
Makefile
# 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>
|