aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-09-04 04:32:19 +0800
committerahze <ahze@FreeBSD.org>2006-09-04 04:32:19 +0800
commit979c5b6f1e74f23f46ee3ab549cdf6ec82a5d7e4 (patch)
treee0dc488ad93a5884c77f34ce688fdb1a39f042c4 /www
parentf8b49b87f68f8b5b0ac190f4c99a780ba1ec7f7b (diff)
downloadfreebsd-ports-gnome-979c5b6f1e74f23f46ee3ab549cdf6ec82a5d7e4.tar.gz
freebsd-ports-gnome-979c5b6f1e74f23f46ee3ab549cdf6ec82a5d7e4.tar.zst
freebsd-ports-gnome-979c5b6f1e74f23f46ee3ab549cdf6ec82a5d7e4.zip
- Remove mozilla-devel support
Diffstat (limited to 'www')
-rw-r--r--www/mozilla-bonobo/Makefile35
-rw-r--r--www/mozilla-bonobo/pkg-plist3
2 files changed, 8 insertions, 30 deletions
diff --git a/www/mozilla-bonobo/Makefile b/www/mozilla-bonobo/Makefile
index 61aa5014ad72..28794e353811 100644
--- a/www/mozilla-bonobo/Makefile
+++ b/www/mozilla-bonobo/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mozilla-bonobo
PORTVERSION= 0.4.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= moz-bonobo
@@ -15,45 +15,20 @@ MASTER_SITE_SUBDIR= moz-bonobo
MAINTAINER= ports@FreeBSD.org
COMMENT= A Netscape/Mozilla plugin using Bonobo controls to display files
-BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
-RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
+BUILD_DEPENDS= ${LOCALBASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
+RUN_DEPENDS= ${LOCALBASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
MOZILLA= mozilla
HEADERS_SUFX=
-.if !defined(WITH_MOZILLA)
-MOZILLA= mozilla
-HEADERS_SUFX=
-.else
-.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2"
-MOZILLA= mozilla-devel
-HEADERS_SUFX= -devel
-.else
-MOZILLA= mozilla
-HEADERS_SUFX=
-.endif
-.endif
-
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_GNOME= gnomeprefix libgnomeui libgnomeprint
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-plugin-install-dir="${PREFIX}/lib/browser_plugins" \
- --with-mozilla-include-dir="${X11BASE}/include/mozilla${HEADERS_SUFX}"
-
-GCONF_SCHEMAS= mozilla-bonobo.schemas
+ --with-mozilla-include-dir="${LOCALBASE}/include/mozilla${HEADERS_SUFX}"
BROKEN= "Does not build with new Mozilla"
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2006-12-01
-
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} " By default mozilla-bonobo uses www/mozilla 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 "
- @${ECHO_MSG} ""
post-patch:
@${REINPLACE_CMD} -e \
diff --git a/www/mozilla-bonobo/pkg-plist b/www/mozilla-bonobo/pkg-plist
index b0bc158c6087..5fc178a0a285 100644
--- a/www/mozilla-bonobo/pkg-plist
+++ b/www/mozilla-bonobo/pkg-plist
@@ -1,4 +1,7 @@
bin/mozilla-bonobo-viewer
+@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/mozilla-bonobo.schemas > /dev/null || /usr/bin/true
+etc/gconf/schemas/mozilla-bonobo.schemas
+@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/mozilla-bonobo.schemas > /dev/null || /usr/bin/true
lib/browser_plugins/libmozilla_bonobo.so
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS