pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-ncurses - Correct path of examples.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3ce121eb820
branches:  trunk
changeset: 523829:d3ce121eb820
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jan 14 04:14:51 2007 +0000

description:
- Correct path of examples.
- Install licese of examples.

Bump PKGREVISION.

diffstat:

 devel/ruby-ncurses/Makefile |  8 +++++---
 devel/ruby-ncurses/PLIST    |  3 ++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 00fe8b086cdf -r d3ce121eb820 devel/ruby-ncurses/Makefile
--- a/devel/ruby-ncurses/Makefile       Sun Jan 14 04:13:09 2007 +0000
+++ b/devel/ruby-ncurses/Makefile       Sun Jan 14 04:14:51 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2006/02/03 15:18:59 taca Exp $
+# $NetBSD: Makefile,v 1.4 2007/01/14 04:14:51 taca Exp $
 
 DISTNAME=      ncurses-ruby-1.0
 PKGNAME=       ${DISTNAME:S/ncurses-ruby/${RUBY_PKGPREFIX}-ncurses/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  http://download.berlios.de/ncurses-ruby/
 EXTRACT_SUFX=  .tar.bz2
@@ -17,11 +17,13 @@
 EXAMPLES=              example.rb hello_ncurses.rb rain.rb read_line.rb \
                        tclock.rb test_scanw.rb
 .for f in ${EXAMPLES}
-REPLACE_RUBY+=         sample/${f}
+REPLACE_RUBY+=         example/${f}
 .endfor
 
 post-install:
        ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/ncurses
+       ${INSTALL_DATA} ${WRKSRC}/examples/LICENSES_for_examples \
+               ${RUBY_EXAMPLESDIR}/ncurses
 .for f in ${EXAMPLES}
        ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_EXAMPLESDIR}/ncurses
 .endfor
diff -r 00fe8b086cdf -r d3ce121eb820 devel/ruby-ncurses/PLIST
--- a/devel/ruby-ncurses/PLIST  Sun Jan 14 04:13:09 2007 +0000
+++ b/devel/ruby-ncurses/PLIST  Sun Jan 14 04:14:51 2007 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/26 23:00:51 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/01/14 04:14:51 taca Exp $
 ${RUBY_SITEARCHLIBDIR}/ncurses_bin.${RUBY_DLEXT}
 ${RUBY_SITELIBDIR}/ncurses.rb
+${RUBY_EXAMPLESDIR}/ncurses/LICENSES_for_examples
 ${RUBY_EXAMPLESDIR}/ncurses/example.rb
 ${RUBY_EXAMPLESDIR}/ncurses/hello_ncurses.rb
 ${RUBY_EXAMPLESDIR}/ncurses/rain.rb



Home | Main Index | Thread Index | Old Index