From a7fbcd57bb261ddfad6e3779cd240eacf8bbaebe Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 14 Jan 2007 04:14:51 +0000 Subject: - Correct path of examples. - Install licese of examples. Bump PKGREVISION. --- devel/ruby-ncurses/Makefile | 8 +++++--- devel/ruby-ncurses/PLIST | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'devel/ruby-ncurses') 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 -- cgit v1.2.3