pkgsrc-Users archive

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

Re: gem'izing ruby-gnome2-*?



wiz@ wrote:

> I first removed bsd.pkg.mk from meta-pkgs/ruby-gnome2/Makefile.common,
 :
> Are there more parts to your diff?

Ah, yes, I forgot to add files under meta-pkgs/ruby-gnome2.
I used the following one:

---
Index: meta-pkgs/ruby-gnome2/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/meta-pkgs/ruby-gnome2/Makefile,v
retrieving revision 1.23
diff -u -p -d -r1.23 Makefile
--- meta-pkgs/ruby-gnome2/Makefile	9 Nov 2014 06:27:02 -0000	1.23
+++ meta-pkgs/ruby-gnome2/Makefile	19 Jan 2016 16:59:44 -0000
@@ -31,3 +31,4 @@ META_PACKAGE=	yes
 
 .include "../../lang/ruby/rubyversion.mk"
 .include "Makefile.common"
+.include "../../mk/bsd.pkg.mk"
Index: meta-pkgs/ruby-gnome2/Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/meta-pkgs/ruby-gnome2/Makefile.common,v
retrieving revision 1.48
diff -u -p -d -r1.48 Makefile.common
--- meta-pkgs/ruby-gnome2/Makefile.common	13 Dec 2015 10:52:15 -0000	1.48
+++ meta-pkgs/ruby-gnome2/Makefile.common	19 Jan 2016 16:59:44 -0000
@@ -22,26 +22,10 @@
 # used by x11/ruby-gnome2-gtksourceview3/Makefile
 # used by x11/ruby-gnome2-vte/Makefile
 
-DISTNAME=		ruby-gnome2-all-${VERSION}
 CATEGORIES+=		ruby
-MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=ruby-gnome2/}
-
-DISTINFO_FILE=		${.CURDIR}/../../meta-pkgs/ruby-gnome2/distinfo
-PATCHDIR=		${.CURDIR}/../../meta-pkgs/ruby-gnome2/patches
 
 MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=		http://ruby-gnome2.osdn.jp/
 LICENSE=		gnu-lgpl-v2.1
 
 VERSION=		3.0.7
-USE_RUBY_EXTCONF?=	yes
-CONFIGURE_ENV+=		RUBYOPT="-Ku"
-
-INSTALL_TARGET=		install
-
-.if defined(USE_RUBY_EXTCONF) && empty(USE_RUBY_EXTCONF:M[Nn][Oo])
-CONFIGURE_ARGS+=	--with-pkg-config-dir=${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
-.endif
-
-.include "../../lang/ruby/modules.mk"
-.include "../../mk/bsd.pkg.mk"

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index