5c3e17f944
Active Record -- Object-relational mapping in Rails Active Record connects classes to relational database tables to establish an almost zero-configuration persistence layer for applications. The library provides a base class that, when subclassed, sets up a mapping between the new class and an existing table in the database. In the context of an application, these classes are commonly referred to as *models*. Models can also be connected to other models; this is done by defining *associations*. Active Record relies heavily on naming in that it uses class and association names to establish mappings between respective database tables and foreign key columns. Although these mappings can be defined explicitly, it's recommended to follow naming conventions, especially when getting started with the library. This is for Ruby on Rails 7.0.
21 lines
562 B
Makefile
21 lines
562 B
Makefile
# $NetBSD: Makefile,v 1.1 2021/12/19 06:04:27 taca Exp $
|
|
|
|
DISTNAME= activerecord-${RAILS_VERSION}
|
|
PKGNAME= ${RUBY_PKGPREFIX}-activerecord${RUBY_RAILS}-${RAILS_VERSION}
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.rubyonrails.org/
|
|
COMMENT= Object-relational mapper framework (part of Rails 6.0)
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
|
|
DEPENDS+= ${RUBY_ACTIVEMODEL_DEPENDS}
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
RUBY_RAILS_ACCEPTED= 70
|
|
RUBY_RAILS_STRICT_DEP= yes
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|