pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ruby-dnsruby * Use lang/ruby/gem.mk instead of mis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e629cf518b3c
branches:  trunk
changeset: 580102:e629cf518b3c
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Sep 10 07:37:00 2010 +0000

description:
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Remove default value of GEM_BUILD.
* Ajust new ruby package's framework.

diffstat:

 net/ruby-dnsruby/Makefile |  7 ++-----
 net/ruby-dnsruby/PLIST    |  6 +++---
 2 files changed, 5 insertions(+), 8 deletions(-)

diffs (42 lines):

diff -r 70d52fe1acad -r e629cf518b3c net/ruby-dnsruby/Makefile
--- a/net/ruby-dnsruby/Makefile Fri Sep 10 07:36:19 2010 +0000
+++ b/net/ruby-dnsruby/Makefile Fri Sep 10 07:37:00 2010 +0000
@@ -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@localhost
@@ -11,11 +10,9 @@
 
 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 -r 70d52fe1acad -r e629cf518b3c net/ruby-dnsruby/PLIST
--- a/net/ruby-dnsruby/PLIST    Fri Sep 10 07:36:19 2010 +0000
+++ b/net/ruby-dnsruby/PLIST    Fri Sep 10 07:37:00 2010 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index