diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-08-01 09:05:58 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-08-01 09:05:58 +0000 |
commit | 51d897fca94e2497a712fb1673aea408a368f99f (patch) | |
tree | c5cb818761b2d78149469d26f34aa9bd7dea9736 /www/galeon | |
parent | Update maintainer's email address and clarify the DESCR file. (diff) |
Add galeon - a GNOME Web browser based on gecko (the mozilla rendering engine).
It allows to use state-of-the-art HTML rendering engine without much overhead
imposed my Mozilla itself.
Obtained from: http://www.gnome.org/
Notes
Notes:
svn path=/head/; revision=31188
Diffstat (limited to 'www/galeon')
-rw-r--r-- | www/galeon/Makefile | 49 | ||||
-rw-r--r-- | www/galeon/distinfo | 1 | ||||
-rw-r--r-- | www/galeon/files/patch-ab | 23 | ||||
-rw-r--r-- | www/galeon/pkg-comment | 1 | ||||
-rw-r--r-- | www/galeon/pkg-descr | 4 | ||||
-rw-r--r-- | www/galeon/pkg-plist | 19 |
6 files changed, 97 insertions, 0 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile new file mode 100644 index 000000000000..8288f7f83028 --- /dev/null +++ b/www/galeon/Makefile @@ -0,0 +1,49 @@ +# Ports collection Makefile for: galeon +# Date created: 1 August 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= galeon +PORTVERSION= 0.7.1 +CATEGORIES= www gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= sobomax@FreeBSD.org + +BUILD_DEPENDS= /nonexistent:${PORTSDIR}/www/mozilla:build +LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ + glade.4:${PORTSDIR}/devel/libglade +RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \ + mozilla:${PORTSDIR}/www/mozilla + +USE_X_PREFIX= yes +GNU_CONFIGURE= yes + +GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +CFLAGS+= -D_REENTRANT -D_THREAD_SAFE + +CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ + --datadir=${PREFIX}/share/gnome \ + --with-mozilla-headers=${WRKDIRPREFIX}${.CURDIR}/../../www/mozilla/work/mozilla/dist/include \ + --with-mozilla-libs=${WRKDIRPREFIX}${.CURDIR}/../../www/mozilla/work/mozilla/dist/lib +CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ + GTK_CONFIG="${GTK_CONFIG}" \ + CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \ + s|-lpthread|-pthread|g' + @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|%%LOCALBASE%%|${LOCALBASE}|g ; \ + s|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/src/galeon + +.include <bsd.port.mk> diff --git a/www/galeon/distinfo b/www/galeon/distinfo new file mode 100644 index 000000000000..c322cb1767a4 --- /dev/null +++ b/www/galeon/distinfo @@ -0,0 +1 @@ +MD5 (galeon-0.7.1.tar.gz) = d21f940a1fcf385d3dc2a512a7435ed7 diff --git a/www/galeon/files/patch-ab b/www/galeon/files/patch-ab new file mode 100644 index 000000000000..157f691ec8ab --- /dev/null +++ b/www/galeon/files/patch-ab @@ -0,0 +1,23 @@ +--- src/galeon.orig Tue Aug 1 11:22:03 2000 ++++ src/galeon Tue Aug 1 11:22:14 2000 +@@ -1,14 +1,14 @@ +-#!/bin/bash ++#!/bin/sh + +-dist_bin=`dirname $0` ++dist_bin=%%PREFIX%%/bin + + if test -n "$MOZILLA_FIVE_HOME"; then + export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH + exec $dist_bin/galeon-bin $@ +-elif [ -f /usr/local/mozilla/libgtkembedmoz.so ]; then +- MOZILLA_HOME=/usr/local/mozilla +-elif [ -f /usr/lib/mozilla/libgtkembedmoz.so ]; then +- MOZILLA_HOME=/usr/lib/mozilla ++elif [ -f %%LOCALBASE%%/lib/mozilla/libgtkembedmoz.so ]; then ++ MOZILLA_HOME=%%LOCALBASE%%/lib/mozilla ++elif [ -f %%X11BASE%%/lib/mozilla/libgtkembedmoz.so ]; then ++ MOZILLA_HOME=%%X11BASE%%/lib/mozilla + else + echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory" + exit diff --git a/www/galeon/pkg-comment b/www/galeon/pkg-comment new file mode 100644 index 000000000000..df476157a81a --- /dev/null +++ b/www/galeon/pkg-comment @@ -0,0 +1 @@ +A GNOME Web browser based on gecko (the Mozilla rendering engine) diff --git a/www/galeon/pkg-descr b/www/galeon/pkg-descr new file mode 100644 index 000000000000..a3006b9231c7 --- /dev/null +++ b/www/galeon/pkg-descr @@ -0,0 +1,4 @@ +Galeon is a GNOME Web browser based on gecko (the mozilla rendering engine). +It's fast, it has a light interface, and it is fully standards-compliant. + +WWW: http://galeon.sourceforge.net/ diff --git a/www/galeon/pkg-plist b/www/galeon/pkg-plist new file mode 100644 index 000000000000..a180f4ef4bd8 --- /dev/null +++ b/www/galeon/pkg-plist @@ -0,0 +1,19 @@ +bin/galeon +bin/galeon-bin +share/gnome/apps/Internet/galeon.desktop +share/gnome/galeon/bookmarks.xml +share/gnome/galeon/galeon.glade +share/gnome/galeon/logo.png +share/gnome/galeon/preferences.xml +share/gnome/pixmaps/galeon.png +share/gnome/pixmaps/galeon/logo.jpg +share/locale/da/LC_MESSAGES/galeon.mo +share/locale/es/LC_MESSAGES/galeon.mo +share/locale/et/LC_MESSAGES/galeon.mo +share/locale/fr/LC_MESSAGES/galeon.mo +share/locale/it/LC_MESSAGES/galeon.mo +share/locale/ko/LC_MESSAGES/galeon.mo +share/locale/ru/LC_MESSAGES/galeon.mo +share/locale/sv/LC_MESSAGES/galeon.mo +@dirrm share/gnome/pixmaps/galeon +@dirrm share/gnome/galeon |