- Update ruby-gnome2 to 1.0.3

PR:		ports/162139
Submitted by:	TAKATSU Tomonari <tota@freebsd.org> (based on)
Feature safe:	yes
This commit is contained in:
Steve Wills 2011-12-05 22:54:11 +00:00
parent f2df7d5adf
commit 846e117eff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286948
21 changed files with 58 additions and 115 deletions

View file

@ -5,6 +5,20 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades. you update your ports collection, before attempting any port upgrades.
20111205:
AFFECTS: users of ruby-gnome ports
AUTHOR: swills@FreeBSD.org
ruby-gnome has been updated to 1.0.3. Some of the have been removed
since they are no longer included upstream. The meta port is
now x11/ruby-gnome2. To update run the following command:
# portmaster -o x11/ruby-gnome2 x11/ruby-gnome2-all
You may also wish to remove the old ports using:
# portmaster -s
20111130: 20111130:
AFFECTS: users of dns/nsd AFFECTS: users of dns/nsd
AUTHOR: zi@FreeBSD.org AUTHOR: zi@FreeBSD.org

View file

@ -13,7 +13,7 @@ MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby DIST_SUBDIR= ${RUBY_GNOME_DIST_SUBDIR}
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for ATK COMMENT= Ruby binding for ATK
@ -34,8 +34,6 @@ INSTALL_TARGET= site-install install
DOCS= COPYING.LIB ChangeLog README DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch
post-install: post-install:
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
@${MKDIR} ${RUBY_MODDOCDIR} @${MKDIR} ${RUBY_MODDOCDIR}

View file

@ -13,7 +13,7 @@ MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby DIST_SUBDIR= ${RUBY_GNOME_DIST_SUBDIR}
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for GLib2 COMMENT= Ruby binding for GLib2
@ -33,7 +33,7 @@ INSTALL_TARGET= site-install install
DOCS= COPYING.LIB ChangeLog README DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch post-patch:
@${RM} ${WRKSRC}/lib/gnome2-win32-binary-downloader.rb @${RM} ${WRKSRC}/lib/gnome2-win32-binary-downloader.rb
post-install: post-install:

View file

@ -1,6 +1,7 @@
libdata/pkgconfig/ruby-glib2.pc libdata/pkgconfig/ruby-glib2.pc
%%RUBY_SITELIBDIR%%/glib-mkenums.rb %%RUBY_SITELIBDIR%%/glib-mkenums.rb
%%RUBY_SITELIBDIR%%/glib2.rb %%RUBY_SITELIBDIR%%/glib2.rb
%%RUBY_SITELIBDIR%%/gnome2-raketask.rb
%%RUBY_SITEARCHLIBDIR%%/glib2.so %%RUBY_SITEARCHLIBDIR%%/glib2.so
%%RUBY_SITEARCHLIBDIR%%/rbgcompat.h %%RUBY_SITEARCHLIBDIR%%/rbgcompat.h
%%RUBY_SITEARCHLIBDIR%%/rbglib.h %%RUBY_SITEARCHLIBDIR%%/rbglib.h

View file

@ -13,7 +13,7 @@ MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby DIST_SUBDIR= ${RUBY_GNOME_DIST_SUBDIR}
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for GdkPixbuf2 COMMENT= Ruby binding for GdkPixbuf2
@ -34,8 +34,6 @@ INSTALL_TARGET= site-install install
DOCS= COPYING.LIB ChangeLog README DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch
post-install: post-install:
.if !defined(NOPORTEXAMPLES) .if !defined(NOPORTEXAMPLES)
@${MKDIR} ${RUBY_MODEXAMPLESDIR} @${MKDIR} ${RUBY_MODEXAMPLESDIR}

View file

@ -13,7 +13,7 @@ MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby DIST_SUBDIR= ${RUBY_GNOME_DIST_SUBDIR}
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for librsvg2 COMMENT= Ruby binding for librsvg2
@ -34,8 +34,6 @@ INSTALL_TARGET= site-install install
DOCS= COPYING.LIB ChangeLog README DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch
post-install: post-install:
.if !defined(NOPORTEXAMPLES) .if !defined(NOPORTEXAMPLES)
@${MKDIR} ${RUBY_MODEXAMPLESDIR} @${MKDIR} ${RUBY_MODEXAMPLESDIR}

