# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD: branches/RELEASE_8_4_0/devel/rubygem-json/Makefile 312319 2013-02-16 02:48:58Z swills $

PORTNAME=	json
PORTVERSION=	1.7.7
CATEGORIES=	devel rubygems
MASTER_SITES=	RG

MAINTAINER=	ruby@FreeBSD.org
COMMENT=	Parse JSON texts and generate them from ruby data structures

USE_RUBY=	yes
USE_RUBYGEMS=	yes
RUBYGEM_AUTOPLIST=	yes

.include <bsd.port.pre.mk>

.if ${RUBY_VER} < 1.9
RUN_DEPENDS+=	${DEPEND_RUBY_ICONV}
.endif

.include <bsd.port.post.mk>
