From b9dad6aa64cec4bf8ab0de6362ce3026226b1eca Mon Sep 17 00:00:00 2001 From: taca Date: Fri, 10 Sep 2010 07:26:51 +0000 Subject: * Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. * Ajust new ruby package's framework. * Update dependency according to gemspec. Bump PKGREVISION. --- misc/ruby-transaction-simple/Makefile | 18 ++++-------------- misc/ruby-transaction-simple/PLIST | 4 ++-- 2 files changed, 6 insertions(+), 16 deletions(-) (limited to 'misc') diff --git a/misc/ruby-transaction-simple/Makefile b/misc/ruby-transaction-simple/Makefile index 2fa9f381185..1eb95febbd0 100644 --- a/misc/ruby-transaction-simple/Makefile +++ b/misc/ruby-transaction-simple/Makefile @@ -1,23 +1,13 @@ -# $NetBSD: Makefile,v 1.2 2008/08/15 16:07:16 taca Exp $ +# $NetBSD: Makefile,v 1.3 2010/09/10 07:26:51 taca Exp $ DISTNAME= transaction-simple-1.4.0 -PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= misc MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://rubyforge.org/projects/trans-simple/ COMMENT= Mixin library for adding transaction support to objects +LICENSE= mit -DEPENDS+= hoe>=1.5.1:../../devel/hoe - -# Newer version of hoe look for README.txt, not Readme.txt. -SUBST_CLASSES= readme -SUBST_STAGE.readme= pre-build -SUBST_FILES.readme= Manifest.txt Rakefile lib/transaction/simple.rb -SUBST_SED.readme= -e "s,Readme,README,g" - -post-extract: - cd ${WRKSRC} && mv Readme.txt README.txt - -.include "../../misc/rubygems/rubygem.mk" +.include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/misc/ruby-transaction-simple/PLIST b/misc/ruby-transaction-simple/PLIST index bacac37bbb9..2b1855da62b 100644 --- a/misc/ruby-transaction-simple/PLIST +++ b/misc/ruby-transaction-simple/PLIST @@ -1,10 +1,10 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:07:30 joerg Exp $ +@comment $NetBSD: PLIST,v 1.3 2010/09/10 07:26:51 taca Exp $ ${GEM_HOME}/cache/transaction-simple-${PKGVERSION}.gem ${GEM_LIBDIR}/History.txt ${GEM_LIBDIR}/Install.txt ${GEM_LIBDIR}/Licence.txt ${GEM_LIBDIR}/Manifest.txt -${GEM_LIBDIR}/README.txt +${GEM_LIBDIR}/Readme.txt ${GEM_LIBDIR}/Rakefile ${GEM_LIBDIR}/lib/transaction/simple.rb ${GEM_LIBDIR}/lib/transaction/simple/group.rb -- cgit v1.2.3