View file

@ -12,7 +12,7 @@ MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby DIST_SUBDIR= ${RUBY_GNOME_DIST_SUBDIR}
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for goocanvas COMMENT= Ruby binding for goocanvas
@ -34,8 +34,6 @@ INSTALL_TARGET= site-install install
DOCS= ChangeLog README DOCS= ChangeLog README
post-patch: general-patch
post-install: post-install:
.if !defined(NOPORTEXAMPLES) .if !defined(NOPORTEXAMPLES)
@${MKDIR} ${RUBY_MODEXAMPLESDIR} @${MKDIR} ${RUBY_MODEXAMPLESDIR}

View file

@ -12,7 +12,7 @@ MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby DIST_SUBDIR= ${RUBY_GNOME_DIST_SUBDIR}
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for GStreamer COMMENT= Ruby binding for GStreamer
@ -34,7 +34,7 @@ INSTALL_TARGET= site-install install
DOCS= COPYING.LIB ChangeLog README DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch post-patch:
@${FIND} ${WRKSRC} -name '*.bak' -delete @${FIND} ${WRKSRC} -name '*.bak' -delete
post-install: post-install:

View file

@ -6,6 +6,7 @@ libdata/pkgconfig/ruby-gstreamer.pc
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/audio-player.rb %%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/audio-player.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gst-inspect.rb %%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gst-inspect.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/install-plugins.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/media-type.rb %%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/media-type.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/media-type2.rb %%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/media-type2.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/ogg-audio-player.rb %%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/ogg-audio-player.rb

View file

