pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/epiphany add webkit option, fix plist, bump pkgrev...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32bb419cf26a
branches:  trunk
changeset: 551291:32bb419cf26a
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Fri Dec 12 01:27:24 2008 +0000

description:
add webkit option, fix plist, bump pkgrevision

diffstat:

 www/epiphany/Makefile   |  14 ++------------
 www/epiphany/PLIST      |  23 +++++++----------------
 www/epiphany/options.mk |  31 +++++++++++++++++++++++++++----
 3 files changed, 36 insertions(+), 32 deletions(-)

diffs (132 lines):

diff -r f36312f35e44 -r 32bb419cf26a www/epiphany/Makefile
--- a/www/epiphany/Makefile     Fri Dec 12 01:10:54 2008 +0000
+++ b/www/epiphany/Makefile     Fri Dec 12 01:27:24 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.89 2008/12/02 12:30:13 wiz Exp $
+# $NetBSD: Makefile,v 1.90 2008/12/12 01:27:24 jmcneill Exp $
 #
 
 DISTNAME=      epiphany-2.24.2.1
+PKGREVISION=   1
 CATEGORIES=    www gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/epiphany/2.24/}
 EXTRACT_SUFX=  .tar.bz2
@@ -23,16 +24,6 @@
 
 .include "options.mk"
 
-CPPFLAGS+=      -I${BUILDLINK_PREFIX.firefox}/include/firefox/find
-CFLAGS+=        -I${BUILDLINK_PREFIX.firefox}/include/firefox/find
-CPPFLAGS+=      -I${BUILDLINK_PREFIX.firefox}/include/firefox/necko
-CFLAGS+=        -I${BUILDLINK_PREFIX.firefox}/include/firefox/necko
-CPPFLAGS+=      -I${BUILDLINK_PREFIX.firefox}/include/firefox/pref
-CFLAGS+=        -I${BUILDLINK_PREFIX.firefox}/include/firefox/pref
-
-# XXX the configure check doesn't work
-CONFIGURE_ENV+=        ac_cv_header_nsIBadCertListener_h=yes
-
 GCONF_SCHEMAS=         epiphany.schemas
 GCONF_SCHEMAS+=        epiphany-fonts.schemas
 GCONF_SCHEMAS+=        epiphany-lockdown.schemas
@@ -61,7 +52,6 @@
 BUILDLINK_API_DEPENDS.libxml2+=                libxml2>=2.6.12
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../textproc/libxslt/buildlink3.mk"
-.include "../../www/firefox/buildlink3.mk"
 .include "../../x11/gnome-desktop/buildlink3.mk"
 BUILDLINK_API_DEPENDS.gtk2+=           gtk2+>=2.14.0
 .include "../../x11/gtk2/buildlink3.mk"
diff -r f36312f35e44 -r 32bb419cf26a www/epiphany/PLIST
--- a/www/epiphany/PLIST        Fri Dec 12 01:10:54 2008 +0000
+++ b/www/epiphany/PLIST        Fri Dec 12 01:27:24 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2008/12/02 12:30:13 wiz Exp $
+@comment $NetBSD: PLIST,v 1.32 2008/12/12 01:27:24 jmcneill Exp $
 bin/epiphany
 include/epiphany/2.24/epiphany/ephy-adblock-manager.h
 include/epiphany/2.24/epiphany/ephy-adblock.h
@@ -38,9 +38,9 @@
 include/epiphany/2.24/epiphany/ephy-type-builtins.h
 include/epiphany/2.24/epiphany/ephy-version.h
 include/epiphany/2.24/epiphany/ephy-window.h
-lib/epiphany/2.24/plugins/libdesktopfileplugin.a
-lib/epiphany/2.24/plugins/libdesktopfileplugin.la
-lib/epiphany/2.24/plugins/libdesktopfileplugin.so
+${PLIST.gecko}lib/epiphany/2.24/plugins/libdesktopfileplugin.a
+${PLIST.gecko}lib/epiphany/2.24/plugins/libdesktopfileplugin.la
+${PLIST.gecko}lib/epiphany/2.24/plugins/libdesktopfileplugin.so
 lib/pkgconfig/epiphany-2.24.pc
 man/man1/epiphany.1
 share/aclocal/epiphany.m4
