diff options
Diffstat (limited to 'www/epiphany')
-rw-r--r-- | www/epiphany/Makefile | 47 | ||||
-rw-r--r-- | www/epiphany/distinfo | 6 | ||||
-rw-r--r-- | www/epiphany/files/patch-src_bookmarks_ephy-bookmarks.c | 14 | ||||
-rw-r--r-- | www/epiphany/pkg-plist | 59 |
4 files changed, 78 insertions, 48 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile index 01bbd39f07de..86c0768bd03a 100644 --- a/www/epiphany/Makefile +++ b/www/epiphany/Makefile @@ -3,66 +3,85 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/www/epiphany/Makefile,v 1.84 2005/10/02 23:28:19 marcus Exp $ +# $MCom: ports/www/epiphany/Makefile,v 1.112 2006/04/13 07:52:38 bland Exp $ # PORTNAME= epiphany -PORTVERSION= 1.8.5 +PORTVERSION= 2.14.1 CATEGORIES= www gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.8 +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= An extremely lightweight and simple web browser for GNOME 2 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes +LIB_DEPENDS= dbus-1.2:${PORTSDIR}/devel/dbus RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes +USE_GETTEXT= yes USE_BZIP2= yes USE_X_PREFIX= yes +USE_PYTHON= yes GNOME_DESKTOP_VERSION=2 USE_GECKO= firefox mozilla seamonkey USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop desktopfileutils \ libgnomeprintui +WANT_GNOME= yes GNU_CONFIGURE= yes USE_GMAKE= yes -USE_REINPLACE= yes INSTALLS_OMF= yes -CONFIGURE_ARGS= --with-mozilla=${GECKO} \ - --disable-python +CONFIGURE_ARGS= --with-mozilla=${GECKO} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -GCONF_SCHEMAS= epiphany-lockdown.schemas epiphany.schemas +GCONF_SCHEMAS= epiphany-lockdown.schemas epiphany.schemas \ + epiphany-fonts.schemas epiphany-pango.schemas -FLASHPLAYER= ${LOCALBASE}/lib/libflashplayer.so.1 -PLIST_SUB+= EPHY_VERSION="1.8" +PLIST_SUB+= EPHY_VERSION="${PORTVERSION:C/\.[0-9]+$//}" \ + EPHY_PREFIX="${PREFIX}" MAN1= epiphany.1 +.if defined(PACKAGE_BUILDING) +.undef WITHOUT_GNOME +WITH_GNOME= yes +.endif + .include <bsd.port.pre.mk> .include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk" -.if ${OSVERSION} < 500000 -IGNORE= does not build on 4.X -.endif - NO_WERROR= yes # allow build with more warnings enabled .if defined(NO_WERROR) CONFIGURE_ARGS+= --enable-compile-warnings=no .endif +.if ${HAVE_GNOME:Mpygnome2}!="" +USE_PYTHON= yes +.include "${PORTSDIR}/Mk/bsd.python.mk" +USE_GNOME+= pygnome2 +CONFIGURE_ARGS+=--enable-python +PLIST_SUB+= PYTHON="" +.else +CONFIGURE_ARGS+=--disable-python +PLIST_SUB+= PYTHON="@comment " +.endif + post-patch: @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-lpthread|${PTHREAD_LIBS}|g' @${REINPLACE_CMD} -e 's|execinfo.h|#|g' \ ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/lib/mozilla/plugins|/lib/browser_plugins:${X11BASE}/lib/browser_linux_plugins|' \ + @${REINPLACE_CMD} -e 's|/lib/mozilla/plugins"|/lib/browser_plugins" ":" MOZILLA_PREFIX "/lib/browser_linux_plugins"|' \ ${WRKSRC}/embed/mozilla/mozilla-embed-single.cpp + @${REINPLACE_CMD} -e 's|[$$](datadir)/pygtk/2.0/defs|${LOCALBASE}/share/pygtk/2.0/defs|' \ + ${WRKSRC}/src/Makefile.in post-install: + ${INSTALL_DATA} ${WRKSRC}/data/epiphany-fonts.schemas \ + ${PREFIX}/etc/gconf/schemas @-update-desktop-database .include <bsd.port.post.mk> diff --git a/www/epiphany/distinfo b/www/epiphany/distinfo index a325c9eeee9e..a9a5409eca81 100644 --- a/www/epiphany/distinfo +++ b/www/epiphany/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/epiphany-1.8.5.tar.bz2) = 1acd61200098f03357fb6b44ef16b9c6 -SHA256 (gnome2/epiphany-1.8.5.tar.bz2) = 342b2771ae310815a803fefac8bfb7d1b9f80f4345240e09b2d6d848276e2b41 -SIZE (gnome2/epiphany-1.8.5.tar.bz2) = 3365521 +MD5 (gnome2/epiphany-2.14.1.tar.bz2) = 69f9760646b736d953f24442e0e38f7b +SHA256 (gnome2/epiphany-2.14.1.tar.bz2) = 4eb5f8f8dacc81f47c54e3a579af3059cca3a7fa59d6cc270ed5b50d0b6a37a2 +SIZE (gnome2/epiphany-2.14.1.tar.bz2) = 3520979 diff --git a/www/epiphany/files/patch-src_bookmarks_ephy-bookmarks.c b/www/epiphany/files/patch-src_bookmarks_ephy-bookmarks.c new file mode 100644 index 000000000000..146b9e594529 --- /dev/null +++ b/www/epiphany/files/patch-src_bookmarks_ephy-bookmarks.c @@ -0,0 +1,14 @@ +--- src/bookmarks/ephy-bookmarks.c.orig Sat Apr 15 04:11:39 2006 ++++ src/bookmarks/ephy-bookmarks.c Sat Apr 15 04:13:43 2006 +@@ -92,7 +92,10 @@ static const EphyBookmarksBookmarkInfo d + * For instance in .nl these should be + * "http://www.google.nl" and "http://www.google.nl/search?q=%s" + */ +- { N_("Search the web"), N_("http://www.google.com/search?q=%s&ie=UTF-8&oe=UTF-8") } ++ { N_("Search the web"), N_("http://www.google.com/search?q=%s&ie=UTF-8&oe=UTF-8") }, ++ { N_("The FreeBSD Project"), N_("http://www.freebsd.org/") }, ++ { N_("Daemon News"), N_("http://daemonnews.org/") }, ++ { N_("BSD News"), N_("http://bsdnews.com/") } + }; + + static const char *default_topics [] = diff --git a/www/epiphany/pkg-plist b/www/epiphany/pkg-plist index 099bc7b45aa7..0b2ebe191533 100644 --- a/www/epiphany/pkg-plist +++ b/www/epiphany/pkg-plist @@ -1,8 +1,11 @@ bin/epiphany +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-adblock-manager.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-adblock.h include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-bookmarks-type-builtins.h 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-dbus.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 @@ -30,53 +33,28 @@ include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-statusbar.h include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-tab.h include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-type-builtins.h include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-window.h -libdata/bonobo/servers/GNOME_Epiphany_Automation.server -libdata/pkgconfig/epiphany-1.8.pc -%%DOCSDIR%%/EphyCommandManager.html -%%DOCSDIR%%/EphyEmbed.html -%%DOCSDIR%%/EphyNodeDb.html -%%DOCSDIR%%/EphyTab.html -%%DOCSDIR%%/EphyWindow.html -%%DOCSDIR%%/ch01.html -%%DOCSDIR%%/ch02.html -%%DOCSDIR%%/epiphany-EphyEmbedFactory.html -%%DOCSDIR%%/epiphany-EphyEmbedPersist.html -%%DOCSDIR%%/epiphany-EphyEmbedSingle.html -%%DOCSDIR%%/epiphany-EphyExtensionsManager.html -%%DOCSDIR%%/epiphany-EphyGlade.html -%%DOCSDIR%%/epiphany-EphyPermissionManager.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%%/style.css -%%DOCSDIR%%/up.png -share/gnome/application-registry/epiphany.applications +lib/epiphany/%%EPHY_VERSION%%/plugins/libdesktopfileplugin.la +lib/epiphany/%%EPHY_VERSION%%/plugins/libdesktopfileplugin.so +libdata/pkgconfig/epiphany-%%EPHY_VERSION%%.pc +share/aclocal/epiphany.m4 +share/dbus-1/services/org.gnome.Epiphany.service share/gnome/applications/bme.desktop share/gnome/applications/epiphany.desktop @exec %%LOCALBASE%%/bin/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/chrome/branding/brand.dtd share/gnome/epiphany/chrome/branding/brand.properties share/gnome/epiphany/chrome/epiphany.manifest share/gnome/epiphany/chrome/global/about.xhtml share/gnome/epiphany/default-prefs.js +share/gnome/epiphany/ephy-xml2ini.xsl share/gnome/epiphany/epiphany-bookmark-editor-ui.xml share/gnome/epiphany/epiphany-bookmarks-html.xsl 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 @@ -93,6 +71,11 @@ share/gnome/help/epiphany/C/figures/ephy-bookmarkbar-smartbookmark-screenshot.pn 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/bg/epiphany.xml +share/gnome/help/epiphany/bg/figures/ephy-addressbar-smartbookmark-screenshot.png +share/gnome/help/epiphany/bg/figures/ephy-bookmarkbar-smartbookmark-screenshot.png +share/gnome/help/epiphany/bg/figures/ephy-history-window-screenshot.png +share/gnome/help/epiphany/bg/figures/ephy-screenshot.png share/gnome/help/epiphany/el/epiphany.xml share/gnome/help/epiphany/el/figures/ephy-addressbar-smartbookmark-screenshot.png share/gnome/help/epiphany/el/figures/ephy-bookmarkbar-smartbookmark-screenshot.png @@ -129,6 +112,7 @@ share/gnome/help/epiphany/uk/figures/ephy-bookmarkbar-smartbookmark-screenshot.p share/gnome/help/epiphany/uk/figures/ephy-history-window-screenshot.png share/gnome/help/epiphany/uk/figures/ephy-screenshot.png share/gnome/omf/epiphany/epiphany-C.omf +share/gnome/omf/epiphany/epiphany-bg.omf share/gnome/omf/epiphany/epiphany-el.omf share/gnome/omf/epiphany/epiphany-es.omf share/gnome/omf/epiphany/epiphany-eu.omf @@ -143,12 +127,14 @@ 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/br/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/dz/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 @@ -169,6 +155,7 @@ 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/ka/LC_MESSAGES/epiphany.mo share/locale/ko/LC_MESSAGES/epiphany.mo share/locale/ku/LC_MESSAGES/epiphany.mo share/locale/li/LC_MESSAGES/epiphany.mo @@ -209,6 +196,8 @@ share/locale/zh_HK/LC_MESSAGES/epiphany.mo share/locale/zh_TW/LC_MESSAGES/epiphany.mo @dirrmtry share/locale/zh_HK/LC_MESSAGES @dirrmtry share/locale/zh_HK +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz @dirrm share/gnome/omf/epiphany @dirrm share/gnome/help/epiphany/uk/figures @dirrm share/gnome/help/epiphany/uk @@ -224,6 +213,8 @@ share/locale/zh_TW/LC_MESSAGES/epiphany.mo @dirrm share/gnome/help/epiphany/es @dirrm share/gnome/help/epiphany/el/figures @dirrm share/gnome/help/epiphany/el +@dirrm share/gnome/help/epiphany/bg/figures +@dirrm share/gnome/help/epiphany/bg @dirrm share/gnome/help/epiphany/C/figures @dirrm share/gnome/help/epiphany/C @dirrm share/gnome/help/epiphany @@ -234,7 +225,13 @@ share/locale/zh_TW/LC_MESSAGES/epiphany.mo @dirrm share/gnome/epiphany/art @dirrm share/gnome/epiphany @dirrm %%DOCSDIR%% +@dirrmtry lib/epiphany/%%EPHY_VERSION%%/plugins +@dirrmtry lib/epiphany/%%EPHY_VERSION%% +@dirrmtry lib/epiphany @dirrm include/epiphany/%%EPHY_VERSION%%/epiphany @dirrm include/epiphany/%%EPHY_VERSION%% @dirrm include/epiphany @unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +%%PYTHON%%@cwd %%LOCALBASE%% +%%PYTHON%%share/pygtk/2.0/defs/epiphany.defs +%%PYTHON%%@cwd %%EPHY_PREFIX%% |