diff options
author | taca <taca@pkgsrc.org> | 2005-11-02 14:28:45 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2005-11-02 14:28:45 +0000 |
commit | 2d6ced9afdb37f3a3459e0e21a2797ec6dc30b39 (patch) | |
tree | 5be9ad7379a659b25934c76923113704ba492cfa /databases | |
parent | a8c6da1f66476aff6365221269758962afae36d0 (diff) | |
download | pkgsrc-2d6ced9afdb37f3a3459e0e21a2797ec6dc30b39.tar.gz |
Install example files, too.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/ruby-activerecord/Makefile | 9 | ||||
-rw-r--r-- | databases/ruby-activerecord/PLIST | 7 |
2 files changed, 14 insertions, 2 deletions
diff --git a/databases/ruby-activerecord/Makefile b/databases/ruby-activerecord/Makefile index eaf3ef00a48..d82d5e63f9f 100644 --- a/databases/ruby-activerecord/Makefile +++ b/databases/ruby-activerecord/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2005/11/02 14:18:31 taca Exp $ +# $NetBSD: Makefile,v 1.4 2005/11/02 14:28:45 taca Exp $ DISTNAME= activerecord-1.12.1 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} @@ -15,12 +15,19 @@ DEPENDS+= ${RUBY_PKGPREFIX}-activesupport-[0-9]*:../../devel/ruby-activesupport NO_BUILD= yes NO_CONFIGURE= yes USE_RUBY_INSTALL= yes +EXAMPLES= associations.png associations.rb shared_setup.rb \ + validation.rb post-install: ${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/active_record/support ${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}/activerecord +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/examples/${f} \ + ${RUBY_EXAMPLESDIR}/activerecord +.endfor .include "../../lang/ruby/modules.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/ruby-activerecord/PLIST b/databases/ruby-activerecord/PLIST index a23d1410724..7329744559c 100644 --- a/databases/ruby-activerecord/PLIST +++ b/databases/ruby-activerecord/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2005/11/02 14:18:31 taca Exp $ +@comment $NetBSD: PLIST,v 1.4 2005/11/02 14:28:45 taca Exp $ ${RUBY_SITELIBDIR}/active_record.rb ${RUBY_SITELIBDIR}/active_record/acts/list.rb ${RUBY_SITELIBDIR}/active_record/acts/nested_set.rb @@ -57,3 +57,8 @@ ${RUBY_DOCDIR}/active_record/README @dirrm ${RUBY_SITELIBDIR}/active_record/associations @dirrm ${RUBY_SITELIBDIR}/active_record/acts @dirrm ${RUBY_SITELIBDIR}/active_record +${RUBY_EXAMPLESDIR}/activerecord/associations.png +${RUBY_EXAMPLESDIR}/activerecord/associations.rb +${RUBY_EXAMPLESDIR}/activerecord/shared_setup.rb +${RUBY_EXAMPLESDIR}/activerecord/validation.rb +@dirrm ${RUBY_EXAMPLESDIR}/activerecord |