@@ -342,15 +342,6 @@
 @comment in hicolor-icon-theme: @dirrm share/icons/hicolor/22x22/apps
 @comment in hicolor-icon-theme: @dirrm share/icons/hicolor/16x16/apps
 @comment in hicolor-icon-theme: @dirrm share/icons/hicolor
-@dirrm share/icons/LowContrastLargePrint/48x48/apps
-@dirrm share/icons/LowContrastLargePrint/48x48
-@dirrm share/icons/LowContrastLargePrint
-@dirrm share/icons/HighContrastLargePrintInverse/48x48/apps
-@dirrm share/icons/HighContrastLargePrintInverse/48x48
-@dirrm share/icons/HighContrastLargePrintInverse
-@dirrm share/icons/HighContrastLargePrint/48x48/apps
-@dirrm share/icons/HighContrastLargePrint/48x48
-@dirrm share/icons/HighContrastLargePrint
 @comment in xdg-dirs: @dirrm share/icons
 @dirrm share/gtk-doc/html/epiphany
 @dirrm share/gnome/help/epiphany/uk/figures
@@ -423,9 +414,9 @@
 @dirrm share/epiphany
 @comment in dbus: @dirrm share/dbus-1/services
 @comment in xdg-dirs: @dirrm share/applications
-@dirrm lib/epiphany/2.24/plugins
-@dirrm lib/epiphany/2.24
-@dirrm lib/epiphany
+${PLIST.gecko}@dirrm lib/epiphany/2.24/plugins
+${PLIST.gecko}@dirrm lib/epiphany/2.24
+${PLIST.gecko}@dirrm lib/epiphany
 @dirrm include/epiphany/2.24/epiphany
 @dirrm include/epiphany/2.24
 @dirrm include/epiphany
diff -r f36312f35e44 -r 32bb419cf26a www/epiphany/options.mk
--- a/www/epiphany/options.mk   Fri Dec 12 01:10:54 2008 +0000
+++ b/www/epiphany/options.mk   Fri Dec 12 01:27:24 2008 +0000
@@ -1,8 +1,11 @@
-# $NetBSD: options.mk,v 1.2 2008/10/25 11:15:16 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2008/12/12 01:27:24 jmcneill Exp $
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.epiphany
-PKG_SUPPORTED_OPTIONS= enchant # avahi
-PKG_SUGGESTED_OPTIONS= enchant
+PKG_OPTIONS_VAR=               PKG_OPTIONS.epiphany
+PKG_SUPPORTED_OPTIONS=         enchant # avahi
+PKG_OPTIONS_OPTIONAL_GROUPS=   engine
+PKG_OPTIONS_GROUP.engine=      firefox webkit
+PKG_SUGGESTED_OPTIONS=         enchant firefox
+PLIST_VARS=                    gecko
 
 .include "../../mk/bsd.options.mk"
 
@@ -10,3 +13,23 @@
 CONFIGURE_ARGS+=       --enable-spell-checker
 .include "../../textproc/enchant/buildlink3.mk"
 .endif
+
+.if !empty(PKG_OPTIONS:Mfirefox)
+CPPFLAGS+=     -I${BUILDLINK_PREFIX.firefox}/include/firefox/find
+CFLAGS+=       -I${BUILDLINK_PREFIX.firefox}/include/firefox/find
+CPPFLAGS+=     -I${BUILDLINK_PREFIX.firefox}/include/firefox/necko
+CFLAGS+=       -I${BUILDLINK_PREFIX.firefox}/include/firefox/necko
+CPPFLAGS+=     -I${BUILDLINK_PREFIX.firefox}/include/firefox/pref
+CFLAGS+=       -I${BUILDLINK_PREFIX.firefox}/include/firefox/pref
+# XXX the configure check doesn't work
+CONFIGURE_ENV+=        ac_cv_header_nsIBadCertListener_h=yes
+CONFIGURE_ARGS+=       --with-engine=mozilla
+CONFIGURE_ARGS+=       --with-gecko=firefox
+PLIST.gecko=   yes
+.include "../../www/firefox/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mwebkit)
+CONFIGURE_ARGS+=       --with-engine=webkit
+.include "../../www/webkit-gtk/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index