From 663388e1e0934484b269959c137289e2ed29181d Mon Sep 17 00:00:00 2001 From: mezz Date: Fri, 9 Dec 2005 02:19:59 +0000 Subject: - Use an awsome new USE_GECKO. - Firefox is no longer part of option, because it doesn't build with new Firefox 1.5. So... Current, it only has Mozilla. If it works with the other gecko-based such as Seamonkey, Thunderbird or so, then let me know and I shall add it in the list. --- www/ruby-gtkmozembed/Makefile | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/www/ruby-gtkmozembed/Makefile b/www/ruby-gtkmozembed/Makefile index f3eb90a6ec7d..1d74c13ff940 100644 --- a/www/ruby-gtkmozembed/Makefile +++ b/www/ruby-gtkmozembed/Makefile @@ -18,21 +18,10 @@ 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 +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 USE_RUBY= yes +USE_GECKO= mozilla USE_REINPLACE= yes USE_RUBY_EXTCONF= yes @@ -43,8 +32,11 @@ INSTALL_TARGET= site-install DOCS= COPYING.LIB ChangeLog README +.include +.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk" + post-patch: - @${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|${MOZILLA}-gtkmozembed|g' \ + @${REINPLACE_CMD} -e 's|mozilla-|${GECKO}-|g' \ ${WRKSRC}/extconf.rb post-install: @@ -57,4 +49,4 @@ post-install: .endfor .endif -.include +.include -- cgit