PORTNAME=	unicorn
PORTVERSION=	6.1.0
CATEGORIES=	www rubygems
MASTER_SITES=	RG

MAINTAINER=	ruby@FreeBSD.org
COMMENT=	HTTP server for Rack applications
WWW=		https://yhbt.net/unicorn/

LICENSE=	GPLv2 GPLv3 RUBY
LICENSE_COMB=	dual
LICENSE_FILE_GPLv3=	${WRKSRC}/COPYING
LICENSE_FILE_RUBY=	${WRKSRC}/LICENSE

RUN_DEPENDS=	rubygem-kgio>=2.6<3:devel/rubygem-kgio \
		rubygem-raindrops>=0.7<1:www/rubygem-raindrops

USES=		gem shebangfix

PLIST_FILES=	bin/unicorn bin/unicorn_rails

SHEBANG_FILES=	bin/unicorn* test/aggregate.rb test/benchmark/uconnect.perl
ruby_OLD_CMD=	.*ruby

.include <bsd.port.mk>
