pkgsrc/databases/ruby-activerecord/Makefile
minskim b49716b267 Update ruby-activerecord to 1.15.3.
Changes:
* Allow a polymorphic :source for has_many :through associations.
* Consistently quote primary key column names.
* Fixtures: fix YAML ordered map support.
* Fix has_many :through << with custom foreign keys.
2007-03-17 11:05:15 +00:00

33 lines
1,013 B
Makefile

# $NetBSD: Makefile,v 1.9 2007/03/17 11:05:15 minskim Exp $
DISTNAME= activerecord-1.15.3
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= databases ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/18406/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rubyforge.org/projects/activerecord/
COMMENT= Object-relation mapping put on rails
DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=1.4.2:../../devel/ruby-activesupport
NO_BUILD= yes
NO_CONFIGURE= yes
USE_RUBY_INSTALL= yes
EXAMPLES= associations.png associations.rb shared_setup.rb \
validation.rb
.include "../../lang/ruby/modules.mk"
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/active_record
${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${RUBY_DOCDIR}/active_record
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/active_record
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/active_record
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${f} \
${RUBY_EXAMPLESDIR}/active_record
.endfor
.include "../../mk/bsd.pkg.mk"