diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-04 15:30:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-04 15:30:00 +0000 |
commit | 49044b1ec2caacbe0cd6751700981b592cdb06b1 (patch) | |
tree | c080e0fce7907456de3fe1768865d098adfb51fd /devel/ruby-stream | |
parent | d5b336e4ba6b8a28d7b0778f55c1cbb057689834 (diff) | |
download | pkgsrc-49044b1ec2caacbe0cd6751700981b592cdb06b1.tar.gz |
Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
Diffstat (limited to 'devel/ruby-stream')
-rw-r--r-- | devel/ruby-stream/Makefile | 23 | ||||
-rw-r--r-- | devel/ruby-stream/PLIST | 25 | ||||
-rw-r--r-- | devel/ruby-stream/distinfo | 9 | ||||
-rw-r--r-- | devel/ruby-stream/patches/patch-aa | 13 |
4 files changed, 24 insertions, 46 deletions
diff --git a/devel/ruby-stream/Makefile b/devel/ruby-stream/Makefile index d051afcdfb1..fe34c90a2c8 100644 --- a/devel/ruby-stream/Makefile +++ b/devel/ruby-stream/Makefile @@ -1,30 +1,13 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/05/04 01:29:57 minskim Exp $ +# $NetBSD: Makefile,v 1.2 2008/04/04 15:30:01 jlam Exp $ DISTNAME= stream-0.5 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= devel -MASTER_SITES= http://rubyforge.org/frs/download.php/639/ -EXTRACT_SUFX= .tgz MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://rgl.rubyforge.org/stream/ COMMENT= Interface for external iterators -NO_BUILD= yes -NO_CONFIGURE= yes -USE_RUBY_INSTALL= yes - -.include "../../lang/ruby/modules.mk" - -post-install: - ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/stream - ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/stream - ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/stream - ${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/stream - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${RUBY_EXAMPLESDIR}/stream - ${FIND} ${RUBY_EXAMPLESDIR}/stream -type d -print | \ - ${XARGS} ${CHMOD} ${PKGDIRMODE} - ${FIND} ${RUBY_EXAMPLESDIR}/stream -type f -print | \ - ${XARGS} ${CHMOD} ${SHAREMODE} - +.include "../../misc/rubygems/rubygem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-stream/PLIST b/devel/ruby-stream/PLIST index b6a9cb61842..f8ade38d26d 100644 --- a/devel/ruby-stream/PLIST +++ b/devel/ruby-stream/PLIST @@ -1,8 +1,17 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/04 01:29:57 minskim Exp $ -${RUBY_SITELIBDIR}/generator2stream.rb -${RUBY_SITELIBDIR}/stream.rb -${RUBY_DOCDIR}/stream/README -${RUBY_EXAMPLESDIR}/stream/examples.rb -${RUBY_EXAMPLESDIR}/stream/streamtester.rb -@dirrm ${RUBY_EXAMPLESDIR}/stream -@dirrm ${RUBY_DOCDIR}/stream +@comment $NetBSD: PLIST,v 1.2 2008/04/04 15:30:01 jlam Exp $ +${GEM_HOME}/cache/stream-${PKGVERSION}.gem +${GEM_LIBDIR}/README +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/examples/examples.rb +${GEM_LIBDIR}/examples/streamtester.rb +${GEM_LIBDIR}/install.rb +${GEM_LIBDIR}/lib/generator2stream.rb +${GEM_LIBDIR}/lib/stream.rb +${GEM_LIBDIR}/test/bm.rb +${GEM_LIBDIR}/test/testgenerator.rb +${GEM_LIBDIR}/test/teststream.rb +${GEM_HOME}/specifications/stream-${PKGVERSION}.gemspec +@dirrm ${GEM_LIBDIR}/test +@dirrm ${GEM_LIBDIR}/lib +@dirrm ${GEM_LIBDIR}/examples +@dirrm ${GEM_LIBDIR} diff --git a/devel/ruby-stream/distinfo b/devel/ruby-stream/distinfo index ac59902e09e..aa9a5b8661b 100644 --- a/devel/ruby-stream/distinfo +++ b/devel/ruby-stream/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/05/04 01:29:57 minskim Exp $ +$NetBSD: distinfo,v 1.2 2008/04/04 15:30:01 jlam Exp $ -SHA1 (stream-0.5.tgz) = 4c2ec418e978d126ba2556a727b258e3ab55c2ee -RMD160 (stream-0.5.tgz) = 019d3c671aaf80866bc085aad735f951622c23b0 -Size (stream-0.5.tgz) = 11633 bytes -SHA1 (patch-aa) = 837d25246c92e5c5e3d16f806ef5de4a9cf9afbf +SHA1 (stream-0.5.gem) = 5a6b14f9b6800003b006a98412d83b839f2c3af7 +RMD160 (stream-0.5.gem) = 74356b4724e6e3bfad85ccf871c05a9015c4d06e +Size (stream-0.5.gem) = 19253 bytes diff --git a/devel/ruby-stream/patches/patch-aa b/devel/ruby-stream/patches/patch-aa deleted file mode 100644 index b41e87a0b5f..00000000000 --- a/devel/ruby-stream/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2006/05/04 01:29:57 minskim Exp $ - ---- install.rb.orig 2004-05-13 16:30:03.000000000 -0700 -+++ install.rb -@@ -5,7 +5,7 @@ require 'ftools' - require 'find' - - SRC_BASE = 'lib' --INSTDIR = File.join Config::CONFIG['sitedir'] -+INSTDIR = File.join Config::CONFIG['sitelibdir'] - - def install - begin |