diff options
-rw-r--r-- | www/epiphany-extensions/Makefile | 102 | ||||
-rw-r--r-- | www/epiphany-extensions/distinfo | 2 | ||||
-rw-r--r-- | www/epiphany-extensions/files/patch-configure | 13 | ||||
-rw-r--r-- | www/epiphany-extensions/pkg-descr | 9 | ||||
-rw-r--r-- | www/epiphany-extensions/pkg-plist | 77 |
5 files changed, 203 insertions, 0 deletions
diff --git a/www/epiphany-extensions/Makefile b/www/epiphany-extensions/Makefile new file mode 100644 index 000000000..b571306ba --- /dev/null +++ b/www/epiphany-extensions/Makefile @@ -0,0 +1,102 @@ +# Ports collection Makefile for: epiphany-extensions +# Date created: 30 December 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= epiphany +PORTVERSION= 1.7.1 +CATEGORIES= www gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}${PKGNAMESUFFIX}/1.7 +PKGNAMESUFFIX= -extensions +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A set of add-ons for the Epiphany web browser + +BUILD_DEPENDS= epiphany:${PORTSDIR}/www/epiphany \ + ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} +RUN_DEPENDS= epiphany:${PORTSDIR}/www/epiphany \ + ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} + +MOZILLA= mozilla +HEADERS_SUFX= +MOZ_BUILD= mozilla + +.if !defined(WITH_MOZILLA) +MOZILLA= mozilla +HEADERS_SUFX= +.else +.if ${WITH_MOZILLA}=="firefox" +MOZILLA= firefox +MOZ_BUILD= firefox +.else +.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2" +MOZILLA= mozilla-devel +HEADERS_SUFX= -devel +.else +MOZILLA= mozilla +HEADERS_SUFX= +.endif +.endif +.endif + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix gnomehack intlhack gnometarget +USE_LIBTOOL_VER=15 +USE_GMAKE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +CONFIGURE_ARGS= --with-extensions="all" \ + --with-mozilla=${MOZ_BUILD} + +PLIST_SUB= VERSION="1.7" EPHY_VERSION="1.8" + +.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD) +.undef WITHOUT_OPENSP +WITH_OPENSP= yes +.endif + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/libosp.so) +WITH_OPENSP= yes +.endif + +.if defined(WITH_OPENSP) +CONFIGURE_ARGS+= --enable-opensp=yes +.else +CONFIGURE_ARGS+= --disable-opensp +.endif + +.if ${OSVERSION} < 500000 +.if ${MOZILLA}=="mozilla-devel" +USE_GCC= 3.4 +.endif +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " By default epiphany-extensions builds with www/mozilla support, but you can" + @${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:" + @${ECHO_MSG} + @${ECHO_MSG} " firefox " + @${ECHO_MSG} " mozilla-devel " + @${ECHO_MSG} "" + @${ECHO_MSG} "Epiphany-extensions also supports the following tunable option(s):" + @${ECHO_MSG} " WITH_OPENSP=yes Enable support for OpenSP SGML validation" + @${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 + +.include <bsd.port.post.mk> diff --git a/www/epiphany-extensions/distinfo b/www/epiphany-extensions/distinfo new file mode 100644 index 000000000..ddd64998a --- /dev/null +++ b/www/epiphany-extensions/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/epiphany-extensions-1.7.1.tar.bz2) = cd1bf1630ee453a08543f4e52060c75c +SIZE (gnome2/epiphany-extensions-1.7.1.tar.bz2) = 581360 diff --git a/www/epiphany-extensions/files/patch-configure b/www/epiphany-extensions/files/patch-configure new file mode 100644 index 000000000..2611517cb --- /dev/null +++ b/www/epiphany-extensions/files/patch-configure @@ -0,0 +1,13 @@ +--- configure.orig Wed Jul 7 14:09:38 2004 ++++ configure Wed Jul 7 14:10:16 2004 +@@ -22050,6 +22050,10 @@ + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_c_compiler_gnu ++else ++ ++ HAVE_OPENSP_TRUE='#' ++ HAVE_OPENSP_FALSE= + + fi + diff --git a/www/epiphany-extensions/pkg-descr b/www/epiphany-extensions/pkg-descr new file mode 100644 index 000000000..220193f34 --- /dev/null +++ b/www/epiphany-extensions/pkg-descr @@ -0,0 +1,9 @@ +Epiphany-extensions is a set of plugins for the Epiphany web browser that +extend its base functionality. Currently, the following extensions are +supported: + +* Mouse gestures +* Pop-up blocker +* Tabs menu + +WWW: http://savannah.nongnu.org/projects/ephyplugins/ diff --git a/www/epiphany-extensions/pkg-plist b/www/epiphany-extensions/pkg-plist new file mode 100644 index 000000000..e4d9a5531 --- /dev/null +++ b/www/epiphany-extensions/pkg-plist @@ -0,0 +1,77 @@ +lib/epiphany/%%VERSION%%/extensions/actions.xml +lib/epiphany/%%VERSION%%/extensions/bookmarks-tray.xml +lib/epiphany/%%VERSION%%/extensions/certificates.xml +lib/epiphany/%%VERSION%%/extensions/dashboard.xml +lib/epiphany/%%VERSION%%/extensions/error-viewer.xml +lib/epiphany/%%VERSION%%/extensions/extensions-manager-ui.xml +lib/epiphany/%%VERSION%%/extensions/gestures.xml +lib/epiphany/%%VERSION%%/extensions/libactionsextension.a +lib/epiphany/%%VERSION%%/extensions/libactionsextension.so +lib/epiphany/%%VERSION%%/extensions/libactionsextension.so.0 +lib/epiphany/%%VERSION%%/extensions/libbookmarkstrayextension.so +lib/epiphany/%%VERSION%%/extensions/libcertificatesextension.so +lib/epiphany/%%VERSION%%/extensions/libdashboardextension.so +lib/epiphany/%%VERSION%%/extensions/liberrorviewerextension.so +lib/epiphany/%%VERSION%%/extensions/libextensionsmanageruiextension.so +lib/epiphany/%%VERSION%%/extensions/libgesturesextension.so +lib/epiphany/%%VERSION%%/extensions/libpageinfoextension.so +lib/epiphany/%%VERSION%%/extensions/libselectstylesheetextension.so +lib/epiphany/%%VERSION%%/extensions/libsidebarextension.so +lib/epiphany/%%VERSION%%/extensions/libsmartbookmarksextension.so +lib/epiphany/%%VERSION%%/extensions/libtabgroupsextension.so +lib/epiphany/%%VERSION%%/extensions/libtabstatesextension.a +lib/epiphany/%%VERSION%%/extensions/libtabstatesextension.so +lib/epiphany/%%VERSION%%/extensions/libtabstatesextension.so.0 +lib/epiphany/%%VERSION%%/extensions/page-info.xml +lib/epiphany/%%VERSION%%/extensions/select-stylesheet.xml +lib/epiphany/%%VERSION%%/extensions/sidebar.xml +lib/epiphany/%%VERSION%%/extensions/smart-bookmarks.xml +lib/epiphany/%%VERSION%%/extensions/tab-groups.xml +lib/epiphany/%%VERSION%%/extensions/tab-states.xml +share/gnome/epiphany-extensions/ephy-gestures.xml +share/gnome/epiphany-extensions/glade/action-properties.glade +share/gnome/epiphany-extensions/glade/actions-editor.glade +share/gnome/epiphany-extensions/glade/error-viewer.glade +share/gnome/epiphany-extensions/glade/extensions-manager-ui.glade +share/gnome/epiphany-extensions/glade/page-info.glade +share/gnome/epiphany-extensions/xml/ephy-bookmarks-tray-ui.xml +share/gnome/epiphany-extensions/xml/epiphany-sidebar-ui.xml +share/gnome/epiphany-extensions/xml/page-info-context-ui.xml +share/locale/bg/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/ca/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/cs/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/da/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/de/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/el/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/en_CA/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/es/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/fi/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/fr/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/hr/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/hu/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/it/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/ja/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/ko/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/lt/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/nl/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/no/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/pa/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/pl/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/pt/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/pt_BR/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/ru/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/rw/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/sk/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/sq/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/sr/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/sr@Latn/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/sv/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/uk/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/wa/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +share/locale/zh_CN/LC_MESSAGES/epiphany-extensions-%%EPHY_VERSION%%.mo +@dirrm share/gnome/epiphany-extensions/xml +@dirrm share/gnome/epiphany-extensions/glade +@dirrm share/gnome/epiphany-extensions +@unexec rmdir %D/lib/epiphany/%%VERSION%%/extensions 2>/dev/null || true +@unexec rmdir %D/lib/epiphany/%%VERSION%% 2>/dev/null || true
\ No newline at end of file |