diff options
author | mezz <mezz@FreeBSD.org> | 2005-11-05 13:36:33 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2005-11-05 13:36:33 +0800 |
commit | 3b1a1c3711d0e490a0c5ecc74a673f6e51eeb51c (patch) | |
tree | a9aa8f2211e7bd93c054172718b36c97bf908d8d /www/ruby-gtkmozembed | |
parent | 78385069b864bdbea1fea52aba80639441c3844c (diff) | |
download | freebsd-ports-gnome-3b1a1c3711d0e490a0c5ecc74a673f6e51eeb51c.tar.gz freebsd-ports-gnome-3b1a1c3711d0e490a0c5ecc74a673f6e51eeb51c.tar.zst freebsd-ports-gnome-3b1a1c3711d0e490a0c5ecc74a673f6e51eeb51c.zip |
Ruby/GtkMozEmbed is a Ruby binding of GtkMozEmbed a widget embedding a
Mozilla Gecko renderer.
WWW: http://ruby-gnome2.sourceforge.jp/
Diffstat (limited to 'www/ruby-gtkmozembed')
-rw-r--r-- | www/ruby-gtkmozembed/Makefile | 60 | ||||
-rw-r--r-- | www/ruby-gtkmozembed/pkg-descr | 4 | ||||
-rw-r--r-- | www/ruby-gtkmozembed/pkg-plist | 10 |
3 files changed, 74 insertions, 0 deletions
diff --git a/www/ruby-gtkmozembed/Makefile b/www/ruby-gtkmozembed/Makefile new file mode 100644 index 000000000000..f3eb90a6ec7d --- /dev/null +++ b/www/ruby-gtkmozembed/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: Ruby/GtkMozEmbed +# Date created: 16 October 2005 +# Whom: Mezz <mezz@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/www/ruby-gtkmozembed/Makefile,v 1.2 2005/10/17 07:05:42 mezz Exp $ +# + +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 000000000000..f13bc8f3dab4 --- /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 000000000000..b7c06062b465 --- /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%% |