diff options
Diffstat (limited to 'www/epiphany')
-rw-r--r-- | www/epiphany/Makefile | 95 | ||||
-rw-r--r-- | www/epiphany/distinfo | 2 | ||||
-rw-r--r-- | www/epiphany/files/epiphany | 27 | ||||
-rw-r--r-- | www/epiphany/files/patch-embed_mozilla_Makefile.in | 18 | ||||
-rw-r--r-- | www/epiphany/pkg-descr | 5 | ||||
-rw-r--r-- | www/epiphany/pkg-plist | 190 |
6 files changed, 337 insertions, 0 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile new file mode 100644 index 000000000..c84467a00 --- /dev/null +++ b/www/epiphany/Makefile @@ -0,0 +1,95 @@ +# Ports collection Makefile for: epiphany +# Date created: 24 April 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= epiphany +PORTVERSION= 1.5.1 +CATEGORIES= www gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.5 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An extremely lightweight and simple web browser for GNOME 2 + +BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} +RUN_DEPENDS= ${X11BASE}/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_BZIP2= yes +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui desktopfileutils +USE_LIBTOOL_VER=15 +USE_GMAKE= yes +USE_REINPLACE= yes +INSTALLS_OMF= yes +CONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/mozilla${HEADERS_SUFX}" \ + --with-mozilla-libs="${X11BASE}/lib/${MOZILLA}" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" + +GCONF_SCHEMAS= epiphany-lockdown.schemas epiphany.schemas + +FLASHPLAYER= ${LOCALBASE}/lib/libflashplayer.so.1 +PLIST_SUB+= EPHY_VERSION="${PORTVERSION:C/\.[0-9]+$//}" + +MAN1= epiphany.1 + +.include <bsd.port.pre.mk> + +NO_WERROR= yes +# allow build with more warnings enabled +.if defined(NO_WERROR) +CONFIGURE_ARGS+= --enable-compile-warnings=no +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " By default epiphany 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 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g ; \ + s|mozilla-xpcom|mozilla-xpcom${HEADERS_SUFX}|g ; \ + s|$$MOZILLA-gtkmozembed|$$MOZILLA-gtkmozembed${HEADERS_SUFX}|g ; \ + s|$$MOZILLA-xpcom|$$MOZILLA-xpcom${HEADERS_SUFX}|g' \ + ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|-lpthread|${PTHREAD_LIBS}|g' + @${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|malloc\.h|stdlib.h|g' + +post-configure: + @${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|%%LOCALBASE%%|${LOCALBASE}|g ; \ + s|%%X11BASE%%|${X11BASE}|g ; \ + s|%%MOZILLA%%|${MOZILLA}|g ; \ + s|%%FLASHPLAYER%%|${FLASHPLAYER}|g' <${FILESDIR}/epiphany \ + > ${WRKDIR}/epiphany + +post-install: + @${MV} -f ${PREFIX}/bin/epiphany ${PREFIX}/bin/epiphany-bin + ${INSTALL_SCRIPT} ${WRKDIR}/epiphany ${PREFIX}/bin + +.include <bsd.port.post.mk> diff --git a/www/epiphany/distinfo b/www/epiphany/distinfo new file mode 100644 index 000000000..98808e800 --- /dev/null +++ b/www/epiphany/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/epiphany-1.5.1.tar.bz2) = 591648db430aed2290e26b0693c63cb9 +SIZE (gnome2/epiphany-1.5.1.tar.bz2) = 3411301 diff --git a/www/epiphany/files/epiphany b/www/epiphany/files/epiphany new file mode 100644 index 000000000..504fd0240 --- /dev/null +++ b/www/epiphany/files/epiphany @@ -0,0 +1,27 @@ +#!/bin/sh + +dist_bin=`dirname $0` + +MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%% + +if [ -z "$MOZ_PLUGIN_PATH" ]; then + MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins + export MOZ_PLUGIN_PATH +fi + +if [ -n "$LD_LIBRARY_PATH" ]; then + LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH +else + LD_LIBRARY_PATH=$MOZILLA_HOME +fi +export LD_LIBRARY_PATH + +MOZILLA_FIVE_HOME=$MOZILLA_HOME +export MOZILLA_FIVE_HOME + +if [ -f %%LOCALBASE%%/lib/libflashplayer.so.1 ]; then + LD_PRELOAD=%%LOCALBASE%%/lib/libflashplayer.so.1 + export LD_PRELOAD +fi + +exec "%%PREFIX%%/bin/epiphany-bin" "$@" diff --git a/www/epiphany/files/patch-embed_mozilla_Makefile.in b/www/epiphany/files/patch-embed_mozilla_Makefile.in new file mode 100644 index 000000000..d9be4935d --- /dev/null +++ b/www/epiphany/files/patch-embed_mozilla_Makefile.in @@ -0,0 +1,18 @@ +--- embed/mozilla/Makefile.in.orig Tue Jul 6 18:36:11 2004 ++++ embed/mozilla/Makefile.in Tue Jul 6 18:38:39 2004 +@@ -218,6 +218,7 @@ + -I$(MOZILLA_INCLUDE_ROOT)/docshell \ + -I$(MOZILLA_INCLUDE_ROOT)/dom \ + -I$(MOZILLA_INCLUDE_ROOT)/exthandler \ ++ -I$(MOZILLA_INCLUDE_ROOT)/find \ + -I$(MOZILLA_INCLUDE_ROOT)/gfx \ + -I$(MOZILLA_INCLUDE_ROOT)/helperAppDlg \ + -I$(MOZILLA_INCLUDE_ROOT)/history \ +@@ -228,6 +229,7 @@ + -I$(MOZILLA_INCLUDE_ROOT)/nkcache \ + -I$(MOZILLA_INCLUDE_ROOT)/pipboot \ + -I$(MOZILLA_INCLUDE_ROOT)/pipnss \ ++ -I$(MOZILLA_INCLUDE_ROOT)/pref \ + -I$(MOZILLA_INCLUDE_ROOT)/shistory \ + -I$(MOZILLA_INCLUDE_ROOT)/uriloader \ + -I$(MOZILLA_INCLUDE_ROOT)/uconv \ diff --git a/www/epiphany/pkg-descr b/www/epiphany/pkg-descr new file mode 100644 index 000000000..24a41f93d --- /dev/null +++ b/www/epiphany/pkg-descr @@ -0,0 +1,5 @@ +Epiphany is a web browser designed to be as lightweight and fast as +possible, at the expense of many of the features found in other +browsers. + +WWW: http://epiphany.mozdev.org/ diff --git a/www/epiphany/pkg-plist b/www/epiphany/pkg-plist new file mode 100644 index 000000000..56fbe9050 --- /dev/null +++ b/www/epiphany/pkg-plist @@ -0,0 +1,190 @@ +bin/epiphany +bin/epiphany-bin +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-bookmarks.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-command-manager.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-cookie-manager.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-dialog.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-embed-event.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-embed-factory.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-embed-persist.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-embed-prefs.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-embed-shell.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-embed-single.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-embed.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-encodings.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-extension.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-extensions-manager.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-history.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-loader.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-node-db.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-node.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-notebook.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-password-manager.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-permission-manager.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-session.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-shell.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-state.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-statusbar.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-tab.h +include/epiphany-%%EPHY_VERSION%%/epiphany/ephy-window.h +libdata/bonobo/servers/GNOME_Epiphany_Automation.server +libdata/pkgconfig/epiphany-1.6.pc +%%DOCSDIR%%/EphyCommandManager.html +%%DOCSDIR%%/EphyEmbed.html +%%DOCSDIR%%/EphyEmbedPersist.html +%%DOCSDIR%%/EphyEmbedSingle.html +%%DOCSDIR%%/EphyNodeDb.html +%%DOCSDIR%%/EphyPermissionManager.html +%%DOCSDIR%%/EphyTab.html +%%DOCSDIR%%/EphyWindow.html +%%DOCSDIR%%/ch01.html +%%DOCSDIR%%/ch02.html +%%DOCSDIR%%/epiphany-EphyEmbedFactory.html +%%DOCSDIR%%/epiphany-EphyExtensionsManager.html +%%DOCSDIR%%/epiphany-EphyGlade.html +%%DOCSDIR%%/epiphany-ephy-cookie-manager.html +%%DOCSDIR%%/epiphany-ephy-password-manager.html +%%DOCSDIR%%/epiphany-ephy-session.html +%%DOCSDIR%%/epiphany-ephy-shell.html +%%DOCSDIR%%/epiphany.devhelp +%%DOCSDIR%%/home.png +%%DOCSDIR%%/index.html +%%DOCSDIR%%/index.sgml +%%DOCSDIR%%/left.png +%%DOCSDIR%%/right.png +%%DOCSDIR%%/up.png +share/gnome/application-registry/epiphany.applications +share/gnome/applications/bme.desktop +share/gnome/applications/epiphany.desktop +@exec update-desktop-database > /dev/null || /usr/bin/true +share/gnome/epiphany/art/epiphany-bookmarks.png +share/gnome/epiphany/art/epiphany-close-tab.png +share/gnome/epiphany/art/epiphany-download.png +share/gnome/epiphany/art/epiphany-entry.png +share/gnome/epiphany/art/epiphany-history.png +share/gnome/epiphany/art/epiphany-popup-hidden.png +share/gnome/epiphany/art/hand-open.png +share/gnome/epiphany/conspiracy.xhtml +share/gnome/epiphany/default-prefs.js +share/gnome/epiphany/epiphany-bookmark-editor-ui.xml +share/gnome/epiphany/epiphany-bookmarksbar.xml +share/gnome/epiphany/epiphany-extension.xsd +share/gnome/epiphany/epiphany-fs-toolbar.xml +share/gnome/epiphany/epiphany-history-window-ui.xml +share/gnome/epiphany/epiphany-toolbar.xml +share/gnome/epiphany/epiphany-ui.xml +share/gnome/epiphany/epiphany.xhtml +share/gnome/epiphany/glade/certificate-dialogs.glade +share/gnome/epiphany/glade/epiphany.glade +share/gnome/epiphany/glade/prefs-dialog.glade +share/gnome/epiphany/glade/print.glade +share/gnome/epiphany/mime-types-permissions.xml +share/gnome/help/epiphany/C/epiphany.xml +share/gnome/help/epiphany/C/figures/ephy-addressbar-smartbookmark-screenshot.png +share/gnome/help/epiphany/C/figures/ephy-bookmarkbar-smartbookmark-screenshot.png +share/gnome/help/epiphany/C/figures/ephy-history-window-screenshot.png +share/gnome/help/epiphany/C/figures/ephy-screenshot.png +share/gnome/help/epiphany/C/legal.xml +share/gnome/help/epiphany/es/epiphany.xml +share/gnome/help/epiphany/es/figures/ephy-addressbar-smartbookmark-screenshot.png +share/gnome/help/epiphany/es/figures/ephy-bookmarkbar-smartbookmark-screenshot.png +share/gnome/help/epiphany/es/figures/ephy-history-window-screenshot.png +share/gnome/help/epiphany/es/figures/ephy-screenshot.png +share/gnome/help/epiphany/es/legal.xml +share/gnome/help/epiphany/eu/epiphany.xml +share/gnome/help/epiphany/eu/figures/ephy-history-window-screenshot.png +share/gnome/help/epiphany/eu/figures/ephy-screenshot.png +share/gnome/help/epiphany/eu/legal.xml +share/gnome/help/epiphany/ja/epiphany.xml +share/gnome/help/epiphany/ja/figures/ephy-addressbar-smartbookmark-screenshot.png +share/gnome/help/epiphany/ja/figures/ephy-bookmarkbar-smartbookmark-screenshot.png +share/gnome/help/epiphany/ja/figures/ephy-history-window-screenshot.png +share/gnome/help/epiphany/ja/figures/ephy-screenshot.png +share/gnome/help/epiphany/ja/legal.xml +share/gnome/omf/epiphany/epiphany-C.omf +share/gnome/omf/epiphany/epiphany-es.omf +share/gnome/omf/epiphany/epiphany-eu.omf +share/gnome/omf/epiphany/epiphany-ja.omf +share/gnome/pixmaps/epiphany-bookmarks.png +share/locale/am/LC_MESSAGES/epiphany.mo +share/locale/ar/LC_MESSAGES/epiphany.mo +share/locale/az/LC_MESSAGES/epiphany.mo +share/locale/be/LC_MESSAGES/epiphany.mo +share/locale/bg/LC_MESSAGES/epiphany.mo +share/locale/bn/LC_MESSAGES/epiphany.mo +share/locale/bs/LC_MESSAGES/epiphany.mo +share/locale/ca/LC_MESSAGES/epiphany.mo +share/locale/cs/LC_MESSAGES/epiphany.mo +share/locale/cy/LC_MESSAGES/epiphany.mo +share/locale/da/LC_MESSAGES/epiphany.mo +share/locale/de/LC_MESSAGES/epiphany.mo +share/locale/el/LC_MESSAGES/epiphany.mo +share/locale/en_CA/LC_MESSAGES/epiphany.mo +share/locale/en_GB/LC_MESSAGES/epiphany.mo +share/locale/es/LC_MESSAGES/epiphany.mo +share/locale/et/LC_MESSAGES/epiphany.mo +share/locale/eu/LC_MESSAGES/epiphany.mo +share/locale/fa/LC_MESSAGES/epiphany.mo +share/locale/fi/LC_MESSAGES/epiphany.mo +share/locale/fr/LC_MESSAGES/epiphany.mo +share/locale/ga/LC_MESSAGES/epiphany.mo +share/locale/gu/LC_MESSAGES/epiphany.mo +share/locale/he/LC_MESSAGES/epiphany.mo +share/locale/hi/LC_MESSAGES/epiphany.mo +share/locale/hr/LC_MESSAGES/epiphany.mo +share/locale/hu/LC_MESSAGES/epiphany.mo +share/locale/id/LC_MESSAGES/epiphany.mo +share/locale/is/LC_MESSAGES/epiphany.mo +share/locale/it/LC_MESSAGES/epiphany.mo +share/locale/ja/LC_MESSAGES/epiphany.mo +share/locale/ko/LC_MESSAGES/epiphany.mo +share/locale/li/LC_MESSAGES/epiphany.mo +share/locale/lt/LC_MESSAGES/epiphany.mo +share/locale/mi/LC_MESSAGES/epiphany.mo +share/locale/mk/LC_MESSAGES/epiphany.mo +share/locale/ml/LC_MESSAGES/epiphany.mo +share/locale/mn/LC_MESSAGES/epiphany.mo +share/locale/ms/LC_MESSAGES/epiphany.mo +share/locale/nb/LC_MESSAGES/epiphany.mo +share/locale/ne/LC_MESSAGES/epiphany.mo +share/locale/nl/LC_MESSAGES/epiphany.mo +share/locale/nn/LC_MESSAGES/epiphany.mo +share/locale/no/LC_MESSAGES/epiphany.mo +share/locale/pa/LC_MESSAGES/epiphany.mo +share/locale/pl/LC_MESSAGES/epiphany.mo +share/locale/pt/LC_MESSAGES/epiphany.mo +share/locale/pt_BR/LC_MESSAGES/epiphany.mo +share/locale/ro/LC_MESSAGES/epiphany.mo +share/locale/ru/LC_MESSAGES/epiphany.mo +share/locale/sk/LC_MESSAGES/epiphany.mo +share/locale/sl/LC_MESSAGES/epiphany.mo +share/locale/sq/LC_MESSAGES/epiphany.mo +share/locale/sr/LC_MESSAGES/epiphany.mo +share/locale/sr@Latn/LC_MESSAGES/epiphany.mo +share/locale/sv/LC_MESSAGES/epiphany.mo +share/locale/ta/LC_MESSAGES/epiphany.mo +share/locale/th/LC_MESSAGES/epiphany.mo +share/locale/tk/LC_MESSAGES/epiphany.mo +share/locale/tr/LC_MESSAGES/epiphany.mo +share/locale/uk/LC_MESSAGES/epiphany.mo +share/locale/vi/LC_MESSAGES/epiphany.mo +share/locale/wa/LC_MESSAGES/epiphany.mo +share/locale/zh_CN/LC_MESSAGES/epiphany.mo +share/locale/zh_TW/LC_MESSAGES/epiphany.mo +@dirrm share/gnome/omf/epiphany +@dirrm share/gnome/help/epiphany/ja/figures +@dirrm share/gnome/help/epiphany/ja +@dirrm share/gnome/help/epiphany/eu/figures +@dirrm share/gnome/help/epiphany/eu +@dirrm share/gnome/help/epiphany/es/figures +@dirrm share/gnome/help/epiphany/es +@dirrm share/gnome/help/epiphany/C/figures +@dirrm share/gnome/help/epiphany/C +@dirrm share/gnome/help/epiphany +@dirrm share/gnome/epiphany/glade +@dirrm share/gnome/epiphany/art +@dirrm share/gnome/epiphany +@dirrm %%DOCSDIR%% +@dirrm include/epiphany-%%EPHY_VERSION%%/epiphany +@dirrm include/epiphany-%%EPHY_VERSION%% +@unexec update-desktop-database > /dev/null || /usr/bin/true |