From dd9f21295476b8efbcc0b4e207b5eefd86ef8f5c Mon Sep 17 00:00:00 2001 From: Olivier Duchateau Date: Tue, 17 Jul 2012 21:41:19 +0000 Subject: [PATCH] - Update to 1.0.5 - Convert to new options framework Submitted by: myself Approved by: miwi, rene (mentors) --- sysutils/xfce4-cpugraph-plugin/Makefile | 12 ++++++------ sysutils/xfce4-cpugraph-plugin/distinfo | 4 ++-- sysutils/xfce4-cpugraph-plugin/pkg-plist | 1 + 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/sysutils/xfce4-cpugraph-plugin/Makefile b/sysutils/xfce4-cpugraph-plugin/Makefile index 4f1f858acf99..fa2da92245fd 100644 --- a/sysutils/xfce4-cpugraph-plugin/Makefile +++ b/sysutils/xfce4-cpugraph-plugin/Makefile @@ -6,8 +6,7 @@ # PORTNAME= xfce4-cpugraph-plugin -PORTVERSION= 1.0.2 -PORTREVISION= 1 +PORTVERSION= 1.0.5 CATEGORIES= sysutils xfce MASTER_SITES= ${MASTER_SITE_XFCE} MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R} @@ -23,11 +22,12 @@ USE_GNOME= gnomehack gtk20 intltool intlhack pkgconfig USE_XFCE= configenv libmenu panel INSTALLS_ICONS= yes -OPTIONS= NLS "Enable Native Language Support" on +OPTIONS_DEFINE= NLS +OPTIONS_DEFAULT= NLS -.include +.include -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes CONFIGURE_ARGS+=--enable-nls PLIST_SUB+= NLS="" @@ -36,4 +36,4 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -.include +.include diff --git a/sysutils/xfce4-cpugraph-plugin/distinfo b/sysutils/xfce4-cpugraph-plugin/distinfo index 4f899f3467db..62f3088b1058 100644 --- a/sysutils/xfce4-cpugraph-plugin/distinfo +++ b/sysutils/xfce4-cpugraph-plugin/distinfo @@ -1,2 +1,2 @@ -SHA256 (xfce4/xfce4-cpugraph-plugin-1.0.2.tar.bz2) = b535a9c3d105c0d1597fa4071fe140912bb483c4401c84ad178531fc85de0577 -SIZE (xfce4/xfce4-cpugraph-plugin-1.0.2.tar.bz2) = 324877 +SHA256 (xfce4/xfce4-cpugraph-plugin-1.0.5.tar.bz2) = 85da0ec89aacfd31e0bbafcefea37cdca618d62e681c1c9da8bdd492f028f4c7 +SIZE (xfce4/xfce4-cpugraph-plugin-1.0.5.tar.bz2) = 328972 diff --git a/sysutils/xfce4-cpugraph-plugin/pkg-plist b/sysutils/xfce4-cpugraph-plugin/pkg-plist index 912f36458322..df679b0ece08 100644 --- a/sysutils/xfce4-cpugraph-plugin/pkg-plist +++ b/sysutils/xfce4-cpugraph-plugin/pkg-plist @@ -14,6 +14,7 @@ lib/xfce4/panel/plugins/libcpugraph.so %%NLS%%share/locale/fi/LC_MESSAGES/xfce4-cpugraph-plugin.mo %%NLS%%share/locale/fr/LC_MESSAGES/xfce4-cpugraph-plugin.mo %%NLS%%share/locale/gl/LC_MESSAGES/xfce4-cpugraph-plugin.mo +%%NLS%%share/locale/hr/LC_MESSAGES/xfce4-cpugraph-plugin.mo %%NLS%%share/locale/hu/LC_MESSAGES/xfce4-cpugraph-plugin.mo %%NLS%%share/locale/id/LC_MESSAGES/xfce4-cpugraph-plugin.mo %%NLS%%share/locale/it/LC_MESSAGES/xfce4-cpugraph-plugin.mo