openbsd-ports/converters/ruby-json/Makefile
jeremy c3579f1baf Bump revisions for ruby gem/extconf ports after the switch to ruby 1.9
by default, since the ruby 1.8 version now has a ruby18 explicit FLAVOR.
2012-09-23 16:57:32 +00:00

30 lines
622 B
Makefile

# $OpenBSD: Makefile,v 1.18 2012/09/23 16:57:32 jeremy Exp $
COMMENT= JSON implementation for Ruby
DISTNAME= json-1.5.3
CATEGORIES= converters
REVISION = 2
HOMEPAGE= http://json.rubyforge.org/
# Ruby license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/ruby
CONFIGURE_STYLE= ruby gem ext
MODRUBY_REGRESS= rake
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
${MODRUBY_ICONV_DEPENDS}
do-regress:
cd ${WRKSRC} && /usr/bin/env -i ${MAKE_ENV} RUBYOPT=-rubygems \
JSON=ext ${MODRUBY_BIN_TESTRB} tests/*.rb
.include <bsd.port.mk>