openbsd-ports/converters/ruby-json/Makefile
2013-03-11 01:30:26 +00:00

26 lines
522 B
Makefile

# $OpenBSD: Makefile,v 1.22 2013/03/11 01:30:28 espie Exp $
COMMENT= JSON implementation for Ruby
DISTNAME= json-1.7.7
CATEGORIES= converters
HOMEPAGE= http://json.rubyforge.org/
# Ruby license
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/ruby
CONFIGURE_STYLE= ruby gem ext
MODRUBY_TEST= rake
TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
${MODRUBY_ICONV_DEPENDS}
do-test:
cd ${WRKSRC} && /usr/bin/env -i ${MAKE_ENV} RUBYOPT=-rubygems \
JSON=ext ${MODRUBY_BIN_TESTRB} tests/*.rb
.include <bsd.port.mk>