* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.

* Correct LICENSE.
* Ajust new ruby package's framework; no need to patch rakefile.rb.
This commit is contained in:
taca 2010-09-10 06:34:24 +00:00
parent 3b3682153e
commit 401cb67692
3 changed files with 4 additions and 21 deletions

View file

@ -1,13 +1,12 @@
# $NetBSD: Makefile,v 1.2 2009/06/12 11:57:21 taca Exp $
# $NetBSD: Makefile,v 1.3 2010/09/10 06:34:24 taca Exp $
DISTNAME= validatable-1.6.7
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://validatable.rubyforge.org/
COMMENT= Library for adding database/object validations
LICENSE= gnu-gpl-v2 # OR ruby-license
LICENSE= gnu-gpl-v2 OR ruby-license
.include "../../misc/rubygems/rubygem.mk"
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.3 2009/06/12 13:27:11 taca Exp $
$NetBSD: distinfo,v 1.4 2010/09/10 06:34:24 taca Exp $
SHA1 (validatable-1.6.7.gem) = a3cf58e5e441de86d5a532316fef0b264f1c8655
RMD160 (validatable-1.6.7.gem) = a32528608fae27e37e5015c721201eb9bbf3204b
Size (validatable-1.6.7.gem) = 15872 bytes
SHA1 (patch-aa) = 60ce9a6a5fc5a8bd1b88587cc6a2c8d9788d5d58

View file

@ -1,15 +0,0 @@
$NetBSD: patch-aa,v 1.2 2009/06/12 13:27:12 taca Exp $
Stop calling obsolete method.
--- rakefile.rb.orig 2009-06-11 12:35:13.000000000 +0000
+++ rakefile.rb
@@ -24,8 +24,6 @@ task :publish_rdoc => [:rdoc] do
Rake::SshDirPublisher.new("jaycfields@rubyforge.org", "/var/www/gforge-projects/validatable", "doc").upload
end
-Gem::manage_gems
-
specification = Gem::Specification.new do |s|
s.name = "validatable"
s.summary = "Validatable is a library for adding validations."