summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 07:37:00 +0000
committertaca <taca@pkgsrc.org>2010-09-10 07:37:00 +0000
commit5eb3065d7328b6d626a5c2ca227dc47f1f8b402a (patch)
treee7ff4f263b6974f6121c69b1d6a5e2625201a142 /net
parentc700399f4b5b45d8fb6a8d6c5ff5fd23a926f270 (diff)
downloadpkgsrc-5eb3065d7328b6d626a5c2ca227dc47f1f8b402a.tar.gz
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Remove default value of GEM_BUILD. * Ajust new ruby package's framework.
Diffstat (limited to 'net')
-rw-r--r--net/ruby-dnsruby/Makefile7
-rw-r--r--net/ruby-dnsruby/PLIST6
2 files changed, 5 insertions, 8 deletions
diff --git a/net/ruby-dnsruby/Makefile b/net/ruby-dnsruby/Makefile
index 1d811e4e9f9..86ea8bdb182 100644
--- a/net/ruby-dnsruby/Makefile
+++ b/net/ruby-dnsruby/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2010/08/28 23:10:19 pettai Exp $
+# $NetBSD: Makefile,v 1.6 2010/09/10 07:37:00 taca Exp $
DISTNAME= dnsruby-1.49
-PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= net
MAINTAINER= pettai@NetBSD.org
@@ -11,11 +10,9 @@ LICENSE= apache-1.1
PKG_DESTDIR_SUPPORT= user-destdir
-GEM_BUILD= gemspec
-
post-extract:
${MKDIR} -p ${WRKSRC}/html/classes
${MKDIR} -p ${WRKSRC}/html/files
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ruby-dnsruby/PLIST b/net/ruby-dnsruby/PLIST
index 615c52dca6c..c9542833671 100644
--- a/net/ruby-dnsruby/PLIST
+++ b/net/ruby-dnsruby/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2010/08/28 23:10:19 pettai Exp $
-${GEM_HOME}/cache/dnsruby-${PKGVERSION}.gem
+@comment $NetBSD: PLIST,v 1.3 2010/09/10 07:37:00 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/DNSSEC
${GEM_LIBDIR}/EVENTMACHINE
${GEM_LIBDIR}/EXAMPLES
@@ -126,4 +126,4 @@ ${GEM_LIBDIR}/test/tc_verifier.rb
${GEM_LIBDIR}/test/ts_dnsruby.rb
${GEM_LIBDIR}/test/ts_offline.rb
${GEM_LIBDIR}/test/ts_online.rb
-${GEM_HOME}/specifications/dnsruby-${PKGVERSION}.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec