summaryrefslogtreecommitdiff
path: root/www/ruby-rack15/Makefile
blob: 1d0f5243c2663a5ce12424e24700dd3593a5059d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.2 2015/06/22 13:58:44 taca Exp $

DISTNAME=	rack-1.5.5
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME:S/rack/rack15/}
CATEGORIES=	www

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://rack.github.com/
COMMENT=	Modular Ruby webserver interface
LICENSE=	mit

OVERRIDE_GEMSPEC=	:executables rackup=rackup15 \
			:files bin/rackup=bin/rackup15
RUBYGEM_OPTIONS+=	--format-executable

pre-configure:
	${FIND} ${WRKSRC} -type f -exec ${CHMOD} g-w {} \;
	${TEST} -f ${WRKSRC}/bin/rackup15 || \
		${MV} ${WRKSRC}/bin/rackup ${WRKSRC}/bin/rackup15

.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"