summaryrefslogtreecommitdiff
path: root/textproc/ruby-rison
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 08:36:45 +0000
committertaca <taca@pkgsrc.org>2010-09-10 08:36:45 +0000
commita5c40fa1722507bce54fbd9837bb8446b76f9b8d (patch)
tree07df13b7f5a2915d88f22657b7253493131ceffb /textproc/ruby-rison
parent51ea94c624039f63bc68b145dd92224d20272b37 (diff)
downloadpkgsrc-a5c40fa1722507bce54fbd9837bb8446b76f9b8d.tar.gz
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Add LICENSE. * Ajust new ruby package's framework.
Diffstat (limited to 'textproc/ruby-rison')
-rw-r--r--textproc/ruby-rison/Makefile6
-rw-r--r--textproc/ruby-rison/PLIST6
2 files changed, 6 insertions, 6 deletions
diff --git a/textproc/ruby-rison/Makefile b/textproc/ruby-rison/Makefile
index 49d629c6c89..8110eea2f11 100644
--- a/textproc/ruby-rison/Makefile
+++ b/textproc/ruby-rison/Makefile
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile,v 1.2 2008/09/25 12:04:16 taca Exp $
+# $NetBSD: Makefile,v 1.3 2010/09/10 08:36:45 taca Exp $
DISTNAME= rison-1.2.1
-PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://rison.rubyforge.org/
COMMENT= Pure Ruby parser for Rison
+LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-dhaka>=2.2.1:../../devel/ruby-dhaka
pre-configure:
${CHMOD} 0644 ${WRKSRC}/lib/rison/dump.rb
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-rison/PLIST b/textproc/ruby-rison/PLIST
index 7c02c2a1742..78a27b32186 100644
--- a/textproc/ruby-rison/PLIST
+++ b/textproc/ruby-rison/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 21:36:32 joerg Exp $
-${GEM_HOME}/cache/rison-${PKGVERSION}.gem
+@comment $NetBSD: PLIST,v 1.4 2010/09/10 08:36:45 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/COPYING.txt
${GEM_LIBDIR}/README.html
${GEM_LIBDIR}/Rakefile.rb
@@ -11,4 +11,4 @@ ${GEM_LIBDIR}/lib/rison/lexer.rb
${GEM_LIBDIR}/lib/rison/parser.rb
${GEM_LIBDIR}/test/test_dump.rb
${GEM_LIBDIR}/test/test_parser.rb
-${GEM_HOME}/specifications/rison-${PKGVERSION}.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec