blob: 4882e856ac03f5cf85775617719d50d38de8b49d (
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.25 2017/09/19 16:36:07 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
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"
|