aboutsummaryrefslogtreecommitdiff
path: root/misc/xfce4-weather-plugin
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-12-14 18:50:06 +0000
committerChris Rees <crees@FreeBSD.org>2011-12-14 18:50:06 +0000
commitd7c930630aef5c0752e76bcbac5ca26ff7914ce0 (patch)
tree31cc679ec4ac869ffd995b761009957e51f0bc13 /misc/xfce4-weather-plugin
parentb2ee47fc2820e375142630edf795276cb1f8542d (diff)
downloadports-d7c930630aef5c0752e76bcbac5ca26ff7914ce0.tar.gz
ports-d7c930630aef5c0752e76bcbac5ca26ff7914ce0.zip
Use alternative data feed service
PR: ports/163189 Submitted by: Olivier Duchateau <duchateau.olivier@gmail.com> Obtained from: https://bugzilla.xfce.org/show_bug.cgi?id=8105#c9
Notes
Notes: svn path=/head/; revision=287384
Diffstat (limited to 'misc/xfce4-weather-plugin')
-rw-r--r--misc/xfce4-weather-plugin/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/misc/xfce4-weather-plugin/Makefile b/misc/xfce4-weather-plugin/Makefile
index ba02858ee426..ca47edc9291a 100644
--- a/misc/xfce4-weather-plugin/Makefile
+++ b/misc/xfce4-weather-plugin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xfce4-weather-plugin
PORTVERSION= 0.7.4
+PORTREVISION= 1
CATEGORIES= misc xfce geography
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
@@ -15,14 +16,18 @@ DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Xfce 4 weather module for xfce4-panel
-IGNORE= free data feed service discontinued
-
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GMAKE= yes
-USE_GNOME= glib20 gtk20 intltool intlhack libxml2 pkgconfig
+USE_GNOME= gnomehack glib20 gtk20 intltool intlhack libxml2 pkgconfig
USE_XFCE= configenv libgui libutil panel
+post-patch:
+# Patch taken from https://bugzilla.xfce.org/show_bug.cgi?id=8105#c9
+ @${REINPLACE_CMD} -e 's|1121946239|1003666583| ; \
+ s|3c4cd39ee5dec84f|4128909340a9b2fc|' \
+ ${WRKSRC}/panel-plugin/weather.h
+
.include <bsd.port.mk>