summaryrefslogtreecommitdiff
path: root/devel/ruby-ncurses/Makefile
diff options
context:
space:
mode:
authortaca <taca>2007-01-14 04:14:51 +0000
committertaca <taca>2007-01-14 04:14:51 +0000
commit794294f199d738e51cfa0a3067c417bb8ffef568 (patch)
tree45a55d6d3c299ffd745665d967432e0451749469 /devel/ruby-ncurses/Makefile
parent83942fe67aed3cb641d3724a902d725b6ad40688 (diff)
downloadpkgsrc-794294f199d738e51cfa0a3067c417bb8ffef568.tar.gz
- Correct path of examples.
- Install licese of examples. Bump PKGREVISION.
Diffstat (limited to 'devel/ruby-ncurses/Makefile')
-rw-r--r--devel/ruby-ncurses/Makefile8
1 files changed, 5 insertions, 3 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