pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/ruby-activerecord Install example files, too.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd7b653ac5c4
branches:  trunk
changeset: 502120:cd7b653ac5c4
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Nov 02 14:28:45 2005 +0000

description:
Install example files, too.

diffstat:

 databases/ruby-activerecord/Makefile |  9 ++++++++-
 databases/ruby-activerecord/PLIST    |  7 ++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r a6be9e4fd326 -r cd7b653ac5c4 databases/ruby-activerecord/Makefile
--- a/databases/ruby-activerecord/Makefile      Wed Nov 02 14:18:31 2005 +0000
+++ b/databases/ruby-activerecord/Makefile      Wed Nov 02 14:28:45 2005 +0000
@@ -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 @@
 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 -r a6be9e4fd326 -r cd7b653ac5c4 databases/ruby-activerecord/PLIST
--- a/databases/ruby-activerecord/PLIST Wed Nov 02 14:18:31 2005 +0000
+++ b/databases/ruby-activerecord/PLIST Wed Nov 02 14:28:45 2005 +0000
@@ -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 @@
 @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



Home | Main Index | Thread Index | Old Index