diff options
author | marcus <marcus@FreeBSD.org> | 2003-11-20 22:33:42 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-11-20 22:33:42 +0800 |
commit | bec6c8005b577ab371cd14e0c1e2a9cebe560d89 (patch) | |
tree | 747d079230e189840144bf2d0449ccdd9f2e5196 | |
parent | a91fb80c9cf14ae2740cf1cece0e2168c90fa902 (diff) | |
download | freebsd-ports-gnome-bec6c8005b577ab371cd14e0c1e2a9cebe560d89.tar.gz freebsd-ports-gnome-bec6c8005b577ab371cd14e0c1e2a9cebe560d89.tar.zst freebsd-ports-gnome-bec6c8005b577ab371cd14e0c1e2a9cebe560d89.zip |
Add mozilla-bonobo, a Mozilla plug-in that allows one to embedded bonobo
controls. For example, with this plug-in you can view Gnumeric spreadsheets
within Mozilla.
PR: 59494
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mozilla-bonobo/Makefile | 68 | ||||
-rw-r--r-- | www/mozilla-bonobo/distinfo | 1 | ||||
-rw-r--r-- | www/mozilla-bonobo/pkg-descr | 7 | ||||
-rw-r--r-- | www/mozilla-bonobo/pkg-plist | 17 |
5 files changed, 94 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 47e4bba6c007..9736245f6ad2 100644 --- a/www/Makefile +++ b/www/Makefile @@ -263,6 +263,7 @@ SUBDIR += moinmoin SUBDIR += momspider SUBDIR += mozilla + SUBDIR += mozilla-bonobo SUBDIR += mozilla-devel SUBDIR += mozilla-devel-gtk2 SUBDIR += mozilla-firebird diff --git a/www/mozilla-bonobo/Makefile b/www/mozilla-bonobo/Makefile new file mode 100644 index 000000000000..0d14072ae223 --- /dev/null +++ b/www/mozilla-bonobo/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: mozilla-bonobo +# Date created: 20 Nov 2003 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= mozilla-bonobo +PORTVERSION= 0.4.0 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= moz-bonobo + +MAINTAINER= jylefort@brutele.be +COMMENT= A Netscape/Mozilla plugin using Bonobo controls to display files + +BUILD_DEPENDS= ${X11BASE}/include/mozilla${HEADERS_SUFX}/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers${HEADERS_SUFX} \ + ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} +RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} + +MOZILLA= mozilla-gtk2 +HEADERS_SUFX= + +.if !defined(WITH_MOZILLA) +MOZILLA= mozilla-gtk2 +HEADERS_SUFX= +.else +.if ${WITH_MOZILLA}=="mozilla-devel-gtk2" +MOZILLA= ${WITH_MOZILLA} +HEADERS_SUFX= -devel +.else +MOZILLA= mozilla-gtk2 +HEADERS_SUFX= +.endif +.endif + +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix libgnomeui libgnomeprint +USE_LIBTOOL_VER= 15 +USE_REINPLACE= yes + +CONFIGURE_ARGS= --with-plugin-install-dir="${PREFIX}/lib/browser_plugins" \ + --with-mozilla-include-dir="${X11BASE}/include/mozilla${HEADERS_SUFX}" + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " By default epiphany uses www/mozilla-gtk2 for html rendering, but you can" + @${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:" + @${ECHO_MSG} "" + @${ECHO_MSG} " mozilla-devel-gtk2 " + @${ECHO_MSG} "" + +post-patch: + @${REINPLACE_CMD} -e \ + 's|\$${prefix}/doc/mozilla-bonobo|${DOCSDIR}| ; \ + s|COPYING\\|\\| ; \ + s|INSTALL\\|\\| ; \ + s|TODO\\|TODO| ; \ + s|ABOUT-NLS||' ${WRKSRC}/Makefile.in +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -e \ + 's|\$$(libmozilla_bonobodoc_DATA)|| ; \ + s|\$$(mkinstalldirs) \$$(DESTDIR)\$$(libmozilla_bonobodocdir)|| +; \ + s| \$$(DESTDIR)\$$(libmozilla_bonobodocdir) | |' ${WRKSRC}/Makefile.in +.endif + +.include <bsd.port.mk> diff --git a/www/mozilla-bonobo/distinfo b/www/mozilla-bonobo/distinfo new file mode 100644 index 000000000000..7787316270e7 --- /dev/null +++ b/www/mozilla-bonobo/distinfo @@ -0,0 +1 @@ +MD5 (mozilla-bonobo-0.4.0.tar.gz) = e8080758f7319ac3255ba7cc4bdeb514 diff --git a/www/mozilla-bonobo/pkg-descr b/www/mozilla-bonobo/pkg-descr new file mode 100644 index 000000000000..00f92bf91cfb --- /dev/null +++ b/www/mozilla-bonobo/pkg-descr @@ -0,0 +1,7 @@ +mozilla-bonobo is a netscape-compatible browser plugin which allows +your browser to use bonobo controls to display supported mime types. + +WWW: http://www.nongnu.org/moz-bonobo/ + +- Jean-Yves Lefort +jylefort@brutele.be diff --git a/www/mozilla-bonobo/pkg-plist b/www/mozilla-bonobo/pkg-plist new file mode 100644 index 000000000000..d40e48af9158 --- /dev/null +++ b/www/mozilla-bonobo/pkg-plist @@ -0,0 +1,17 @@ +bin/mozilla-bonobo-viewer +etc/gconf/gconf.xml.defaults/apps/mozilla-bonobo/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/mozilla-bonobo/mime-types/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/mozilla-bonobo/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/mozilla-bonobo/mime-types/%gconf.xml +etc/gconf/schemas/mozilla-bonobo.schemas +lib/browser_plugins/libmozilla_bonobo.so +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/TODO +@dirrm etc/gconf/gconf.xml.defaults/apps/mozilla-bonobo/mime-types +@dirrm etc/gconf/gconf.xml.defaults/apps/mozilla-bonobo +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/mozilla-bonobo/mime-types +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/mozilla-bonobo +%%PORTDOCS%%@dirrm %%DOCSDIR%% |