openbsd-ports/converters/ruby-json/Makefile
bernd c0ca1395d2 Initial import of ruby-json-1.1.2.
This library can parse JSON texts and generate them from Ruby
data structures.
2008-04-19 18:24:07 +00:00

34 lines
628 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/04/19 18:24:07 bernd Exp $
SHARED_ONLY= Yes
COMMENT= JSON implementation for Ruby
DISTNAME= json-1.1.2
PKGNAME= ruby-${DISTNAME}
CATEGORIES= converters
HOMEPAGE= http://json.rubyforge.org/
# Ruby license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_RUBYFORGE:=json/}
MODULES= lang/ruby
CONFIGURE_STYLE= ruby gem
WANTLIB= c m
LIB_DEPENDS= ruby::lang/ruby
REGRESS_DEPENDS= ::converters/ruby-json
do-regress:
@cd ${WRKBUILD} && ${RUBY} -rubygems tests/runner.rb
.include <bsd.port.mk>