aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xfce4-netload-plugin
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2017-02-25 17:26:38 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2017-02-25 17:26:38 +0000
commitd4b7eee3e743943aff7873b84179bbfeb940bf0d (patch)
tree9ce9db08d6621a54d8ca6b11e7cbce9b47378f34 /sysutils/xfce4-netload-plugin
parenta044a80add1d2950a6c32bba7a916ab521623a0d (diff)
downloadports-d4b7eee3e743943aff7873b84179bbfeb940bf0d.tar.gz
ports-d4b7eee3e743943aff7873b84179bbfeb940bf0d.zip
Notes
Diffstat (limited to 'sysutils/xfce4-netload-plugin')
-rw-r--r--sysutils/xfce4-netload-plugin/Makefile19
-rw-r--r--sysutils/xfce4-netload-plugin/distinfo5
-rw-r--r--sysutils/xfce4-netload-plugin/pkg-plist2
3 files changed, 10 insertions, 16 deletions
diff --git a/sysutils/xfce4-netload-plugin/Makefile b/sysutils/xfce4-netload-plugin/Makefile
index d2b0f67cc5ef..b75faa1999e7 100644
--- a/sysutils/xfce4-netload-plugin/Makefile
+++ b/sysutils/xfce4-netload-plugin/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= xfce4-netload-plugin
-PORTVERSION= 1.2.4
-PORTREVISION= 1
+PORTVERSION= 1.3.1
CATEGORIES= sysutils xfce
MASTER_SITES= XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
@@ -15,10 +14,11 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USE_GNOME= intltool intlhack
+USE_GNOME= gtk30 intltool cairo
USE_XFCE= panel
-USES= gmake pkgconfig libtool gettext-tools xfce tar:bzip2
+USES= gettext-tools gmake libtool pkgconfig tar:bzip2 xfce:gtk3
INSTALLS_ICONS= yes
+INSTALL_TARGET= install-strip
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
@@ -26,20 +26,13 @@ OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime
-.include <bsd.port.options.mk>
-
-do-patch:
+post-patch:
@${REINPLACE_CMD} -e 's, || __FreeBSD_kernel__,,' \
${WRKSRC}/panel-plugin/net.c \
${WRKSRC}/panel-plugin/net.h \
${WRKSRC}/panel-plugin/os.h
-.if ${PORT_OPTIONS:MNLS}
- ${REINPLACE_CMD} -e \
- 's|$$(prefix)/$$(DATADIRNAME)/locale|$$(datarootdir)/locale|' \
- ${WRKSRC}/po/Makefile.in.in
-.else
+post-patch-NLS-off:
${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 9e7c9e00a6b3..c2065e4804f2 100644
--- a/sysutils/xfce4-netload-plugin/distinfo
+++ b/sysutils/xfce4-netload-plugin/distinfo
@@ -1,2 +1,3 @@
-SHA256 (xfce4/xfce4-netload-plugin-1.2.4.tar.bz2) = fface918822c012d806717116566e54947ad7613b9290b45a18e2d5ffb8730d3
-SIZE (xfce4/xfce4-netload-plugin-1.2.4.tar.bz2) = 361889
+TIMESTAMP = 1488042852
+SHA256 (xfce4/xfce4-netload-plugin-1.3.1.tar.bz2) = 99762781099d1e0ab9aa6a7b30c2bd94d8f658dbe61c760410d5d42d0766391c
+SIZE (xfce4/xfce4-netload-plugin-1.3.1.tar.bz2) = 367844
diff --git a/sysutils/xfce4-netload-plugin/pkg-plist b/sysutils/xfce4-netload-plugin/pkg-plist
index 3c662393c731..fd383b5adbb2 100644
--- a/sysutils/xfce4-netload-plugin/pkg-plist
+++ b/sysutils/xfce4-netload-plugin/pkg-plist
@@ -51,4 +51,4 @@ share/icons/hicolor/scalable/apps/xfce4-netload-plugin.svg
%%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
+share/xfce4/panel/plugins/netload.desktop