diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-10-22 03:44:18 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-10-22 03:44:18 +0000 |
commit | 7ed5b24a01be1a398b016b8109ba34bc1f6e3a8b (patch) | |
tree | 15933131c958d30cce00c78bef4650e4185618cf /www/galeon | |
parent | ceab29fa677934f9a8541ad0dc57738aecc8f7f3 (diff) | |
download | ports-7ed5b24a01be1a398b016b8109ba34bc1f6e3a8b.tar.gz ports-7ed5b24a01be1a398b016b8109ba34bc1f6e3a8b.zip |
Notes
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 |