11c8430d2c
Railties -- Gluing the Engine to the Rails Railties is responsible for gluing all frameworks together. Overall, it: * handles the bootstrapping process for a Rails application; * manages the +rails+ command line interface; * and provides the Rails generators core. This is for Ruby on Rails 6.1.
30 lines
972 B
Makefile
30 lines
972 B
Makefile
# $NetBSD: Makefile,v 1.1 2021/02/14 14:06:29 taca Exp $
|
|
|
|
DISTNAME= railties-${RAILS_VERSION}
|
|
PKGNAME= ${RUBY_PKGPREFIX}-railties${RUBY_RAILS}-${RAILS_VERSION}
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.rubyonrails.org/
|
|
COMMENT= Tools for creating, working with, and running Rails 6.0
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${RUBY_ACTIONPACK_DEPENDS}
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-thor>=1.0<2:../../devel/ruby-thor
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-method_source-[0-9]*:../../misc/ruby-method_source
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
RUBY_RAILS_ACCEPTED= 61
|
|
RUBY_RAILS_STRICT_DEP= yes
|
|
RUBYGEM_OPTIONS+= --format-executable
|
|
OVERRIDE_GEMSPEC+= :executables rails=rails${RUBY_RAILS} \
|
|
:files exe/rails=exe/rails${RUBY_RAILS}
|
|
|
|
pre-configure:
|
|
${TEST} -f ${WRKSRC}/exe/rails${RUBY_RAILS} || \
|
|
${MV} ${WRKSRC}/exe/rails ${WRKSRC}/exe/rails${RUBY_RAILS}
|
|
${CHMOD} ${BINMODE} ${WRKSRC}/exe/rails${RUBY_RAILS}
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|