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

* Add LICENSE.
* Remove default value of GEM_BUILD.
This commit is contained in:
taca 2010-09-10 04:11:12 +00:00
parent 6aae505a09
commit 18b134db06
2 changed files with 6 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2010/06/11 23:41:15 tonnerre Exp $
# $NetBSD: Makefile,v 1.2 2010/09/10 04:11:12 taca Exp $
DISTNAME= activerecord-cassandra-adapter-0.1.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-adapter//}
@ -7,11 +7,10 @@ CATEGORIES= databases
MAINTAINER= tonnerre@NetBSD.org
HOMEPAGE= http://github.com/winebarrel/activerecord-cassandra-adapter
COMMENT= ActiveRecord Cassandra adapter
LICENSE= # unknown
DEPENDS+= ${RUBY_PKGPREFIX}-activerecord>=2.0.2:../../databases/ruby-activerecord
DEPENDS+= ${RUBY_PKGPREFIX}-cassandra>=0:../../databases/ruby-cassandra
GEM_BUILD= gemspec
.include "../../misc/rubygems/rubygem.mk"
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2008/04/29 16:56:18 jlam Exp $
# $NetBSD: Makefile,v 1.3 2010/09/10 04:11:12 taca Exp $
DISTNAME= activerecord-odbc-adapter-2.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-adapter//}
@ -7,11 +7,10 @@ CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://odbc-rails.rubyforge.org/
COMMENT= ActiveRecord ODBC adapter
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-activerecord>=2.0.2:../../databases/ruby-activerecord
DEPENDS+= ${RUBY_PKGPREFIX}-odbc>=0.9991:../../databases/ruby-odbc
GEM_BUILD= gemspec
.include "../../misc/rubygems/rubygem.mk"
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"