pkgsrc/www/ruby-rails52/Makefile
2021-02-11 14:26:21 +00:00

33 lines
1,010 B
Makefile

# $NetBSD: Makefile,v 1.6 2021/02/11 14:26:21 taca Exp $
DISTNAME= rails-${RAILS_VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-rails${RUBY_RAILS}-${RAILS_VERSION}
CATEGORIES= www
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.rubyonrails.org/
COMMENT= Full-stack web application framework, Rails 5.2
LICENSE= mit
DEPENDS+= ${RUBY_ACTIONCABLE_DEPENDS}
DEPENDS+= ${RUBY_ACTIONMAILER_DEPENDS}
DEPENDS+= ${RUBY_ACTIONPACK_DEPENDS}
DEPENDS+= ${RUBY_ACTIONVIEW_DEPENDS}
DEPENDS+= ${RUBY_ACTIVEJOB_DEPENDS}
DEPENDS+= ${RUBY_ACTIVEMODEL_DEPENDS}
DEPENDS+= ${RUBY_ACTIVERECORD_DEPENDS}
DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
DEPENDS+= ${RUBY_ACTIVESTORAGE_DEPENDS}
DEPENDS+= ${RUBY_RAILTIES_DEPENDS}
DEPENDS+= ${RUBY_PKGPREFIX}-sprockets-rails>2.0.0:../../misc/ruby-sprockets-rails
USE_LANGUAGES= # none
RUBY_RAILS_ACCEPTED= 52
RUBY_RAILS_STRICT_DEP= yes
.include "../../lang/ruby/gem.mk"
.if ${RUBY_VER} < 26
DEPENDS+= ${RUBY_PKGPREFIX}-bundler>=1.3.0:../../misc/ruby-bundler
.endif
.include "../../mk/bsd.pkg.mk"