@ -13,7 +13,7 @@ MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby DIST_SUBDIR= ${RUBY_GNOME_DIST_SUBDIR}
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for GTK+2 COMMENT= Ruby binding for GTK+2
@ -36,7 +36,7 @@ INSTALL_TARGET= site-install install
DOCS= COPYING.LIB ChangeLog README DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch post-patch:
@${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \
${WRKSRC}/sample/gtk-demo/common.rb ${WRKSRC}/sample/gtk-demo/common.rb
@${REINPLACE_CMD} -e 's|local/bin/ruby|bin/env ruby|g' \ @${REINPLACE_CMD} -e 's|local/bin/ruby|bin/env ruby|g' \

View file

@ -12,7 +12,7 @@ MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby DIST_SUBDIR= ${RUBY_GNOME_DIST_SUBDIR}
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for GtkSourceView2 COMMENT= Ruby binding for GtkSourceView2
@ -32,8 +32,6 @@ INSTALL_TARGET= site-install install
DOCS= COPYING.LIB ChangeLog README DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch
post-install: post-install:
.if !defined(NOPORTEXAMPLES) .if !defined(NOPORTEXAMPLES)
@${MKDIR} ${RUBY_MODEXAMPLESDIR} @${MKDIR} ${RUBY_MODEXAMPLESDIR}

View file

@ -13,7 +13,7 @@ MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby DIST_SUBDIR= ${RUBY_GNOME_DIST_SUBDIR}
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for Pango COMMENT= Ruby binding for Pango
@ -36,7 +36,7 @@ INSTALL_TARGET= site-install install
DOCS= COPYING.LIB ChangeLog README DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch post-patch:
@${REINPLACE_CMD} -e 's|local/bin/|bin/env |g' \ @${REINPLACE_CMD} -e 's|local/bin/|bin/env |g' \
${WRKSRC}/sample/layout.rb ${WRKSRC}/sample/layout.rb
@${FIND} ${WRKSRC} -name '*.bak' -delete @${FIND} ${WRKSRC} -name '*.bak' -delete

View file

@ -7,7 +7,6 @@
PORTNAME= poppler PORTNAME= poppler
PORTVERSION= ${RUBY_GNOME_PORTVERSION} PORTVERSION= ${RUBY_GNOME_PORTVERSION}
PORTREVISION= 2
CATEGORIES= x11-toolkits ruby CATEGORIES= x11-toolkits ruby
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
@ -33,7 +32,7 @@ INSTALL_TARGET= site-install install
DOCS= COPYING.LIB ChangeLog README DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch post-patch:
@${FIND} ${WRKSRC} -name '*.bak' -delete @${FIND} ${WRKSRC} -name '*.bak' -delete
post-install: post-install:

View file

@ -8,6 +8,7 @@ libdata/pkgconfig/ruby-poppler.pc
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2.rb %%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2svg.rb %%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2svg.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2text.rb %%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2text.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdfcrop.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdfdiv.rb %%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdfdiv.rb
%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% %%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%%

View file

@ -12,7 +12,7 @@ MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby DIST_SUBDIR= ${RUBY_GNOME_DIST_SUBDIR}
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for VTE COMMENT= Ruby binding for VTE
@ -32,7 +32,7 @@ INSTALL_TARGET= site-install install
DOCS= COPYING.LIB ChangeLog README DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch post-patch:
@${FIND} ${WRKSRC} -name '*.bak' -delete @${FIND} ${WRKSRC} -name '*.bak' -delete
post-install: post-install:

View file

@ -1,6 +1,7 @@
libdata/pkgconfig/ruby-vte.pc libdata/pkgconfig/ruby-vte.pc
%%RUBY_SITEARCHLIBDIR%%/vte.so %%RUBY_SITEARCHLIBDIR%%/vte.so
%%RUBY_SITELIBDIR%%/vte.rb %%RUBY_SITELIBDIR%%/vte.rb
%%RUBY_SITELIBDIR%%/vte/deprecated.rb
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB %%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
@ -9,4 +10,5 @@ libdata/pkgconfig/ruby-vte.pc
%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% %%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
%%PORTDOCS%%@dirrm %%RUBY_SITELIBDIR%%/vte
%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% %%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%%

View file

@ -9,47 +9,29 @@
PORTNAME= gnome2 PORTNAME= gnome2
PORTVERSION= ${RUBY_GNOME_PORTVERSION} PORTVERSION= ${RUBY_GNOME_PORTVERSION}
CATEGORIES= x11 ruby gnome CATEGORIES= x11 ruby gnome
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} MASTER_SITES= # none
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME} DISTFILES= # none
DIST_SUBDIR= ruby EXTRACT_ONLY= # none
MAINTAINER= ruby@FreeBSD.org MAINTAINER= ruby@FreeBSD.org
COMMENT= A set of Ruby bindings for GNOME2 COMMENT= The "meta-port" for Ruby/GNOME2
BUILD_DEPENDS+= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/gio2.so:${PORTSDIR}/devel/ruby-gio2 \
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/gnomecanvas2.so:${PORTSDIR}/graphics/ruby-gnomecanvas2 ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/goocanvas.so:${PORTSDIR}/x11-toolkits/ruby-goocanvas \
${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/gst.so:${PORTSDIR}/x11-toolkits/ruby-gstreamer \
${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/gtksourceview2.so:${PORTSDIR}/x11-toolkits/ruby-gtksourceview2 \
${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/poppler.so:${PORTSDIR}/x11-toolkits/ruby-poppler \
${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/rsvg2.so:${PORTSDIR}/graphics/ruby-rsvg2 \
${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/vte.so:${PORTSDIR}/x11-toolkits/ruby-vte
USE_RUBY= yes USE_RUBY= yes
USE_GNOME= libgnomeui
USE_RUBY_EXTCONF= yes
CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig
.include "${.CURDIR}/Makefile.common" .include "${.CURDIR}/Makefile.common"
WRKSRC= ${RUBY_GNOME_WRKSRC}/gnome NO_BUILD= yes
INSTALL_TARGET= site-install install
DOCS_EN= AUTHORS COPYING.LIB ChangeLog README README.gnome2-all do-install:
@${DO_NADA}
post-patch: general-patch
post-build:
@${CP} ${RUBY_GNOME_WRKSRC}/AUTHORS ${WRKSRC}/AUTHORS
@${CP} ${RUBY_GNOME_WRKSRC}/README ${WRKSRC}/README.gnome2-all
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${RUBY_MODEXAMPLESDIR}/test-gnome
@${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
@${INSTALL_DATA} ${WRKSRC}/sample/test-gnome/* ${RUBY_MODEXAMPLESDIR}/test-gnome/
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS_EN}
@${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,30 +1,15 @@
# $FreeBSD$ # $FreeBSD$
RUBY_GNOME_VERSION= 0.90.5 RUBY_GNOME_VERSION= 1.0.3
#RUBY_GNOME_SNAPSHOTDATE= 20061130
.if defined(RUBY_GNOME_SNAPSHOTDATE)
RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}.${RUBY_GNOME_SNAPSHOTDATE}
.else
RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION} RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}
.endif
RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
RUBY_GNOME_MASTER_SITE_SUBDIR= ruby-gnome2/ruby-gnome2/ruby-gnome2-${RUBY_GNOME_VERSION:S/r/rev/} RUBY_GNOME_MASTER_SITE_SUBDIR= ruby-gnome2/ruby-gnome2/ruby-gnome2-${RUBY_GNOME_VERSION:S/r/rev/}
#RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_LOCAL} \
# http://people.freebsd.org/~mezz/distfiles/
#RUBY_GNOME_MASTER_SITE_SUBDIR= mezz
RUBY_GNOME_DISTNAME= ruby-gnome2-all-${RUBY_GNOME_VERSION:S/r/rev/} RUBY_GNOME_DISTNAME= ruby-gnome2-all-${RUBY_GNOME_VERSION:S/r/rev/}
RUBY_GNOME_DIST_SUBDIR= ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}
CONFIGURE_ARGS+= --ruby=${RUBY} CONFIGURE_ARGS+= --ruby=${RUBY}
.if defined(RUBY_GNOME_SNAPSHOTDATE)
RUBY_GNOME_WRKSRC= ${WRKDIR}/ruby-gnome2-snapshot-${RUBY_GNOME_SNAPSHOTDATE}
.else
RUBY_GNOME_WRKSRC= ${WRKDIR}/${RUBY_GNOME_DISTNAME} RUBY_GNOME_WRKSRC= ${WRKDIR}/${RUBY_GNOME_DISTNAME}
.endif
RUBY_GNOME_PORTDIR= ${PORTSDIR}/x11/ruby-gnome2 RUBY_GNOME_PORTDIR= ${PORTSDIR}/x11/ruby-gnome2
DISTINFO_FILE= ${RUBY_GNOME_PORTDIR}/distinfo DISTINFO_FILE= ${RUBY_GNOME_PORTDIR}/distinfo
general-patch:
@${FIND} ${WRKDIR} -name mkmf-gnome2.rb | ${XARGS} ${REINPLACE_CMD} -e \
's|CFLAGS}|CFLAGS} -I${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}|g'

View file

@ -1,2 +1,2 @@
SHA256 (ruby/ruby-gnome2-all-0.90.5.tar.gz) = 4017da5fe9dc090c7ca26a0e02901bb66a7579475619f97bc1b7d7774d19945f SHA256 (ruby/ruby-gnome2-all-1.0.3.tar.gz) = 0303c12096ebd85a633c848d1d5a7e132e1ce7237ad6b9051d2f290590d2c6b4
SIZE (ruby/ruby-gnome2-all-0.90.5.tar.gz) = 1754503 SIZE (ruby/ruby-gnome2-all-1.0.3.tar.gz) = 1141565

View file

@ -1,5 +1,7 @@
Ruby/GNOME2 is a set of Ruby bindings for GNOME2 which consists of The "meta-port" for Ruby/GNOME2
glib2, gtk2, gdk_pixbuf2, gnome2, gnomecanvas2, libglade2, libart2 and
gconf2 modules. Ruby/GNOME2 is a set of Ruby bindings for GNOME2 which consists of atk, glib2,
gio2, gdk_pixbuf2, rsvg2, goocanvas, gstreamer, gtk2, gtksourceview2, pango,
poppler and vte modules.
WWW: http://ruby-gnome2.sourceforge.jp/ WWW: http://ruby-gnome2.sourceforge.jp/

View file

@ -1,34 +0,0 @@
libdata/pkgconfig/ruby-gnome2.pc
%%RUBY_SITELIBDIR%%/gnome2.rb
%%RUBY_SITEARCHLIBDIR%%/gnome2.so
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.gnome2-all
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gnome-app-helper.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gnome-config.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gnome-druid.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gnome-program.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gnome-sound.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gnome-trigger.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/README
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/about.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/app-helper.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/bomb.xpm
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/color-picker.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/dateedit.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/entry.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/file-entry.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/font-picker.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/href.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/icon-entry.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/icon-list.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/pixmap-entry.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/test-gnome-app.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/test-gnome.rb
%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%/test-gnome
%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%%