ec28c80372
Remove unnecessary RUBY_VERSIONS_ACCEPTED since ruby21 removed.
22 lines
632 B
Makefile
22 lines
632 B
Makefile
# $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"
|