pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-curses Now, move ruby-curses-gem to ruby-cu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f927494fc740
branches:  trunk
changeset: 361581:f927494fc740
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Apr 22 18:20:14 2017 +0000

description:
Now, move ruby-curses-gem to ruby-curses overriding part of ruby18 version.

diffstat:

 devel/ruby-curses/DESCR    |   4 ++--
 devel/ruby-curses/Makefile |  35 ++++++++---------------------------
 devel/ruby-curses/PLIST    |  32 ++++++++++++++++++++++++++------
 devel/ruby-curses/distinfo |   6 ++++++
 4 files changed, 42 insertions(+), 35 deletions(-)

diffs (101 lines):

diff -r eb3d489f51dc -r f927494fc740 devel/ruby-curses/DESCR
--- a/devel/ruby-curses/DESCR   Sat Apr 22 18:13:44 2017 +0000
+++ b/devel/ruby-curses/DESCR   Sat Apr 22 18:20:14 2017 +0000
@@ -1,2 +1,2 @@
-This is a Ruby extension to the curses library, actually a part of the
-Ruby distribution.
+A Ruby binding for curses, ncurses, and PDCurses, formerly part of the Ruby
+standard library.   curses is an extension library for text UI applications.
\ No newline at end of file
diff -r eb3d489f51dc -r f927494fc740 devel/ruby-curses/Makefile
--- a/devel/ruby-curses/Makefile        Sat Apr 22 18:13:44 2017 +0000
+++ b/devel/ruby-curses/Makefile        Sat Apr 22 18:20:14 2017 +0000
@@ -1,34 +1,15 @@
-# $NetBSD: Makefile,v 1.22 2016/09/08 15:19:16 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2017/04/22 18:20:14 taca Exp $
 #
 
-DISTNAME=              ${RUBY_DISTNAME}
-PKGREVISION=           2
-PKGNAME=               ${RUBY_PKGPREFIX}-${RUBY_EXTNAME}-${RUBY_VERSION_FULL}
-RUBY_EXTNAME=          curses
-CATEGORIES=            devel ruby
-MASTER_SITES=          ${MASTER_SITE_RUBY}
-
-MAINTAINER=            taca%NetBSD.org@localhost
-HOMEPAGE=              ${RUBY_HOMEPAGE}
-COMMENT=               Ruby extension to curses library
+DISTNAME=      curses-1.2.2
+CATEGORIES=    devel
 
-USE_RUBY_EXTCONF=      yes
-EXTRACT_ELEMENTS=      ${RUBY_DISTNAME}/ext/curses
-WRKSRC=                        ${RUBY_WRKSRC}/ext/curses
-
-CURSES_EXAMPLES=       hello.rb rain.rb view.rb view2.rb
-REPLACE_RUBY=          ${CURSES_EXAMPLES}
-INSTALLATION_DIRS=     ${RUBY_EG}/curses
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ruby/curses
+COMMENT=       Ruby binding for curses, ncurses, and PDCurses
+LICENSE=       2-clause-bsd
 
-RUBY_VERSIONS_ACCEPTED= 18
-
-post-install:
-.for f in ${CURSES_EXAMPLES}
-       ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_EG}/curses
-.endfor
-
-.include "../../lang/ruby/modules.mk"
-.include "../../lang/ruby/Makefile.common"
+.include "../../lang/ruby/gem.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r eb3d489f51dc -r f927494fc740 devel/ruby-curses/PLIST
--- a/devel/ruby-curses/PLIST   Sat Apr 22 18:13:44 2017 +0000
+++ b/devel/ruby-curses/PLIST   Sat Apr 22 18:20:14 2017 +0000
@@ -1,6 +1,26 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:49:09 joerg Exp $
-${RUBY_VENDORARCHLIB}/curses.${RUBY_DLEXT}
-${RUBY_EG}/curses/hello.rb
-${RUBY_EG}/curses/rain.rb
-${RUBY_EG}/curses/view.rb
-${RUBY_EG}/curses/view2.rb
+@comment $NetBSD: PLIST,v 1.5 2017/04/22 18:20:14 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_EXTSDIR}/curses.${RUBY_DLEXT}
+${GEM_EXTSDIR}/gem.build_complete
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.gitmodules
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/BSDL
+${GEM_LIBDIR}/COPYING
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/History.md
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/appveyor.yml
+${GEM_LIBDIR}/curses.gemspec
+${GEM_LIBDIR}/ext/curses/curses.c
+${GEM_LIBDIR}/ext/curses/depend
+${GEM_LIBDIR}/ext/curses/extconf.rb
+${GEM_LIBDIR}/lib/curses.rb
+${GEM_LIBDIR}/lib/curses.${RUBY_DLEXT}
+${GEM_LIBDIR}/sample/hello.rb
+${GEM_LIBDIR}/sample/mouse.rb
+${GEM_LIBDIR}/sample/rain.rb
+${GEM_LIBDIR}/sample/view.rb
+${GEM_LIBDIR}/sample/view2.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r eb3d489f51dc -r f927494fc740 devel/ruby-curses/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-curses/distinfo        Sat Apr 22 18:20:14 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.22 2017/04/22 18:20:14 taca Exp $
+
+SHA1 (curses-1.2.2.gem) = 3b4785845d46ff02ba078064597059fb54b1eb24
+RMD160 (curses-1.2.2.gem) = 289c4d0af79eecbf092d84a3a357592f04f9c9b1
+SHA512 (curses-1.2.2.gem) = 1cbfa9045ab9572e6c128a211cafa57342b21d96806e9d6affe1a237a3ab7f55696991b5e7fdc8fdb1a81e7e9b3350ea7005717137dd6047b713828e9a4418b6
+Size (curses-1.2.2.gem) = 34816 bytes



Home | Main Index | Thread Index | Old Index