2020-03-20 16:43:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.2 2020/03/20 15:43:05 taca Exp $
|
2019-03-03 16:01:38 +01:00
|
|
|
|
|
|
|
DISTNAME= railties-${RAILS_VERSION}
|
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-railties${RUBY_RAILS}-${RAILS_VERSION}
|
|
|
|
CATEGORIES= databases
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.rubyonrails.org/
|
|
|
|
COMMENT= Tools for creating, working with, and running Rails 5.2
|
|
|
|
LICENSE= mit
|
|
|
|
|
|
|
|
DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
|
|
|
|
DEPENDS+= ${RUBY_ACTIONPACK_DEPENDS}
|
2020-03-20 16:43:05 +01:00
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-thor>=0.19.0:../../devel/ruby-thor
|
2019-03-03 16:01:38 +01:00
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-method_source-[0-9]*:../../misc/ruby-method_source
|
|
|
|
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
|
|
|
RUBY_RAILS_ACCEPTED= 52
|
|
|
|
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"
|