blob: c82db9bed8c0af9983bbfcb7f3496b6314206311 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: Makefile,v 1.24 2017/06/18 13:48:54 taca Exp $
DISTNAME= rack-2.0.3
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://rack.github.io/
COMMENT= Modular Ruby webserver interface
LICENSE= mit
# Rack 2.0.3 requires Ruby 2.2.2 or later
RUBY_VERSIONS_ACCEPTED= 23 22 24
OVERRIDE_GEMSPEC= :executables rackup=rackup20 \
:files bin/rackup=bin/rackup20
RUBYGEM_OPTIONS+= --format-executable
pre-configure:
${FIND} ${WRKSRC} -type f -exec ${CHMOD} g-w {} \;
${FIND} ${WRKSRC}/bin -type f -exec ${CHMOD} ${BINMODE} {} \;
${TEST} -f ${WRKSRC}/bin/rackup20 || \
${MV} ${WRKSRC}/bin/rackup ${WRKSRC}/bin/rackup20
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
|