summaryrefslogtreecommitdiff
path: root/textproc/ruby-libxml
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 08:20:01 +0000
committertaca <taca@pkgsrc.org>2010-09-10 08:20:01 +0000
commit914b815a40a99c2e60fc0f7baff9d803109e82fe (patch)
tree8169069de356d664c7a458b1170864b7ab6a3b4d /textproc/ruby-libxml
parentd522467a68657cb0d3ab34ba6432fd4f9149d983 (diff)
downloadpkgsrc-914b815a40a99c2e60fc0f7baff9d803109e82fe.tar.gz
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Add LICENSE. * Remove default value of GEM_BUILD. * Ajust new ruby package's framework.
Diffstat (limited to 'textproc/ruby-libxml')
-rw-r--r--textproc/ruby-libxml/Makefile7
-rw-r--r--textproc/ruby-libxml/PLIST6
2 files changed, 7 insertions, 6 deletions
diff --git a/textproc/ruby-libxml/Makefile b/textproc/ruby-libxml/Makefile
index 356e0d08e42..1381446e048 100644
--- a/textproc/ruby-libxml/Makefile
+++ b/textproc/ruby-libxml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/05/15 09:31:03 obache Exp $
+# $NetBSD: Makefile,v 1.6 2010/09/10 08:20:01 taca Exp $
DISTNAME= libxml-ruby-1.1.3
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/ruby-//}
@@ -7,12 +7,13 @@ CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://libxml.rubyforge.org/
COMMENT= libxml2 interface module for Ruby
+LICENSE= mit
-GEM_BUILD= gemspec
+GEM_CLEANBUILD+= ext/libxml/*
CONFIGURE_ARGS+= \
--with-xml2-include=${BUILDLINK_PREFIX.libxml2}/include/libxml2
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
diff --git a/textproc/ruby-libxml/PLIST b/textproc/ruby-libxml/PLIST
index a90b6b372ca..25e3f6bb486 100644
--- a/textproc/ruby-libxml/PLIST
+++ b/textproc/ruby-libxml/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 18:17:28 joerg Exp $
-${GEM_HOME}/cache/libxml-ruby-${PKGVERSION}.gem
+@comment $NetBSD: PLIST,v 1.6 2010/09/10 08:20:01 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.require_paths
${GEM_LIBDIR}/CHANGES
${GEM_LIBDIR}/LICENSE
@@ -162,4 +162,4 @@ ${GEM_LIBDIR}/test/tc_xpath_context.rb
${GEM_LIBDIR}/test/tc_xpath_expression.rb
${GEM_LIBDIR}/test/tc_xpointer.rb
${GEM_LIBDIR}/test/test_suite.rb
-${GEM_HOME}/specifications/libxml-ruby-${PKGVERSION}.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec