summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2007-01-14 04:14:51 +0000
committertaca <taca@pkgsrc.org>2007-01-14 04:14:51 +0000
commit4eb9792daf7264c37faac9144090265e33ed6071 (patch)
tree45a55d6d3c299ffd745665d967432e0451749469 /devel
parentd12831043bfd429cb508c90d3a830e53a4373219 (diff)
downloadpkgsrc-4eb9792daf7264c37faac9144090265e33ed6071.tar.gz
- Correct path of examples.
- Install licese of examples. Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-ncurses/Makefile8
-rw-r--r--devel/ruby-ncurses/PLIST3
2 files changed, 7 insertions, 4 deletions
diff --git a/devel/ruby-ncurses/Makefile b/devel/ruby-ncurses/Makefile
index 1a1dc2524df..3ab41a11506 100644
--- a/devel/ruby-ncurses/Makefile
+++ b/devel/ruby-ncurses/Makefile
@@ -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 @@ USE_NCURSES= # mouse functions
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 --git a/devel/ruby-ncurses/PLIST b/devel/ruby-ncurses/PLIST
index 9d623f6ebdf..1affea61202 100644
--- a/devel/ruby-ncurses/PLIST
+++ b/devel/ruby-ncurses/PLIST
@@ -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