diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-10-05 12:36:34 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-10-05 12:36:34 +0800 |
commit | 6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5 (patch) | |
tree | 6633716aea6a85613fd898e328fcd209963d9341 /x11 | |
parent | 2c7fbbe9497418465b48ce0eb8fef843e1214e13 (diff) | |
download | marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar.gz marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar.bz2 marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar.lz marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar.xz marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar.zst marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.zip |
Update to SVN version, which fix build with GNOME 2.20 stuff. The version is
0.16.0.20071004 (CVS at YYYYMMDD)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9727 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/ruby-gnome2/Makefile | 52 | ||||
-rw-r--r-- | x11/ruby-gnome2/Makefile.common | 27 | ||||
-rw-r--r-- | x11/ruby-gnome2/distinfo | 3 | ||||
-rw-r--r-- | x11/ruby-gnome2/pkg-descr | 5 | ||||
-rw-r--r-- | x11/ruby-gnome2/pkg-plist | 37 |
5 files changed, 124 insertions, 0 deletions
diff --git a/x11/ruby-gnome2/Makefile b/x11/ruby-gnome2/Makefile new file mode 100644 index 000000000..98a4d58ca --- /dev/null +++ b/x11/ruby-gnome2/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: Ruby-GNOME2 +# Date created: 28 February 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD: ports/x11/ruby-gnome2/Makefile,v 1.23 2007/05/19 20:27:16 flz Exp $ +# $MCom: ports/x11/ruby-gnome2/Makefile,v 1.2 2005/10/17 07:05:42 mezz Exp $ +# + +PORTNAME= gnome2 +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +PORTREVISION= 1 +CATEGORIES= x11 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= mezz@FreeBSD.org +COMMENT= A set of Ruby bindings for GNOME2 + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gnomecanvas2.so:${PORTSDIR}/graphics/ruby-gnomecanvas2 + +USE_RUBY= yes +USE_GNOME= libgnomeui +USE_RUBY_EXTCONF= yes + +.include "${.CURDIR}/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/gnome +INSTALL_TARGET= site-install + +DOCS_EN= AUTHORS COPYING.LIB ChangeLog README README.gnome2-all + +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(NOPORTDOCS) + @${MKDIR} ${RUBY_MODEXAMPLESDIR}/test-gnome + @${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/ + @${INSTALL_DATA} ${WRKSRC}/sample/test-gnome/* ${RUBY_MODEXAMPLESDIR}/test-gnome/ + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS_EN} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11/ruby-gnome2/Makefile.common b/x11/ruby-gnome2/Makefile.common new file mode 100644 index 000000000..fb65e5c44 --- /dev/null +++ b/x11/ruby-gnome2/Makefile.common @@ -0,0 +1,27 @@ +# $FreeBSD: ports/x11/ruby-gnome2/Makefile.common,v 1.29 2007/01/02 16:49:10 mezz Exp $ + +RUBY_GNOME_VERSION= 0.16.0.20071004 #YYYYMMDD +#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} +.endif +RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +RUBY_GNOME_MASTER_SITE_SUBDIR= ruby-gnome2 +RUBY_GNOME_DISTNAME= ruby-gnome2-all-${RUBY_GNOME_VERSION:S/r/rev/} + +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} +.endif + +RUBY_GNOME_PORTDIR= ${PORTSDIR}/x11/ruby-gnome2 +MD5_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' diff --git a/x11/ruby-gnome2/distinfo b/x11/ruby-gnome2/distinfo new file mode 100644 index 000000000..e206847be --- /dev/null +++ b/x11/ruby-gnome2/distinfo @@ -0,0 +1,3 @@ +MD5 (ruby/ruby-gnome2-all-0.16.0.20071004.tar.gz) = ebc465e0a27c3f8f78bdb3d08dc50379 +SHA256 (ruby/ruby-gnome2-all-0.16.0.20071004.tar.gz) = 62d346af997a8bd071c13a1c9ff2232dea02569caf1656880b8abd843ba7d58e +SIZE (ruby/ruby-gnome2-all-0.16.0.20071004.tar.gz) = 1346048 diff --git a/x11/ruby-gnome2/pkg-descr b/x11/ruby-gnome2/pkg-descr new file mode 100644 index 000000000..8e08a5347 --- /dev/null +++ b/x11/ruby-gnome2/pkg-descr @@ -0,0 +1,5 @@ +Ruby/GNOME2 is a set of Ruby bindings for GNOME2 which consists of +glib2, gtk2, gdk_pixbuf2, gnome2, gnomecanvas2, libglade2, libart2 and +gconf2 modules. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/x11/ruby-gnome2/pkg-plist b/x11/ruby-gnome2/pkg-plist new file mode 100644 index 000000000..7212878e5 --- /dev/null +++ b/x11/ruby-gnome2/pkg-plist @@ -0,0 +1,37 @@ +%%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 +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-app-helper.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-config.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-druid.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-program.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-sound.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-trigger.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/README +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/about.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/app-helper.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/bomb.xpm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/color-picker.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/dateedit.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/entry.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/file-entry.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/font-picker.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/href.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/icon-entry.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/icon-list.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/pixmap-entry.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/test-gnome-app.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/test-gnome.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/test-gnome +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%@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 |