View | Details | Raw Unified | Return to bug 169894
Collapse All | Expand All

(-)Makefile (-9 / +11 lines)
Lines 6-20 Link Here
6
#
6
#
7
7
8
PORTNAME=	xfce4-netload-plugin
8
PORTNAME=	xfce4-netload-plugin
9
PORTVERSION=	1.1.0
9
PORTVERSION=	1.2.0
10
PORTREVISION=	2
11
CATEGORIES=	sysutils xfce
10
CATEGORIES=	sysutils xfce
12
MASTER_SITES=	${MASTER_SITE_XFCE}
11
MASTER_SITES=	${MASTER_SITE_XFCE}
13
MASTER_SITE_SUBDIR=	src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
12
MASTER_SITE_SUBDIR=	src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
14
DIST_SUBDIR=	xfce4
13
DIST_SUBDIR=	xfce4
15
14
16
MAINTAINER=	demon@FreeBSD.org
15
MAINTAINER=	demon@FreeBSD.org
17
COMMENT=	Network Load plugin for XFce4
16
COMMENT=	Network load plugin for Xfce
18
17
19
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
20
USE_BZIP2=	yes
19
USE_BZIP2=	yes
Lines 23-33 Link Here
23
USE_XFCE=	configenv libmenu panel
22
USE_XFCE=	configenv libmenu panel
24
INSTALLS_ICONS=	yes
23
INSTALLS_ICONS=	yes
25
24
26
OPTIONS=	NLS "Enable Native Language Support" on
25
OPTIONS_DEFINE=	NLS
26
OPTIONS_DEFAULT=	NLS
27
27
28
.include <bsd.port.pre.mk>
28
.include <bsd.port.options.mk>
29
29
30
.if !defined(WITHOUT_NLS)
30
.if ${PORT_OPTIONS:MNLS}
31
USE_GETTEXT=  yes
31
USE_GETTEXT=  yes
32
CONFIGURE_ARGS+=--enable-nls
32
CONFIGURE_ARGS+=--enable-nls
33
PLIST_SUB+= NLS=""
33
PLIST_SUB+= NLS=""
Lines 37-47 Link Here
37
.endif
37
.endif
38
38
39
do-patch:
39
do-patch:
40
	@${REINPLACE_CMD} -e 's|#  include <net/if_ppp.h>||' \
41
		${WRKSRC}/panel-plugin/os.h
42
	@${REINPLACE_CMD} -e 's, || __FreeBSD_kernel__,,' \
40
	@${REINPLACE_CMD} -e 's, || __FreeBSD_kernel__,,' \
43
		${WRKSRC}/panel-plugin/net.c \
41
		${WRKSRC}/panel-plugin/net.c \
44
		${WRKSRC}/panel-plugin/net.h \
42
		${WRKSRC}/panel-plugin/net.h \
45
		${WRKSRC}/panel-plugin/os.h
43
		${WRKSRC}/panel-plugin/os.h
46
44
47
.include <bsd.port.post.mk>
45
.if empty(PORT_OPTIONS:MNLS)
46
	@${REINPLACE_CMD} -e 's|po ||' ${WRKSRC}/Makefile.in
47
.endif
48
49
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (xfce4/xfce4-netload-plugin-1.1.0.tar.bz2) = 8a33dfed24a7bbd8eaf333524f94eb24e7d3a14ffccb181e5cab1d1b05ae3bf7
1
SHA256 (xfce4/xfce4-netload-plugin-1.2.0.tar.bz2) = c824f09e2d3860011b44d8272d661c458237786828027f3d9ad6a1d4f0096845
2
SIZE (xfce4/xfce4-netload-plugin-1.1.0.tar.bz2) = 160212
2
SIZE (xfce4/xfce4-netload-plugin-1.2.0.tar.bz2) = 169721
(-)pkg-plist (+2 lines)
Lines 2-7 Link Here
2
share/icons/hicolor/24x24/apps/xfce4-netload-plugin.png
2
share/icons/hicolor/24x24/apps/xfce4-netload-plugin.png
3
share/icons/hicolor/48x48/apps/xfce4-netload-plugin.png
3
share/icons/hicolor/48x48/apps/xfce4-netload-plugin.png
4
share/icons/hicolor/scalable/apps/xfce4-netload-plugin.svg
4
share/icons/hicolor/scalable/apps/xfce4-netload-plugin.svg
5
%%NLS%%share/locale/ar/LC_MESSAGES/xfce4-netload-plugin.mo
5
%%NLS%%share/locale/ast/LC_MESSAGES/xfce4-netload-plugin.mo
6
%%NLS%%share/locale/ast/LC_MESSAGES/xfce4-netload-plugin.mo
6
%%NLS%%share/locale/ca/LC_MESSAGES/xfce4-netload-plugin.mo
7
%%NLS%%share/locale/ca/LC_MESSAGES/xfce4-netload-plugin.mo
7
%%NLS%%share/locale/cs/LC_MESSAGES/xfce4-netload-plugin.mo
8
%%NLS%%share/locale/cs/LC_MESSAGES/xfce4-netload-plugin.mo
Lines 41-46 Link Here
41
%%NLS%%share/locale/ur_PK/LC_MESSAGES/xfce4-netload-plugin.mo
42
%%NLS%%share/locale/ur_PK/LC_MESSAGES/xfce4-netload-plugin.mo
42
%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-netload-plugin.mo
43
%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-netload-plugin.mo
43
%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-netload-plugin.mo
44
%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-netload-plugin.mo
45
%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-netload-plugin.mo
44
share/xfce4/panel-plugins/netload.desktop
46
share/xfce4/panel-plugins/netload.desktop
45
@dirrmtry share/xfce4/panel-plugins
47
@dirrmtry share/xfce4/panel-plugins
46
@dirrmtry share/xfce4
48
@dirrmtry share/xfce4

Return to bug 169894