diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-10-17 14:54:15 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-10-17 14:54:15 +0800 |
commit | 3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0 (patch) | |
tree | 64e65110994f4e28c9a6e6ae5d58b50c5a9376be /www | |
parent | 7384a925c62bf5ba6f3598d5ec36b0caf4b839c2 (diff) | |
download | marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.gz marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.bz2 marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.lz marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.xz marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.zst marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.zip |
- Add ruby-gtk2/ruby-gnome2 ports, update at 0.14.0. See detail:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20051016_1
- Add two new ports, ruby-cairo (rcairo) and ruby-gtkmozembed.
*ruby-cairo: Ruby/Cairo is a Ruby binding for Cairo.
WWW: http://cairographics.org/
*ruby-gtkmozembed: Ruby/GtkMozEmbed is a Ruby binding of GtkMozEmbed a
widget embedding a Mozilla Gecko renderer.
WWW: http://ruby-gnome2.sourceforge.jp/
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4954 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r-- | www/ruby-gtkhtml2/Makefile | 43 | ||||
-rw-r--r-- | www/ruby-gtkhtml2/pkg-descr | 3 | ||||
-rw-r--r-- | www/ruby-gtkhtml2/pkg-plist | 8 | ||||
-rw-r--r-- | www/ruby-gtkmozembed/Makefile | 59 | ||||
-rw-r--r-- | www/ruby-gtkmozembed/pkg-descr | 4 | ||||
-rw-r--r-- | www/ruby-gtkmozembed/pkg-plist | 10 |
6 files changed, 127 insertions, 0 deletions
diff --git a/www/ruby-gtkhtml2/Makefile b/www/ruby-gtkhtml2/Makefile new file mode 100644 index 000000000..4e4af922e --- /dev/null +++ b/www/ruby-gtkhtml2/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: Ruby/GtkHtml2 +# Date created: 05 April 2004 +# Whom: Mezz <mezz7@cox.net> +# +# $FreeBSD: ports/www/ruby-gtkhtml2/Makefile,v 1.6 2005/03/12 11:05:16 mezz Exp $ +# + +PORTNAME= gtkhtml2 +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= www 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= mezz@FreeBSD.org +COMMENT= Ruby binding for GtkHtml2 + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 + +USE_RUBY= yes +USE_GNOME= libgtkhtml +USE_RUBY_EXTCONF= yes + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/gtkhtml2 +INSTALL_TARGET= site-install + +DOCS= COPYING.LIB ChangeLog README + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODEXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/www/ruby-gtkhtml2/pkg-descr b/www/ruby-gtkhtml2/pkg-descr new file mode 100644 index 000000000..96e293180 --- /dev/null +++ b/www/ruby-gtkhtml2/pkg-descr @@ -0,0 +1,3 @@ +Ruby/GtkHtml2 is a Ruby binding of GtkHtml2 + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/www/ruby-gtkhtml2/pkg-plist b/www/ruby-gtkhtml2/pkg-plist new file mode 100644 index 000000000..c3158ccac --- /dev/null +++ b/www/ruby-gtkhtml2/pkg-plist @@ -0,0 +1,8 @@ +%%RUBY_SITEARCHLIBDIR%%/gtkhtml2.so +%%RUBY_SITELIBDIR%%/gtkhtml2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gtkhtml.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% diff --git a/www/ruby-gtkmozembed/Makefile b/www/ruby-gtkmozembed/Makefile new file mode 100644 index 000000000..086aa0005 --- /dev/null +++ b/www/ruby-gtkmozembed/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: Ruby/GtkMozEmbed +# Date created: 16 October 2005 +# Whom: Mezz <mezz@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gtkmozembed +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= www 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= Ruby binding for GtkMozEmbed a widget embedding a Mozilla Gecko renderer + +BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \ + ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} + +.if !defined(WITH_MOZILLA) +MOZILLA= firefox +.else +.if ${WITH_MOZILLA}=="mozilla" +MOZILLA= mozilla +.else +MOZILLA= firefox +.endif +.endif + +USE_RUBY= yes +USE_REINPLACE= yes +USE_RUBY_EXTCONF= yes + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/gtkmozembed +INSTALL_TARGET= site-install + +DOCS= COPYING.LIB ChangeLog README + +post-patch: + @${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|${MOZILLA}-gtkmozembed|g' \ + ${WRKSRC}/extconf.rb + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODEXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/www/ruby-gtkmozembed/pkg-descr b/www/ruby-gtkmozembed/pkg-descr new file mode 100644 index 000000000..f13bc8f3d --- /dev/null +++ b/www/ruby-gtkmozembed/pkg-descr @@ -0,0 +1,4 @@ +Ruby/GtkMozEmbed is a Ruby binding of GtkMozEmbed a widget embedding a +Mozilla Gecko renderer. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/www/ruby-gtkmozembed/pkg-plist b/www/ruby-gtkmozembed/pkg-plist new file mode 100644 index 000000000..b7c06062b --- /dev/null +++ b/www/ruby-gtkmozembed/pkg-plist @@ -0,0 +1,10 @@ +%%RUBY_SITEARCHLIBDIR%%/gtkmozembed.so +%%RUBY_SITELIBDIR%%/gtkmozembed.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/COPYING +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ruby-gecko.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |