summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 07:26:51 +0000
committertaca <taca@pkgsrc.org>2010-09-10 07:26:51 +0000
commitb9dad6aa64cec4bf8ab0de6362ce3026226b1eca (patch)
tree814350cc336638b2082b92cfffa06b8590fa84cf /misc
parentf298b8332ea33cf23fe251632ed20fb4be7621f3 (diff)
downloadpkgsrc-b9dad6aa64cec4bf8ab0de6362ce3026226b1eca.tar.gz
* 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.
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-transaction-simple/Makefile18
-rw-r--r--misc/ruby-transaction-simple/PLIST4
2 files changed, 6 insertions, 16 deletions
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