diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2012-08-09 17:43:27 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2012-08-09 17:43:27 +0000 |
commit | 4767be8ae29a16c4f26b9472a3a1e900cf27e057 (patch) | |
tree | 86d8dc58c2ba69f0b91088e237af526d82f0ccbe /sysutils/xfce4-netload-plugin | |
parent | fb5a3f46c477cbb98747e9287adaccf12dbb8f8b (diff) | |
download | ports-4767be8ae29a16c4f26b9472a3a1e900cf27e057.tar.gz ports-4767be8ae29a16c4f26b9472a3a1e900cf27e057.zip |
Notes
Diffstat (limited to 'sysutils/xfce4-netload-plugin')
-rw-r--r-- | sysutils/xfce4-netload-plugin/Makefile | 22 | ||||
-rw-r--r-- | sysutils/xfce4-netload-plugin/distinfo | 4 | ||||
-rw-r--r-- | sysutils/xfce4-netload-plugin/pkg-plist | 2 |
3 files changed, 16 insertions, 12 deletions
diff --git a/sysutils/xfce4-netload-plugin/Makefile b/sysutils/xfce4-netload-plugin/Makefile index 36b4de9534c3..38b609ed5cfb 100644 --- a/sysutils/xfce4-netload-plugin/Makefile +++ b/sysutils/xfce4-netload-plugin/Makefile @@ -6,28 +6,28 @@ # PORTNAME= xfce4-netload-plugin -PORTVERSION= 1.1.0 -PORTREVISION= 2 +PORTVERSION= 1.2.0 CATEGORIES= sysutils xfce MASTER_SITES= ${MASTER_SITE_XFCE} MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R} DIST_SUBDIR= xfce4 MAINTAINER= demon@FreeBSD.org -COMMENT= Network Load plugin for XFce4 +COMMENT= Network Load plugin for Xfce4 GNU_CONFIGURE= yes USE_BZIP2= yes USE_GMAKE= yes -USE_GNOME= gnomehack intltool intlhack pkgconfig +USE_GNOME= gnomehack intltool intlhack USE_XFCE= configenv libmenu panel INSTALLS_ICONS= yes +USE_PKGCONFIG= build -OPTIONS= NLS "Enable Native Language Support" on +OPTIONS_DEFINE= NLS -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes CONFIGURE_ARGS+=--enable-nls PLIST_SUB+= NLS="" @@ -37,11 +37,13 @@ PLIST_SUB+= NLS="@comment " .endif do-patch: - @${REINPLACE_CMD} -e 's|# include <net/if_ppp.h>||' \ - ${WRKSRC}/panel-plugin/os.h @${REINPLACE_CMD} -e 's, || __FreeBSD_kernel__,,' \ ${WRKSRC}/panel-plugin/net.c \ ${WRKSRC}/panel-plugin/net.h \ ${WRKSRC}/panel-plugin/os.h -.include <bsd.port.post.mk> +.if empty(PORT_OPTIONS:MNLS) + @${REINPLACE_CMD} -e 's|po ||' ${WRKSRC}/Makefile.in +.endif + +.include <bsd.port.mk> diff --git a/sysutils/xfce4-netload-plugin/distinfo b/sysutils/xfce4-netload-plugin/distinfo index 08cc3d8f4614..f678081f52cb 100644 --- a/sysutils/xfce4-netload-plugin/distinfo +++ b/sysutils/xfce4-netload-plugin/distinfo @@ -1,2 +1,2 @@ -SHA256 (xfce4/xfce4-netload-plugin-1.1.0.tar.bz2) = 8a33dfed24a7bbd8eaf333524f94eb24e7d3a14ffccb181e5cab1d1b05ae3bf7 -SIZE (xfce4/xfce4-netload-plugin-1.1.0.tar.bz2) = 160212 +SHA256 (xfce4/xfce4-netload-plugin-1.2.0.tar.bz2) = c824f09e2d3860011b44d8272d661c458237786828027f3d9ad6a1d4f0096845 +SIZE (xfce4/xfce4-netload-plugin-1.2.0.tar.bz2) = 169721 diff --git a/sysutils/xfce4-netload-plugin/pkg-plist b/sysutils/xfce4-netload-plugin/pkg-plist index a11e2e42d75c..1b71a2097a37 100644 --- a/sysutils/xfce4-netload-plugin/pkg-plist +++ b/sysutils/xfce4-netload-plugin/pkg-plist @@ -2,6 +2,7 @@ libexec/xfce4/panel-plugins/xfce4-netload-plugin share/icons/hicolor/24x24/apps/xfce4-netload-plugin.png share/icons/hicolor/48x48/apps/xfce4-netload-plugin.png share/icons/hicolor/scalable/apps/xfce4-netload-plugin.svg +%%NLS%%share/locale/ar/LC_MESSAGES/xfce4-netload-plugin.mo %%NLS%%share/locale/ast/LC_MESSAGES/xfce4-netload-plugin.mo %%NLS%%share/locale/ca/LC_MESSAGES/xfce4-netload-plugin.mo %%NLS%%share/locale/cs/LC_MESSAGES/xfce4-netload-plugin.mo @@ -41,6 +42,7 @@ share/icons/hicolor/scalable/apps/xfce4-netload-plugin.svg %%NLS%%share/locale/ur_PK/LC_MESSAGES/xfce4-netload-plugin.mo %%NLS%%share/locale/vi/LC_MESSAGES/xfce4-netload-plugin.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-netload-plugin.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-netload-plugin.mo share/xfce4/panel-plugins/netload.desktop @dirrmtry share/xfce4/panel-plugins @dirrmtry share/xfce4 |