diff options
author | marcus <marcus@FreeBSD.org> | 2002-10-22 11:44:18 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-10-22 11:44:18 +0800 |
commit | 3112055e5bbd80a9ca6e448b50079c4876653209 (patch) | |
tree | 2cacc56cb6db97519a5c7f339b891b560fb7d423 /www/galeon | |
parent | db683278d52320231ff347aa9f90bdf1f8cfc942 (diff) | |
download | freebsd-ports-gnome-3112055e5bbd80a9ca6e448b50079c4876653209.tar.gz freebsd-ports-gnome-3112055e5bbd80a9ca6e448b50079c4876653209.tar.zst freebsd-ports-gnome-3112055e5bbd80a9ca6e448b50079c4876653209.zip |
Add support for the new Mozilla ports. By default, Galeon will build
against www/mozilla. However, you can change this by specifying a
WITH_MOZILLA parameter, and setting it to one of the following values:
mozilla-devel
mozilla-embedded[-devel|-vendor]
mozilla-vendor
Note, this version of Galon should also use the new universal plugins
directory.
Diffstat (limited to 'www/galeon')
-rw-r--r-- | www/galeon/Makefile | 42 | ||||
-rw-r--r-- | www/galeon/files/patch-ab | 13 |
2 files changed, 28 insertions, 27 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile index 58d42107e4e7..9d12785b377e 100644 --- a/www/galeon/Makefile +++ b/www/galeon/Makefile @@ -18,21 +18,25 @@ BUILD_DEPENDS= ${X11BASE}/include/mozilla${HEADERS_SUFX}/gtkembedmoz/gtkmozembed LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA} -WITH_FULL_MOZILLA= "Problems with SSL, general performance, and usability" +MOZ_CONFIGURE_ARGS= -.if defined(WITH_MOZILLA_DEVEL) -HEADERS_SUFX= -devel -.if !defined(WITH_FULL_MOZILLA) -MOZILLA= mozilla-embedded-devel +.if !defined(WITH_MOZILLA) +MOZILLA= mozilla +HEADERS_SUFX= .else -MOZILLA= mozilla-devel -.endif +.if ${WITH_MOZILLA}=="mozilla-vendor" || ${WITH_MOZILLA}=="mozilla-embedded-vendor" +MOZILLA= ${WITH_MOZILLA} +HEADERS_SUFX= -vendor +MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.0" .else -HEADERS_SUFX= -.if !defined(WITH_FULL_MOZILLA) -MOZILLA= mozilla-embedded +.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-embedded-devel" +MOZILLA= ${WITH_MOZILLA} +HEADERS_SUFX= -devel +MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="trunk" .else MOZILLA= mozilla +HEADERS_SUFX= +.endif .endif .endif @@ -43,15 +47,12 @@ USE_LIBTOOL= yes USE_REINPLACE= yes CONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/mozilla${HEADERS_SUFX}" \ --with-mozilla-libs="${X11BASE}/lib/${MOZILLA}" \ - --enable-nautilus-view + --enable-nautilus-view \ + ${MOZ_CONFIGURE_ARGS} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -D_REENTRANT ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} -.if !defined(WITH_MOZILLA_DEVEL) -CONFIGURE_ARGS+= --with-mozilla-snapshot="1.0" -.endif - MAN1= galeon.1 .include <bsd.port.pre.mk> @@ -63,13 +64,14 @@ CONFIGURE_ARGS+= --disable-werror .endif post-extract: -.if !defined(WITH_FULL_MOZILLA) @${ECHO_MSG} - @${ECHO_MSG} " By default the port uses mozilla-embedded for html rendering, but if you are" - @${ECHO_MSG} " planning to use both Mozilla and Galeon you can instruct it to use mozilla by" - @${ECHO_MSG} " defining \"WITH_FULL_MOZILLA\"." + @${ECHO_MSG} " By default the port uses www/mozilla for html rendering, but you can change" + @${ECHO_MSG} " this by defining WITH_MOZILLA to one of the following values:" + @${ECHO_MSG} + @${ECHO_MSG} " mozilla-devel " + @${ECHO_MSG} " mozilla-embedded[-devel|-vendor] " + @${ECHO_MSG} " mozilla-vendor " @${ECHO_MSG} -.endif post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ diff --git a/www/galeon/files/patch-ab b/www/galeon/files/patch-ab index 528909f74928..25b7c37b3317 100644 --- a/www/galeon/files/patch-ab +++ b/www/galeon/files/patch-ab @@ -1,8 +1,5 @@ - -$FreeBSD$ - ---- src/galeon.in.orig Thu Dec 27 23:49:08 2001 -+++ src/galeon.in Fri Dec 28 10:58:16 2001 +--- src/galeon.in.orig Thu Dec 27 19:13:42 2001 ++++ src/galeon.in Mon Oct 21 23:28:37 2002 @@ -4,18 +4,14 @@ if test -n "$MOZILLA_FIVE_HOME"; then @@ -29,7 +26,7 @@ $FreeBSD$ else echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory" exit -@@ -27,16 +23,9 @@ +@@ -27,16 +23,12 @@ MOZILLA_FIVE_HOME=$MOZILLA_HOME export MOZILLA_FIVE_HOME @@ -39,7 +36,9 @@ $FreeBSD$ - export LD_ASSUME_KERNEL=2.2.5 - fi -fi -- ++MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins ++export MOZ_PLUGIN_PATH + if [ -f ./galeon-bin ]; then exec ./galeon-bin "$@" else |