diff options
author | swills <swills@FreeBSD.org> | 2010-11-27 11:32:41 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2010-11-27 11:32:41 +0800 |
commit | 300d45e279bac3791ad56d30b2c5822af32e51ee (patch) | |
tree | e168e0a0449626d48ad7ee6716e171cdab82bc8d /x11-toolkits | |
parent | 014fe77dbe129d3dd01bd93c76c8e50e72ee8372 (diff) | |
download | freebsd-ports-gnome-300d45e279bac3791ad56d30b2c5822af32e51ee.tar.gz freebsd-ports-gnome-300d45e279bac3791ad56d30b2c5822af32e51ee.tar.zst freebsd-ports-gnome-300d45e279bac3791ad56d30b2c5822af32e51ee.zip |
- Update to 0.90.5
- create ports for vte, gstreamer, gtksourceview2, poppler and goocanvas modules
- sort depends in meta port
- remove patch to ruby-gtk2 that's merged upstream
- remove old gtksourceview module which seems broken
Submitted by: swills (myself)
Approved by: wxs (mentor)
Diffstat (limited to 'x11-toolkits')
22 files changed, 374 insertions, 20 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 351fc735fc39..5dbdee8d212a 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -244,13 +244,17 @@ SUBDIR += rep-gtk2 SUBDIR += ruby-fox16 SUBDIR += ruby-gnomeprintui + SUBDIR += ruby-goocanvas + SUBDIR += ruby-gstreamer SUBDIR += ruby-gtk SUBDIR += ruby-gtk2 SUBDIR += ruby-gtkglext - SUBDIR += ruby-gtksourceview + SUBDIR += ruby-gtksourceview2 SUBDIR += ruby-panelapplet SUBDIR += ruby-pango + SUBDIR += ruby-poppler SUBDIR += ruby-tk + SUBDIR += ruby-vte SUBDIR += ruby-wx SUBDIR += sakura SUBDIR += scintilla diff --git a/x11-toolkits/ruby-gnomeprintui/Makefile b/x11-toolkits/ruby-gnomeprintui/Makefile index 46f6c0572a2b..2bd1a48dc94f 100644 --- a/x11-toolkits/ruby-gnomeprintui/Makefile +++ b/x11-toolkits/ruby-gnomeprintui/Makefile @@ -25,6 +25,7 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/gtk2.so:${PORTSDIR USE_RUBY= yes USE_GNOME= libgnomeprintui USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig .include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" @@ -34,7 +35,6 @@ INSTALL_TARGET= site-install DOCS= COPYING.LIB ChangeLog README post-patch: general-patch -post-configure: general-configure # Have to do that to generate ruby-gnomeprint's rblibgnomeprintversion.h or # it will not build. diff --git a/x11-toolkits/ruby-goocanvas/Makefile b/x11-toolkits/ruby-goocanvas/Makefile new file mode 100644 index 000000000000..25917243f71b --- /dev/null +++ b/x11-toolkits/ruby-goocanvas/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: ruby-goocanvas +# Date created: 2010-11-19 +# Whom: Steve Wills <swills@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= goocanvas +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= x11-toolkits gnome ruby +MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby binding for goocanvas + +LIB_DEPENDS= goocanvas.3:${PORTSDIR}/graphics/goocanvas +BUILD_DEPENDS+= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config \ + ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/cairo.so:${PORTSDIR}/graphics/ruby-cairo +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \ + ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/cairo.so:${PORTSDIR}/graphics/ruby-cairo + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/goocanvas +INSTALL_TARGET= site-install + +DOCS= ChangeLog README + +post-patch: general-patch + +post-install: +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${RUBY_MODEXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/ruby-goocanvas/pkg-descr b/x11-toolkits/ruby-goocanvas/pkg-descr new file mode 100644 index 000000000000..b02173ed1134 --- /dev/null +++ b/x11-toolkits/ruby-goocanvas/pkg-descr @@ -0,0 +1,3 @@ +Ruby/Goocanvas is a Ruby binding of Goocanvas. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/x11-toolkits/ruby-goocanvas/pkg-plist b/x11-toolkits/ruby-goocanvas/pkg-plist new file mode 100644 index 000000000000..d61aa09f7330 --- /dev/null +++ b/x11-toolkits/ruby-goocanvas/pkg-plist @@ -0,0 +1,24 @@ +libdata/pkgconfig/ruby-goocanvas.pc +%%RUBY_SITELIBDIR%%/goocanvas.rb +%%RUBY_SITEARCHLIBDIR%%/goocanvas.so +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/demo-arrowhead.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/demo-fifteen.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/demo-primitives.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/demo.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/flower.png +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/scalability-demo.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/simple-demo.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/table-demo.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/toroid.png +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/units-demo.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/widgets-demo.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% +@dirrmtry %%RUBY_SITEARCHLIBDIR%% +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby diff --git a/x11-toolkits/ruby-gstreamer/Makefile b/x11-toolkits/ruby-gstreamer/Makefile new file mode 100644 index 000000000000..7493625761e5 --- /dev/null +++ b/x11-toolkits/ruby-gstreamer/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: ruby-gstreamer +# Date created: 2010-11-19 +# Whom: Steve Wills <swills@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gstreamer +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= x11-toolkits ruby +MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby binding for GStreamer + +BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/glib2.so:${PORTSDIR}/devel/ruby-glib2 \ + rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/glib2.so:${PORTSDIR}/devel/ruby-glib2 \ + rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config + +USE_RUBY= yes +USE_GSTREAMER= yes +USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME} +INSTALL_TARGET= site-install + +DOCS= COPYING.LIB ChangeLog README + +post-patch: general-patch + @${FIND} ${WRKSRC} -name '*.bak' -delete + +post-install: +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${RUBY_MODEXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/ruby-gstreamer/pkg-descr b/x11-toolkits/ruby-gstreamer/pkg-descr new file mode 100644 index 000000000000..eb77be9b97d6 --- /dev/null +++ b/x11-toolkits/ruby-gstreamer/pkg-descr @@ -0,0 +1,3 @@ +Ruby/GStreamer is a Ruby binding for GStreamer. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/x11-toolkits/ruby-gstreamer/pkg-plist b/x11-toolkits/ruby-gstreamer/pkg-plist new file mode 100644 index 000000000000..88e0d190fbc6 --- /dev/null +++ b/x11-toolkits/ruby-gstreamer/pkg-plist @@ -0,0 +1,22 @@ +libdata/pkgconfig/ruby-gstreamer.pc +%%RUBY_SITEARCHLIBDIR%%/gst.so +%%RUBY_SITELIBDIR%%/gst.rb +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/audio-player.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gst-inspect.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/media-type.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/media-type2.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/ogg-audio-player.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/type-find.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/video-player.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/xml-player.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% +@dirrmtry %%RUBY_SITEARCHLIBDIR%% +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby diff --git a/x11-toolkits/ruby-gtk2/Makefile b/x11-toolkits/ruby-gtk2/Makefile index f019ab40b81c..807a29e17ba4 100644 --- a/x11-toolkits/ruby-gtk2/Makefile +++ b/x11-toolkits/ruby-gtk2/Makefile @@ -8,7 +8,6 @@ PORTNAME= gtk2 PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= x11-toolkits ruby MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} @@ -28,6 +27,7 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/atk.so:${PORTSDIR} USE_RUBY= yes USE_GNOME= gtk20 USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig .include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" @@ -45,8 +45,6 @@ post-patch: general-patch ${WRKSRC}/sample/testgtk/testgtk* @${FIND} ${WRKSRC} -name '*.bak' -delete -post-configure: general-configure - # Have to do that to generate ruby-glib's glib-enum-types.h or # it will not build. pre-configure: diff --git a/x11-toolkits/ruby-gtk2/files/patch-gtk2-ext-gtk2-rbgtkitemfactory-c b/x11-toolkits/ruby-gtk2/files/patch-gtk2-ext-gtk2-rbgtkitemfactory-c deleted file mode 100644 index 4377359d6edd..000000000000 --- a/x11-toolkits/ruby-gtk2/files/patch-gtk2-ext-gtk2-rbgtkitemfactory-c +++ /dev/null @@ -1,11 +0,0 @@ ---- ext/gtk2/rbgtkitemfactory.c.orig 2010-10-10 15:01:35.146315748 -0400 -+++ ext/gtk2/rbgtkitemfactory.c 2010-10-10 15:01:45.129705841 -0400 -@@ -29,7 +29,7 @@ - { - VALUE obj = rb_eval_string("eval('self', binding)"); - G_RELATIVE(obj, self); -- RBGTK_INITIALIZE(self, gtk_item_factory_new(FIX2INT(type), RVAL2CSTR(path), -+ RBGTK_INITIALIZE(self, gtk_item_factory_new(NUM2ULONG(type), RVAL2CSTR(path), - RVAL2ACCEL(accel))); - - return Qnil; diff --git a/x11-toolkits/ruby-gtkglext/Makefile b/x11-toolkits/ruby-gtkglext/Makefile index 09c0e9c65cdc..0afe3b2c903d 100644 --- a/x11-toolkits/ruby-gtkglext/Makefile +++ b/x11-toolkits/ruby-gtkglext/Makefile @@ -25,6 +25,7 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/gtk2.so:${PORTSDIR USE_RUBY= yes USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig .include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" @@ -34,7 +35,6 @@ INSTALL_TARGET= site-install DOCS= ChangeLog README post-patch: general-patch -post-configure: general-configure post-install: .if !defined(NOPORTEXAMPLES) diff --git a/x11-toolkits/ruby-gtksourceview2/Makefile b/x11-toolkits/ruby-gtksourceview2/Makefile new file mode 100644 index 000000000000..c9d5c2a03296 --- /dev/null +++ b/x11-toolkits/ruby-gtksourceview2/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: ruby-gtksourceview2 +# Date created: 2010-11-19 +# Whom: Steve Wills <swills@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gtksourceview2 +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= x11-toolkits gnome ruby +MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby binding for GtkSourceView2 + +BUILD_DEPENDS+= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 + +USE_RUBY= yes +USE_GNOME= gtksourceview2 +USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/gtksourceview2 +INSTALL_TARGET= site-install + +DOCS= COPYING.LIB ChangeLog README + +post-patch: general-patch + +post-install: +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${RUBY_MODEXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/ruby-gtksourceview2/pkg-descr b/x11-toolkits/ruby-gtksourceview2/pkg-descr new file mode 100644 index 000000000000..e1fb59dbe040 --- /dev/null +++ b/x11-toolkits/ruby-gtksourceview2/pkg-descr @@ -0,0 +1,3 @@ +Ruby/GtkSourceView2 is a Ruby binding of gtksourceview-2.0.x. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/x11-toolkits/ruby-gtksourceview2/pkg-plist b/x11-toolkits/ruby-gtksourceview2/pkg-plist new file mode 100644 index 000000000000..95276d9dbb0f --- /dev/null +++ b/x11-toolkits/ruby-gtksourceview2/pkg-plist @@ -0,0 +1,16 @@ +libdata/pkgconfig/ruby-gtksourceview2.pc +%%RUBY_SITELIBDIR%%/gtksourceview2.rb +%%RUBY_SITEARCHLIBDIR%%/gtksourceview2.so +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sourcelanguagemanager.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% +@dirrmtry %%RUBY_SITEARCHLIBDIR%% +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby diff --git a/x11-toolkits/ruby-panelapplet/Makefile b/x11-toolkits/ruby-panelapplet/Makefile index 3f906d0eb45c..07b9f89a82f7 100644 --- a/x11-toolkits/ruby-panelapplet/Makefile +++ b/x11-toolkits/ruby-panelapplet/Makefile @@ -25,6 +25,7 @@ USE_RUBY= yes USE_GNOME= gnomepanel USE_RUBY_EXTCONF= yes MAKE_JOBS_UNSAFE= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig .include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" @@ -41,8 +42,6 @@ post-patch: general-patch ${WRKSRC}/sample/hello-applet.rb @${FIND} ${WRKSRC} -name '*.bak' -delete -post-configure: general-configure - post-install: .if !defined(NOPORTEXAMPLES) @${MKDIR} ${RUBY_MODEXAMPLESDIR} diff --git a/x11-toolkits/ruby-pango/Makefile b/x11-toolkits/ruby-pango/Makefile index 38cd1917d724..14841d4697ff 100644 --- a/x11-toolkits/ruby-pango/Makefile +++ b/x11-toolkits/ruby-pango/Makefile @@ -27,6 +27,7 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/glib2.so:${PORTSDI USE_RUBY= yes USE_GNOME= pango USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig .include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" @@ -40,7 +41,6 @@ post-patch: general-patch ${WRKSRC}/sample/layout.rb @${FIND} ${WRKSRC} -name '*.bak' -delete -post-configure: general-configure post-install: .if !defined(NOPORTEXAMPLES) @${MKDIR} ${RUBY_MODEXAMPLESDIR} diff --git a/x11-toolkits/ruby-poppler/Makefile b/x11-toolkits/ruby-poppler/Makefile new file mode 100644 index 000000000000..3619592bfcac --- /dev/null +++ b/x11-toolkits/ruby-poppler/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: ruby-poppler +# Date created: 2010-11-19 +# Whom: Steve Wills <swills@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= poppler +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= x11-toolkits ruby +MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby binding for Poppler + +LIB_DEPENDS= poppler-glib.5:${PORTSDIR}/graphics/poppler-gtk +BUILD_DEPENDS= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config +RUN_DEPENDS= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME} +INSTALL_TARGET= site-install + +DOCS= COPYING.LIB ChangeLog README + +post-patch: general-patch + @${FIND} ${WRKSRC} -name '*.bak' -delete + +post-install: +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${RUBY_MODEXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/ruby-poppler/pkg-descr b/x11-toolkits/ruby-poppler/pkg-descr new file mode 100644 index 000000000000..1b0ecb3fe3cc --- /dev/null +++ b/x11-toolkits/ruby-poppler/pkg-descr @@ -0,0 +1,3 @@ +Ruby/Poppler is a Ruby binding for Poppler. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/x11-toolkits/ruby-poppler/pkg-plist b/x11-toolkits/ruby-poppler/pkg-plist new file mode 100644 index 000000000000..8cbaebd56a5a --- /dev/null +++ b/x11-toolkits/ruby-poppler/pkg-plist @@ -0,0 +1,19 @@ +libdata/pkgconfig/ruby-poppler.pc +%%RUBY_SITEARCHLIBDIR%%/poppler.so +%%RUBY_SITELIBDIR%%/poppler.rb +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/number-pdf.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2svg.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2text.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdfdiv.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% +@dirrmtry %%RUBY_SITEARCHLIBDIR%% +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby diff --git a/x11-toolkits/ruby-vte/Makefile b/x11-toolkits/ruby-vte/Makefile new file mode 100644 index 000000000000..a261233babe8 --- /dev/null +++ b/x11-toolkits/ruby-vte/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: ruby-vte +# Date created: 2010-11-19 +# Whom: Steve Wills <swills@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= vte +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= x11-toolkits ruby +MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby binding for VTE + +BUILD_DEPENDS= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config +RUN_DEPENDS= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config + +USE_RUBY= yes +USE_GNOME= vte +USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME} +INSTALL_TARGET= site-install + +DOCS= COPYING.LIB ChangeLog README + +post-patch: general-patch + @${FIND} ${WRKSRC} -name '*.bak' -delete + +post-install: +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${RUBY_MODEXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/ruby-vte/pkg-descr b/x11-toolkits/ruby-vte/pkg-descr new file mode 100644 index 000000000000..ebd5281db757 --- /dev/null +++ b/x11-toolkits/ruby-vte/pkg-descr @@ -0,0 +1,3 @@ +Ruby/VTE is a Ruby binding for VTE. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/x11-toolkits/ruby-vte/pkg-plist b/x11-toolkits/ruby-vte/pkg-plist new file mode 100644 index 000000000000..e57cf08c6366 --- /dev/null +++ b/x11-toolkits/ruby-vte/pkg-plist @@ -0,0 +1,16 @@ +libdata/pkgconfig/ruby-vte.pc +%%RUBY_SITEARCHLIBDIR%%/vte.so +%%RUBY_SITELIBDIR%%/vte.rb +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/multiterm.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/terminal.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% +@dirrmtry %%RUBY_SITEARCHLIBDIR%% +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby |