aboutsummaryrefslogtreecommitdiff
path: root/ftp/gwget
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/gwget')
-rw-r--r--ftp/gwget/Makefile4
-rw-r--r--ftp/gwget/files/patch-configure24
2 files changed, 26 insertions, 2 deletions
diff --git a/ftp/gwget/Makefile b/ftp/gwget/Makefile
index b465c63bc1cb..bea1d3f4c997 100644
--- a/ftp/gwget/Makefile
+++ b/ftp/gwget/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gwget
PORTVERSION= 1.0.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= ftp gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -46,7 +46,7 @@ CONFIGURE_ARGS+= --disable-libnotify
BUILD_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany
RUN_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany
CONFIGURE_ARGS+= --enable-epiphany-extension
-PLIST_SUB+= EPIPHANY="" EPHY_VERSION="2.28"
+PLIST_SUB+= EPIPHANY="" EPHY_VERSION="2.30"
.else
CONFIGURE_ARGS+= --disable-epiphany-extension
PLIST_SUB+= EPIPHANY="@comment "
diff --git a/ftp/gwget/files/patch-configure b/ftp/gwget/files/patch-configure
new file mode 100644
index 000000000000..907d6f0fa894
--- /dev/null
+++ b/ftp/gwget/files/patch-configure
@@ -0,0 +1,24 @@
+--- configure.orig 2010-04-07 13:02:54.000000000 +0200
++++ configure 2010-04-07 13:03:27.000000000 +0200
+@@ -14382,7 +14382,9 @@
+
+
+ EPHY_AUTODETECT="(autodetect)"
+-if pkg-config --exists epiphany-2.28; then
++if pkg-config --exists epiphany-2.30; then
++ EPHY_VER=2.30
++elif pkg-config --exists epiphany-2.28; then
+ EPHY_VER=2.28
+ elif pkg-config --exists epiphany-2.27; then
+ EPHY_VER=2.27
+@@ -14509,6 +14511,10 @@
+ EPIPHANY_PKGCONFIG=epiphany-2.28
+ EPIPHANY_REQUIRED=2.28
+ EPIPHANY_SHORTVER=228
++elif test "x$EPHY_VER" = "x2.30"; then
++ EPIPHANY_PKGCONFIG=epiphany-2.30
++ EPIPHANY_REQUIRED=2.30
++ EPIPHANY_SHORTVER=230
+ else
+ { echo "$as_me:$LINENO: result: no epiphany installed" >&5
+ echo "${ECHO_T}no epiphany installed" >&6; }