diff options
author | jlam <jlam> | 2008-04-04 15:30:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-04 15:30:00 +0000 |
commit | bb91d465009f79ffc1ee660432fbd12aad691235 (patch) | |
tree | c080e0fce7907456de3fe1768865d098adfb51fd /sysutils | |
parent | 1ebdb6a8c63c975993409595260329bc685edc2b (diff) | |
download | pkgsrc-bb91d465009f79ffc1ee660432fbd12aad691235.tar.gz |
Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ruby-facter/Makefile | 14 | ||||
-rw-r--r-- | sysutils/ruby-facter/PLIST | 43 | ||||
-rw-r--r-- | sysutils/ruby-facter/distinfo | 9 | ||||
-rw-r--r-- | sysutils/ruby-facter/patches/patch-aa | 13 |
4 files changed, 53 insertions, 26 deletions
diff --git a/sysutils/ruby-facter/Makefile b/sysutils/ruby-facter/Makefile index e4d48e7f253..f72ec542b08 100644 --- a/sysutils/ruby-facter/Makefile +++ b/sysutils/ruby-facter/Makefile @@ -1,19 +1,15 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/03/12 23:47:05 tonnerre Exp $ -# +# $NetBSD: Makefile,v 1.2 2008/04/04 15:30:01 jlam Exp $ DISTNAME= facter-1.3.8 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} -CATEGORIES= sysutils ruby -MASTER_SITES= http://www.reductivelabs.com/downloads/facter/ -EXTRACT_SUFX= .tgz +PKGREVISION= 1 +CATEGORIES= sysutils MAINTAINER= tonnerre@NetBSD.org HOMEPAGE= http://www.reductivelabs.com/projects/facter/ COMMENT= Cross-platform Ruby library for retrieving facts from OS -NO_BUILD= yes -USE_RUBY_INSTALL= yes - -.include "../../lang/ruby/modules.mk" +GEM_BUILD= gemspec +.include "../../misc/rubygems/rubygem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/ruby-facter/PLIST b/sysutils/ruby-facter/PLIST index aa61f3df256..d58fa0df50f 100644 --- a/sysutils/ruby-facter/PLIST +++ b/sysutils/ruby-facter/PLIST @@ -1,14 +1,31 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/12 23:47:05 tonnerre Exp $ +@comment $NetBSD: PLIST,v 1.2 2008/04/04 15:30:01 jlam Exp $ bin/facter -${RUBY_SITELIBDIR}/facter/util/plist/parser.rb -${RUBY_SITELIBDIR}/facter/util/plist/generator.rb -${RUBY_SITELIBDIR}/facter/util/plist.rb -${RUBY_SITELIBDIR}/facter/processor.rb -${RUBY_SITELIBDIR}/facter/memory.rb -${RUBY_SITELIBDIR}/facter/manufacturer.rb -${RUBY_SITELIBDIR}/facter/macosx.rb -${RUBY_SITELIBDIR}/facter/ipmess.rb -${RUBY_SITELIBDIR}/facter.rb -@dirrm ${RUBY_SITELIBDIR}/facter/util/plist -@dirrm ${RUBY_SITELIBDIR}/facter/util -@dirrm ${RUBY_SITELIBDIR}/facter +${GEM_HOME}/cache/facter-${PKGVERSION}.gem +${GEM_LIBDIR}/CHANGELOG +${GEM_LIBDIR}/COPYING +${GEM_LIBDIR}/INSTALL +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/README +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/TODO +${GEM_LIBDIR}/bin/facter +${GEM_LIBDIR}/etc/facter.conf +${GEM_LIBDIR}/install.rb +${GEM_LIBDIR}/lib/facter.rb +${GEM_LIBDIR}/lib/facter/ipmess.rb +${GEM_LIBDIR}/lib/facter/macosx.rb +${GEM_LIBDIR}/lib/facter/manufacturer.rb +${GEM_LIBDIR}/lib/facter/memory.rb +${GEM_LIBDIR}/lib/facter/processor.rb +${GEM_LIBDIR}/lib/facter/util/plist.rb +${GEM_LIBDIR}/lib/facter/util/plist/generator.rb +${GEM_LIBDIR}/lib/facter/util/plist/parser.rb +${GEM_HOME}/specifications/facter-${PKGVERSION}.gemspec +@dirrm ${GEM_LIBDIR}/lib/facter/util/plist +@dirrm ${GEM_LIBDIR}/lib/facter/util +@dirrm ${GEM_LIBDIR}/lib/facter +@dirrm ${GEM_LIBDIR}/lib +@dirrm ${GEM_LIBDIR}/etc +@dirrm ${GEM_LIBDIR}/bin +@dirrm ${GEM_LIBDIR} +@exec ${MKDIR} %D/${GEM_DOCDIR} diff --git a/sysutils/ruby-facter/distinfo b/sysutils/ruby-facter/distinfo index f0a8a913d86..d8a5cbfe22b 100644 --- a/sysutils/ruby-facter/distinfo +++ b/sysutils/ruby-facter/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/03/12 23:47:05 tonnerre Exp $ +$NetBSD: distinfo,v 1.2 2008/04/04 15:30:01 jlam Exp $ -SHA1 (facter-1.3.8.tgz) = c59edc74df09599e8c723121c65826c4a6ecbc67 -RMD160 (facter-1.3.8.tgz) = 12e578271dd44e9eed33465fde4aec94d645d994 -Size (facter-1.3.8.tgz) = 29336 bytes +SHA1 (facter-1.3.8.gem) = 0cc38ff23b1316b23a6378744be1fea3e5d348a1 +RMD160 (facter-1.3.8.gem) = d2f889963724cd14fc03c19c1ad8099d00210cf5 +Size (facter-1.3.8.gem) = 32256 bytes +SHA1 (patch-aa) = e0d792edf8438811398ffbb2b67253c832b98b64 diff --git a/sysutils/ruby-facter/patches/patch-aa b/sysutils/ruby-facter/patches/patch-aa new file mode 100644 index 00000000000..7eb49f94066 --- /dev/null +++ b/sysutils/ruby-facter/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2008/04/04 15:30:01 jlam Exp $ + +--- ../facter-1.3.8.gemspec.orig 2008-03-30 23:50:38.000000000 -0400 ++++ ../facter-1.3.8.gemspec +@@ -3,8 +3,6 @@ name: facter + version: !ruby/object:Gem::Version + version: 1.3.8 + platform: ruby +-authors: +-- + autorequire: + bindir: bin + cert_chain: |