pkgsrc/www/ruby-rails51/Makefile
taca a7a597857c www/ruby-rails*: restrict ruby-bunlder dependency
Restrict ruby-bunlder dependency with ruby26.
No bump PKGREVISION since these were broken with ruby26.
2019-02-06 14:43:20 +00:00

30 lines
947 B
Makefile

# $NetBSD: Makefile,v 1.2 2019/02/06 14:43: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.1
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_RAILTIES_DEPENDS}
DEPENDS+= ${RUBY_PKGPREFIX}-sprockets-rails>2.0.0*:../../misc/ruby-sprockets-rails
RUBY_RAILS_ACCEPTED= 51
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"